timed out

JLS GPS6 years ago

Below is the log. How do I go about figuring out why there is a timeout?

2018-11-13 19:34:45  INFO: [c20852d1: 5030 < 185.3.54.10] HEX: 23383639323630303431323936383536234d543630302330303030234155544f23310d0a236363343262663539636130244750524d432c3139333434312e30302c412c343033382e313935302c4e$
2018-11-13 19:34:45  INFO: [c20852d1] id: 869260041296856, time: 2018-11-13 19:34:41, lat: 40.63658, lon: -73.98410, course: 133.2
2018-11-13 19:35:15  INFO: [c20852d1] timed out
2018-11-13 19:35:15  INFO: [c20852d1] disconnected
2018-11-13 19:35:15  WARN: No notificator configured for type :
2018-11-13 19:35:15  WARN: You are using null notificatior, please check your configuration, notification not sent
2018-11-13 19:36:05  INFO: [5ed1a8c6] connected
2018-11-13 19:36:05  INFO: [5ed1a8c6: 5030 < 185.3.54.10] HEX: 23383639323630303431323936383536234d543630302330303030234155544f23310d0a2330323630613030343033244750524d432c3139333435312e30302c412c343033382e313934342c4e2c$
2018-11-13 19:36:05  INFO: [5ed1a8c6] id: 869260041296856, time: 2018-11-13 19:34:51, lat: 40.63657, lon: -73.98416, course: 133.2
Anton Tananaev6 years ago

There is a timeout because you configured a timeout.

JLS GPS6 years ago

Correct I Made the timeout to 15 as my devices report every 10 seconds. But most of the time do not see this time out.

Does this mean that device did not close connection? Made a connection without sending anything?

Anton Tananaev6 years ago

Are you saying you set it to 15 seconds? I don't think you should set it this low. Any delay in network communication could trigger timeout. Set it to at least 1 minute.

You get timeout when connection is not closed and device hasn't reported anything for specified period of time.

JLS GPS6 years ago

Thanks. Will change it. Thanks for all your work.