Traccar stops receiving position data

xl1114 years ago

Hello,

I am using RUT955 since a few weeks with my traccar installation on a raspberry Pi.

I have some problems with transmission of GPS Data via AVL Server function to my Traccar instance. After working fine for a certain time, It stops transmitting and I get no position update in traccar any more.

Error in RUT955 System.log:

gpsd "failed to read received response of sent AVL packets in tcp form"

Error in Traccar Server log:

WARN: [579d350b] error - NullPointerException (CommandsManager:152 < ConnectionManager:144 < BaseProtocolDecoder:242 < ...)

It seems the more positions are sent per minute, the faster this error will occur. With interval of 5 min, it runs the whole day, with interval 5 sec, it will occur after less than an hour.

What do you think?

regards
xl111

Anton Tananaev4 years ago

What version are you using?

xl1114 years ago

I was using something like 4.7 or so. It was installed beg. 2020.

This evening, I updated to 4.12. Now I will be testing how it works. I will keep you informed.

regards

xl111

xl1114 years ago

Since I changed the protocol to UDP instead of TCP, it seems to work.

Now I changed back to TCP and will be testing it for several days.

regards

xl111

xl1114 years ago

Hello,

now I tested both, UDP and TCP and with both, it stops transmitting data during the night. The following error is logged in RUT955 syslog:
"daemon.warn gpsd: Read returned an error, lost 20 bytes"

In Traccar, no error or warning is logged, just the position stops updating.

It seems to be related to the daily IP renewal of my router at home, where Traccar is running.

Regards

xl111