CoreMQTT error on WiFi disconnect

esp32person
Posts: 17
Joined: Mon Feb 27, 2023 6:47 pm

CoreMQTT error on WiFi disconnect

Postby esp32person » Mon Jul 24, 2023 7:47 pm

Hi,

When Wifi disconnects, I am getting the repeating error below,

E (115491) coreMQTT: Call to receiveSingleIteration failed. Status=MQTTRecvFailed
E (116001) esp-tls-mbedtls: read error :-0x004C:
E (116001) coreMQTT: Call to receiveSingleIteration failed. Status=MQTTRecvFailed
E (116501) esp-tls-mbedtls: read error :-0x004C:
....

Closing MQTT broker and server connection when WiFi fails and restarting server and Mqtt broker connection, fails to connect even after wifi connection is restored and the error keeps repeating. A restart fixes the issue.

Any ideas what I could do on wifi disconnect?

Thanks

Who is online

Users browsing this forum: No registered users and 143 guests