Raspberry Pi and Azure IoT Hub are connected via MQTT.
Sometimes the connections are bad and the devices disconnect from each other.
If you get disconnected, restart your browser or "restart the flow" and the connection will be restored.
It is a hassle to do it manually each time.
Is it possible to restart the flow automatically?
In the debug messages, the following error is output.
06/02/2020 9:21:34 node: Azure IoT Hub msg : string "Error while trying to send message:Error: client disconnecting"
Is it possible to restart the flow if this message is caught?