-
Notifications
You must be signed in to change notification settings - Fork 79
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
Gateway and mesh crash when internet goes offline #59
Comments
first of all it is verry strange that the Internet connection has annything to do with the Network performing. Except you connect to a MQTT Server via the Internet and not over your local Network. |
I was using an external mqtt server. I had noticed that when there is an internal server mqtt the nodes are stable. But when I use external mqtt server and by chance this connection is abruptly terminated (maybe a network cable disconnected from the router), the nodes start to generate these errors. It is not every time. Sometimes the gateway node simply gives the disconnect message and tries to reconnect to mqtt server. But most of the time, it generates this error as soon as disconnection occurs ([onMqttDisconnect] Disconnected from MQTT: 0) Topology: https://ibb.co/d07m6bH |
thanks, And then the watchdog timer is used to restart the Node so it is clean. Like you can see in your logs the node disconnects from the wifi itself and disconnects every connected client. Afterwards it just completly restarts itself to ensure that the connection Process is as simple and clean as possible. Since every Connection is closed it is nearly no difference if the Node restarts or retries to connect to the WIFI and MQTT. the Watchdog Error accoured also in my System, it defently is not as great as it could be, but since it restarts afterwards this behaviour should not harm the System in anny way. have a verry nice day and hopefully lots of fun with the MESH! |
Hello everyone, I can compile the code on the Arduino IDE. But after recording the sketch, NodeMcu is stuck. The messages on the serial port are:
load 0x4010f000, len 3456, room 16 Exception (3):
ctx: cont Does anyone know where the error is? |
IDE Plataformio 0.17.4
Hi!
I have noticed a strange problem in the mesh network. When the internet connection goes offline, the radio gateway crashes and restarts with wdt error. Some network nodes connected via mesh also restart with a similar error (gateway direct connected nodes).
Any idea how to solve this? Is it a known problem?
Log below
Thx
Error on gateway when internet goes offline
Error on a node direct connected to a Gateway:
The text was updated successfully, but these errors were encountered: