What are the differences in the logs?
Hi Anton, thanks for responding, I only posted the server log on the device with an unknown status, because on the other there are no problems. I have the same xml and database settings. what sometimes happens and this below in the log. but this is rare. Would you like some specific log?
2024-07-09 17:22:28 INFO: [T72d40b33] id: 861261024433506, time: 2024-07-09 16:16:32, lat: -30.01318, lon: -51.19915, speed: 3.2, course: 230.0
2024-07-09 17:22:28 INFO: [T72d40b33: topin > 187.71.148.125] 787807135f590801540d0a
2024-07-09 17:22:32 INFO: [T7eda6eb3] error - Connection timed out - IOException (...)
2024-07-09 17:22:32 INFO: [T7eda6eb3] disconnected
You have to compare the communication with device, which you can find in the logs, and see what the difference is. Short fragments like this probably won't show us anything.
Hi Anton, I understand, but the incredible thing is that there is no other information in the logs. I have a ufw firewall with these configurations, would there be any other ports that I need to release, input and output. because after the device communicates 1 minute later, it no longer responds to commands. Thanks!
To Action From
-- ------ ----
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
53/tcp ALLOW Anywhere
53/udp ALLOW Anywhere
22/tcp ALLOW Anywhere
8082/tcp ALLOW Anywhere
5199/tcp ALLOW Anywhere
5199/udp ALLOW Anywhere
8082/udp ALLOW Anywhere
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
53/tcp (v6) ALLOW Anywhere (v6)
53/udp (v6) ALLOW Anywhere (v6)
22/tcp (v6) ALLOW Anywhere (v6)
8082/tcp (v6) ALLOW Anywhere (v6)
5199/tcp (v6) ALLOW Anywhere (v6)
5199/udp (v6) ALLOW Anywhere (v6)
8082/udp (v6) ALLOW Anywhere (v6)
I'm pretty sure it has nothing to do with the Firewall.
Okay Anton, I have no idea what it could be, I'm going to disable the ufw firewall and test again, could you please help me with any suggestions? Should I enable another log level? Always grateful!
2024-07-11 11:15:57 INFO: [T12d68d9e: topin > 191.58.92.187] 787801800d0a
2024-07-11 11:16:37 INFO: [T6bdaf71e] error - Connection timed out - IOException (...)
2024-07-11 11:16:37 INFO: [T6bdaf71e] disconnected
2024-07-11 11:17:27 INFO: Event id: 861261024432946, time: 2024-07-11 11:17:27, type: deviceUnknown, notifications: 2
2024-07-11 11:26:11 INFO: [T6de2d8a6] connected
2024-07-11 11:26:12 INFO: [T6de2d8a6: topin < 191.58.96.16] 78780d010861261024432946590d0a
2024-07-11 11:26:12 INFO: Event id: 861261024432946, time: 2024-07-11 11:26:12, type: deviceOnline, notifications: 1
2024-07-11 11:26:12 INFO: [T6de2d8a6: topin > 191.58.96.16] 78780d01010d0a
2024-07-11 11:26:12 INFO: [T6de2d8a6: topin > 191.58.96.16] 7878073007e8070b0e1a0c0d0a
2024-07-11 11:26:13 INFO: [T6de2d8a6: topin < 191.58.96.16] 787815b338393535303533323539303033393632333436320d0a
2024-07-11 11:26:33 INFO: [T6de2d8a6: topin < 191.58.96.16] 787807134e590828640d0a
2024-07-11 11:26:33 INFO: [T6de2d8a6] id: 861261024432946, time: 2024-07-11 11:05:27, lat: -5.92626, lon: -35.27336, course: 11.0
2024-07-11 11:26:33 INFO: [T6de2d8a6: topin > 191.58.96.16] 787807134e590828640d0a
I already had a suggestion. If there are no differences, then I don't know.
Greetings everyone. I have two servers with the same configuration. on server 1, devices even configured to communicate after 10 minutes, do not have an unknown status. When I redirect these same devices to server 2, after 10 minutes it goes into unknown status. Could anyone help me with what could happen?