odelot / aws-mqtt-websockets

Implementation of a middleware to use AWS MQTT service through websockets, aiming the ESP8266 plataform
GNU Lesser General Public License v3.0
231 stars 67 forks source link

Frequent websocket disconnects from AWS for no apparent reason #22

Closed moodgorning closed 7 years ago

moodgorning commented 7 years ago

Hi, Im using this Library and am experiencing frequent (every 4-5 Seconds) disconnects of the websocket connection. Is this normal? according to AWS you should be able to maintain a connection for 24 hours nowadays. Has anyone else experienced this behavior?

moodgorning commented 7 years ago

Ok solved my problem, I had colliding userIds on my connections, so when more than one of my devices connected, they would disconnect each other. Thanks for putting this together