Is there anyone who can help me achieving reliable MQTT connection? I cannot reconnect to the MQTT server after it disconnects for some reason. I tried with two different MQTT server and results are same. Connecting back to the MQTT server on disconnected event does not work.
disconnected
disconnected
disconnected
disconnected
disconnected
disconnected
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
ERROR: Unable to create socket
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Is there anyone who can help me achieving reliable MQTT connection? I cannot reconnect to the MQTT server after it disconnects for some reason. I tried with two different MQTT server and results are same. Connecting back to the MQTT server on disconnected event does not work.