Devices not reporting randomly

Fareed Qureshi6 months ago

I have a strange issue, some time random devices stop reporting on server. I do not see any log of devices in traccar. Even devices are replying on sms and sending its location information but not showing on server. I dont know how to diagnose it as if it is server side issue (all ports are exhausting on server and not allowing devices to connect) or device issue. It is a random issue and can come in any device.
Any idea how to diagnose this issue.

Track-trace6 months ago

Well it could happen when the telecom network that you use with the device simcard has issues.

For your server you could check if the internet connection is working. And check the resources that the server uses. And the server Load when you have those issues.

You could use wireshark to check if there actually is any data coming in on the server device port.

The simple way to test would be to connect some devices to another server. To root out the device itself as being the reason for not reporting.

Anton Tananaev6 months ago

Try connecting to the server on the same port when it happens. See if connection is accepted.

Fareed Qureshi6 months ago

on checking logs getting these random error logs as well

2024-06-03 17:58:48  WARN: Position forwarding failed: 1 pending - Cannot assign requested address - BindException (...)
2024-06-03 17:58:48  INFO: [Tcb18b7c9: upro < 223.123.14.241] 2a48513230303836373731373033383439363739312c4148264131373537343233313239353136373037343235333632383730303330303330363234264230303030303030303030264330353d3739363a372646303030302652313730302656303132392658284a3030303029264b3230333030265a30303023
2024-06-03 17:58:48  INFO: [Tcb18b7c9] id: 867717038496791, time: 2024-06-03 17:57:42, lat: 31.49195, lon: 74.42271, course: 300.0
2024-06-03 17:58:48  WARN: Position forwarding failed: 1 pending - Cannot assign requested address - BindException (...)
2024-06-03 17:58:48  WARN: Position forwarding failed: 0 pending - Cannot assign requested address - BindException (...)
2024-06-03 17:58:48  INFO: [T85f8862b: gt06 < 223.123.109.223] 78781f12180603113a2fcb02aa641c073141f80a14b0019a0402d8004ba10deecb480d0a
2024-06-03 17:58:48  INFO: [T85f8862b: gt06 > 223.123.109.223] 787805120dee1cac0d0a
2024-06-03 17:58:48  INFO: [T85f8862b] id: 352312097924206, time: 2024-06-03 17:58:47, lat: 24.84510, lon: 67.03815, speed: 5.4, course: 176.0
2024-06-03 17:58:48  WARN: Position forwarding failed: 0 pending - Cannot assign requested address - BindException (...)
Manuel Cabrera6 months ago

Fareed,

Device show as online but position not updating or device show as offline?

Fareed Qureshi5 months ago

I have found a solution to this issue which is acceptable for a time but still looking for permanent solution, whenever I found a device not reporting I just send a reset command and then device start reporting, If there is anyone who is facing same issue what is the permanent fix for it.