Closed vencax closed 1 month ago
Please explain your test procedure. The client has connected to the broker. Does MQTT work correctly at that point?
When the message "WiFi or broker is down." occurs, how long a period has elapsed since your initial connection? Is it possible that the broker integration.open-energoman.eu.
is rejecting the connection for some reason? If the outage is caused by a deliberate policy decision by that provider, then reconnection will be impossible.
The connection is established, messages are delivered. The MQTT broker works fine. Then I ssh to the server with the broker and I restart the broker. So it drops all the connections and starts again = it causes "WiFi or broker is down." on ESP32C3 board.
Sorry, my mistake, I have an old version. This commit https://github.com/peterhinch/micropython-mqtt/commit/b29f5e37f541235664ef9a3d7ffe003d19ffc4fa is probably fixing it.
I am facing trouble when I restart my MQTT server, the proxy not reconnects.
could be something missing in config?: