Traccar map showing wrong position

freebie8 years ago

Hi Everyone,

I have a few devices configured my traccar server. Some devices are showing the wrong position on the map but the server is receiving the correct postion from the tracker.

For instance:

Server log indicates:

2017-03-14 13:52:41  INFO: [494BD4A5] id: 3511314670, time: 2017-03-14 13:52:39, lat: -1.26260, lon: 36.82493, speed: 0.0, course: 23.1

This is correct but the server shows this device at lat: -1.239025 and lon: 36.848890

I am using bofan pt600 on port 5017. What could be the problem?

Anton Tananaev8 years ago

Are you saying that Traccar doesn't update the location? Compare timestamps on the reports in the log and what you see in the "State" panel.

freebie8 years ago

Sorry for my late reply, but I had traveled.

The server receives data from the devices and it shows the correct position when you query the history of the units, but the real time map shows wrong positions on the map.

Anton Tananaev8 years ago

Have you compared timestamps as I asked?

freebie8 years ago

Yes I have. The timestamps in the state panel are showing the wrong time. 4 hours ahead of the actual time.

Anton Tananaev8 years ago

That's why it doesn't get updated.

freebie8 years ago

But the units are returning the correct time and the server logs show the correct time. Only the state shows the wrong time and only for some units.

How can I correct that?

Anton Tananaev8 years ago

OK, I need to see a log fragment corresponding to the location in the state window, and a screenshot of the state window. Also provide information about server and browser timezones.

freebie8 years ago

My server timezone is : Europe/London (GMT, +0000)
My browser timezone is GMT +3

A log entry example is:

2017-03-17 08:56:00  INFO: [8059D01E] id: 3511314670, time: 2017-03-17 08:55:58, lat: -1.16848, lon: 36.82619, speed: 0.0, course: 128.3

Corresponding to the below state panel:

https://drive.google.com/open?id=0B9kdFIc_Pms1M0xGLTdLejkxZWc

Anton Tananaev8 years ago

Well, coordinates don't match. I want you to find in the logs the message corresponding to the location that you see in the state window.

freebie8 years ago

The logs show this message:

2017-03-17 08:56:00 DEBUG: [8059D01E: 5017 < 196.99.51.2] HEX: 24504f532c333531313331343637302c3038353535382e3030302c412c303131302e313038392c532c30333634392e353731352c452c302e302c3132382e332c3137303331372c2c2c412f30303030302c31303031302f302c302c302c302f313630383630302f2f0d0a
2017-03-17 08:56:00  INFO: [8059D01E] id: 3511314670, time: 2017-03-17 08:55:58, lat: -1.16848, lon: 36.82619, speed: 0.0, course: 128.3
Anton Tananaev8 years ago

It still doesn't match the screenshot. Please find correct log fragment.

freebie8 years ago

It isn't matching because the state panel is showing the wrong time and has not changed for more than 2 hours. The data keeps coming in but the state panel shows the same information and that time is not current. It is future time. It is 1300hrs here but the panel shows that it is 1540hrs.

Anton Tananaev8 years ago

I want to see that original message from the log. If it was last updated 2 hours ago, then check logs from 2 hours ago and find that message.

freebie8 years ago

There are so many messages. I cant pinpoint it specifically since I dont know the exact time that problem started. Should I send you all the messages associated with the unit?