Traccar Client - Location Update

Sumit6 years ago

Traccar Client App shows logs "location Update" when I connect to the Traccar Server. But it is not updating the "positions" table or not inserting the new position when it comes. And the I have checked the all the configuration connect to the server as connected to the server while run the project.

Anton Tananaev6 years ago

Check server logs to see if it's there. Also, make sure it's configured with correct server URL.

Sumit6 years ago

Traccar Server Log

2018-03-06 12:49:36  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.151-b12
2018-03-06 12:49:36  INFO: Memory limit heap: 892mb non-heap: 0mb
2018-03-06 12:49:36  INFO: Character encoding: Cp1252 charset: windows-1252
2018-03-06 12:49:36  INFO: Version: null
2018-03-06 12:49:49  INFO: Starting server...
2018-03-06 13:37:03  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2018-03-06 13:37:03  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.151-b12
2018-03-06 13:37:03  INFO: Memory limit heap: 892mb non-heap: 0mb
2018-03-06 13:37:03  INFO: Character encoding: Cp1252 charset: windows-1252
2018-03-06 13:37:03  INFO: Version: null
2018-03-06 13:37:17  INFO: Starting server...
Anton Tananaev6 years ago

It means this server hasn't received any data from your device.

Sumit6 years ago

But the traccar client says "location update". How can I resolve this?

Anton Tananaev6 years ago

If there are no errors on the client side, it means that you are sending to some different server, as I said in my first comment.

Sumit6 years ago

Okay, thanks. Now I have configured the correct URL on the Traccar Client and also Traccar Server and it is getting alternatively "Location update" or two times and Send failed. But still it is not reporting to the Server.

My Traccar Web Server local IP is http://192.168.1.7:8082/ and it is working, I have checked. I have tried on client side with { IP } and { IP and Port }. But it is still not working.

Anton Tananaev6 years ago

First of all, it's a local IP address which would only work if devices are on the same local network. Secondly, port for Traccar Client is 5055 and not 8082. If something still doesn't work after you fix both problem, follow troubleshooting guide.

Sumit6 years ago

Yeah, Mobile device and Traccar Server on a same network. And now it is working with the port 5055 and I found the Traccar server logs.
Thank you.