-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT disconnections #272
Comments
If the broker is disconnecting, it'd be very handy to have it's logs. |
Here is the log with a couple of reconnects, hope this helps!
|
So your client is trying to connect while it is already connected. Do you use the example, unchanged? |
yes, just added my credentials |
Ah, maybe I have found something - using usernames rather than the default account seems to stop the disconnects.. |
What exactly did you do? Added credentials? Same credentials to different devices? |
I'm encountering something similar, where the esp8266 remains connected on WiFi but occasionally disconnects from MQTT and fails to reconnect (or does not attempt to?) |
similar problem with non async library too, so luck yet |
Hi, I'm running the sample ESP8266 code.
This is working ok publishing and subscribing but after every set of tests I'm getting an mqtt disconnect (TCP_DISCONNECTED) which then triggers another set of tests.
Is this the expected behaviour?
I want to use the library to listen for messages but I didn't expect to have to continually reconnect to the mqtt server.
I'm using the cloudmqtt.com public server.
The text was updated successfully, but these errors were encountered: