device goes offline and is caught in reconnect loop #744
-
hi, our devices to get disconnected from time to time. Especially at customers who turn off wifi over night, the device either never or several hours after wifi is available again comes online again. I've no clue what the cause could be but have some log lines added below...appreciate any help (tweak iot params or other stuff?) We are on release 1.29.1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Log is unreadable, but fwiw, errno 101 is network unreachable (and this is the ipv4 connection attempt), which suggests that the problem is likely outside the SDK.
|
Beta Was this translation helpful? Give feedback.
-
Other than the connection failures (ipv6 unsupported, ipv4 host unreachable) the only unusual thing I notice is the fact there are 6 TLS context creation invocations in the logs when I would expect there to be none. That would be something your code is doing. |
Beta Was this translation helpful? Give feedback.
Other than the connection failures (ipv6 unsupported, ipv4 host unreachable) the only unusual thing I notice is the fact there are 6 TLS context creation invocations in the logs when I would expect there to be none. That would be something your code is doing.