1 of 15 GPS modules doesn't work on 1 of 2 server

happytrain17 days ago

Good morning to all,

I'm facing a curious problem where I'm setting up the tracking of 15 Coban TK103 tracker devices which ultimately will be shown on two different instances of Traccar server. One Traccar server is running in a Windows server, one on Linux. The intended setup is that all trackers report to the Windows server - and for testing purposes I now configered forwaring to the Linux server. This works like a charm. I have 14 GPS devices who report to the Windows server, are on-line in Traccar, and their status is replicated on the Linux server. There is one GPS tracker however who doesn't work on the Windows server, whatever I do, it stays offline. It also stays offline on the Linux server. As soon as I configure this device to report to the Linux server directly, it shows as on-line without any issue.

These are some checks I did:

  • I configured the 14 working and 1 not working GPS tracker identically. Using the check-command, I see they use the same APN and show the same IP address and port number (5001) for all 15 trackers.
  • If I only change the IP address on the non-working tracker and replace it by the Linux' server IP address, the unit shows on-line there. Thus, this suggests that the unit itself is working.
  • If I change back the IP address from the Linux to the Windows server, the units changes to off-line on the Linux server. Thus, this implies that the unit actually is registering the changed configuration.
  • I verified (at least 5 times) I'm entering the correct imei number in the Traccar servers. It's the same for both.

Imei:
imei.PNG

Configured to report to the Linux server:
linux config.jpeg

It comes online:
online.PNG

Configured to report to the Windows server:
windows config.jpeg

It remains offline:
offline.PNG

Now, when looking into the log of the Windows server, I don't see the tracker with the ID show up. It seems somehow its messages are not arriving at the Windows server. In the log of the Linux server, it shows up as normal.

All the while, the other 14 are working like a charm.

I must be missing something, but I don't get me head around. Any feedback would be much appreciated. :-)

happytrain17 days ago

Dear Kaloyan Kanev, thank you for your reply - it's much appreciated.
I checked but at the Linux server it reports normal coordinates. It also says "valid".

details.PNG

Kaloyan Kanev17 days ago

Check the firewall on the Windows and allow the port 5001
You can also disable the firewall (temporary) only for the test

happytrain17 days ago

The port 5001 is allowed. I would assume if this was the issue, the other 14 trackers would have the same problem, right? They are all using port 5001, but only one is not "coming through". Or is there a flaw in my thinking?

portcheck.PNG

Kaloyan Kanev17 days ago

The device is setup for TCP or UDP ?
Can you try to turn off all firewalls for test?

happytrain17 days ago

I now disabled the firewall, and low and behold, it emerges with invalid data on the windows server now.
invalid.PNG

Now the next question is why the data on the windows server is different for this 1 tracker only.

Kaloyan Kanev17 days ago

Probably wrong settings on the device.
Or you have filter zero coordinates on Traccar config file on Windows version.
Btw the date time which device reported is not valid

happytrain17 days ago

From time to time it reports correct date en coordinates and from time to time it reports bullshit data. Seems like a problem with signal quality on this device, then. Thank you so much for your help!

Kaloyan Kanev17 days ago

If the device have some internal memory or SD card, you can format it to be sure the device is not sending some old invalid data with wrong ordering