I'm pretty sure it has nothing to do with firewall. Can you explain the situation where you test completely different commands on two servers? Why are you not comparing the same commands? And also you haven't really provided full logs, so we don't know what the response was from the server.
But these are the same getstatus commands.
In a moment, I will present a different device and logs from a non-working server and a working one.
From the logs we can clearly see that you sent different commands. One was getstatus
and the other one was getinfo
.
Server not working - getstatus
2023-03-04 16:50:57 INFO: [T3e3d9d48] id: 356307040393323, command type: custom sent
2023-03-04 16:50:57 INFO: [T3e3d9d48: teltonika > 94.254.204.143] 00000000000000130c01050000000b6765747374617475730d0a010000745e
2023-03-04 16:51:02 INFO: [T3e3d9d48: teltonika < 94.254.204.143] 00000000000000790c01060000007144617461204c696e6b3a203120475052533a20312050686f6e653a20302053494d3a2030204f503a203236303033205369
2023-03-04 16:51:02 INFO: [T3e3d9d48: teltonika < 94.254.204.143] 676e616c3a2035204e6577534d533a203020526f616d696e673a203120534d5346756c6c3a2030204c41433a2035333530312043656c6c2049443a2036333630010000c194
2023-03-04 16:51:02 INFO: Position filtered by Distance filters from device: 356307040393323
2023-03-04 16:51:21 INFO: [T89530d1e: teltonika < 94.254.206.127] 0000000000000028080100000186ad51f150000b09aa911dd7c70200ef00000a00000003020100ef00014231200000010000c2e1
2023-03-04 16:51:21 INFO: [T89530d1e: teltonika > 94.254.206.127] 00000001
2023-03-04 16:51:21 INFO: Position filtered by Distance filters from device: 356307040700725
Server working - getstatus
2023-03-04 16:02:46 INFO: [Tf28e66e7] id: 356307040393323, command type: custom sent
2023-03-04 16:02:46 INFO: [Tf28e66e7: teltonika > 94.254.204.143] 00000000000000130c01050000000b6765747374617475730d0a010000745e
2023-03-04 16:02:51 INFO: [Tf28e66e7: teltonika < 94.254.204.143] 00000000000000790c01060000007144617461204c696e6b3a203120475052533a20312050686f6e653a20302053494d3a2030204f503a203236303033205369676e616c3a2035204e6577534d533a203020526f616d696e673a203120534d5346756c6c3a2030204c41433a2035333530312043656c6c2049443a2036333630010000c194
2023-03-04 16:02:53 INFO: [Tf28e66e7] id: 356307040393323, time: 2023-03-04 16:01:54, lat: 50.06799, lon: 18.51803, course: 0.0, result: Data Link: 1 GPRS: 1 Phone: 0 SIM: 0 OP: 26003 Signal: 5 NewSMS: 0 Roaming: 1 SMSFull: 0 LAC: 53501 Cell ID: 6360
2023-03-04 16:02:56 INFO: [T89ef70fb: teltonika < 31.60.145.246] 000000000000007b080300000186ad5ca39800140f09eb14d930c4001200b816001900030101000142382d01c70000007b0000000186ad5c70d000140f0cda14d95bbc001000ab12002300030101000142383101c70000008b0000000186ad5c22b000140ef80414d9891d001e009e14001800030101000142382f01c70000004c000300006956
2023-03-04 16:02:56 INFO: [T89ef70fb: teltonika > 31.60.145.246] 00000003
I can see that the command is working in both cases. How did you determine that it's not?
The problem is caused by adding to the configuration file traccar.xml.
<entry key='filter.distance'>3</entry>
So how to filter the data? Why does this syntax cause errors in receiving notifications from devices? It took me a lot of time to find the problem.
If you disclosed that you're using different configuration on the servers from the start, it would probably save everyone a lot of time.
So how do you filter items?
You filter items using filter.
I used it to keep the gps position from jumping at night. Which option to use?
One option is to use coordinates filter. You can also try some combination of other filtering options.
How to check if the firewall is not blocking?