Strange - but yes, the code's here: https://github.com/espruino/EspruinoDocs/blob/master/modules/MQTT.js
If you wanted to create a pull request that fixed it it'd be great!
I'm not sure, but it might also be worth reconnecting after a timeout, rather than straight away? It might help...
@Gordon started
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.
Strange - but yes, the code's here: https://github.com/espruino/EspruinoDocs/blob/master/modules/MQTT.js
If you wanted to create a pull request that fixed it it'd be great!
I'm not sure, but it might also be worth reconnecting after a timeout, rather than straight away? It might help...