This repository was archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 157
connected but only after 5-6 attempts #123
Comments
I think I had a similar problem and adding a disconnect before connecting helped, let me know if that works for you. if (!mqttClient->connected())
{
mqttClient->disconnect();
ESP.wdtDisable();
connect();
ESP.wdtEnable(0);
} |
I've tried but got the same issue. |
I decoded the stack trace if that helps;
|
Update you Arduino core to latest or change your cores/esp8266/StackThunk.cpp |
Closing due to inactivity and adding note in support issue. @comfortme - let us know if the provided resolutions (update your SDK / fully disconnect) do not solve the issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello All
I managed to succesfully connect to iot-core, receive config and publish telemetry.
But only after 5-6 some times more failed attempts.
Device panics, restarts, tries again...finally connects if it's lucky.
Any idea why?
device - wemos mini esp12f
esp8266 version 2.5.2
latest versions of mqtt and iot libraries.
The text was updated successfully, but these errors were encountered: