You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using this library to create a tunnel to AWS to use its IOT MQTT websocket client and I don't know if this issue is a bug or a misuse of the library.
When I turn on the device, it connects and start to send packages. It stays connected by hours in the same connection.
After a while (may vary - after few hours or days - and I can't identify why) it starts to connect, stays connected by a couple of minutes and disconnect by what seems to be the server.
I thought it was something related to amazon BUT if I restart the device it comes back to have a connection that lasts for hours.
This is the message received when it disconnects every couple of minutes:
@Links2004 thank you. I tried to see the logs but couldn't find logs about the websocket tunnel to the aws mqtt.
What I did was change Paho by PubSubClient. Now there is no more reconnections. Maybe Paho was doing something that offend aws mqtt rules and trigger a active server disconnection.
Hi, I am using this library to create a tunnel to AWS to use its IOT MQTT websocket client and I don't know if this issue is a bug or a misuse of the library.
When I turn on the device, it connects and start to send packages. It stays connected by hours in the same connection.
After a while (may vary - after few hours or days - and I can't identify why) it starts to connect, stays connected by a couple of minutes and disconnect by what seems to be the server.
I thought it was something related to amazon BUT if I restart the device it comes back to have a connection that lasts for hours.
This is the message received when it disconnects every couple of minutes:
have anyone faced a similiar problem? thanks!
The text was updated successfully, but these errors were encountered: