PhracturedBlue / ESP8266MQTTMesh

Self-assembling Mesh network built around the MQTT protocol supporting OTA
GNU General Public License v3.0
265 stars 79 forks source link

Atfer OTA the module is thrown out from mqtt Server #49

Closed simone1999 closed 6 years ago

simone1999 commented 6 years ago

After the OTA update the Module kind of restarts and logs in to the mqtt server, but then the mqtt Server throws an error: Client error [esp8266257bd0]: Error: read ECONNRESET Closed because of error

in this state the Module is still able to post data, but it seems to no longer be in the receiver list. Cause this issue it also is no longer possible to do OTA Programming a second time. After restarting the Module everything is working fine again.

I would really be intrested where these error is comming from. To reproduce it jou can just try to do 2 OTA Updates without restarting the ESP in between.

By the way, u did a verry great job!

simone1999 commented 6 years ago

Hello, I fixed the issue, it was totaly not yout fault, i used the mqtt server from my ioBroker installation. Now i have installed standalone mosquitto and everything works perfectly now, thanks for your great project!