Occational offline events with gt06.alternative, IOexception

Tomte3 years ago

Hello,

get get occation offline exceptions with the gt06.alternative protocol. (I can not remember, why I use alternative):

2021-03-05 16:20:13  INFO: [d5678e8b: gt06 > 80.187.100.55] HEX: 787805130097184e0d0a
2021-03-05 16:20:13  INFO: Position filtered by Distance filters from device: 353506210053932
2021-03-05 16:20:23  WARN: [b6b5a054] error - Die Wartezeit für die Verbindung ist abgelaufen - IOException (...)
2021-03-05 16:20:23  INFO: [b6b5a054] disconnected
2021-03-05 16:20:38  INFO: [4ac18008: gt06 < 46.114.144.43] HEX: 78780a13400664000100dfa3860d0a

Maybe I can fix it with
<entry key='server.timeout'>60</entry>
60, however did not work, I got a lot of offline event.
Please, how can I find out the standard values for such settings?
How can I deal with the issue?

Regards, Tomte

Anton Tananaev3 years ago

There is no default timeout. This error is returned by the operating system.

Tomte3 years ago

Ok, thank you. Is there any hint how to fix it?

Anton Tananaev3 years ago

What exactly needs to be fixed? It seems like your device just loses connection.

Artiom3 years ago

I have the same error all the time. There are a lot of reasons when device can drop a connection: network disruption, sleep mode, etc. Not talking about bad ipmlementation of TCP stack by device.
So this message is just telling you that your tracker has dropped the connection with the server.