Traccar Websocket does not send positions of new devices unless websocket connection is restarted

Porfirio Díaza year ago

When new devices send positions to traccar, the devices are correctly added and I can see them in the web platform. The problem is that I don't receive these updates in the websocket, I need to restart the connection in order to receive positions.

If I manually I register a device before it sends positions, the problem doesn't occur. It only occurs when the device is registered automatically.

I use the following options in my configuration file:

<entry key='database.registerUnknown'>true</entry>
<entry key='database.registerUnknown.defaultGroupId'>1</entry
Anton Tananaeva year ago

Yes, I believe it's a limitation currently.

Porfirio Díaza year ago

Is this limitation present also with the forwarding option?

<entry key='forward.enable'>true</entry>
Anton Tananaeva year ago

No, the issue with the user session. It doesn't get updated dynamically in this case. It shouldn't be a problem with forwarding.

Porfirio Díaza year ago

Thanks a lot.