cotestatnt / AsyncTelegram2

Powerful, flexible and secure Arduino Telegram BOT library. Hardware independent, it can be used with any MCU capable of handling an SSL connection.
MIT License
83 stars 25 forks source link

OTA ESP8266 HTTP_UPDATE_FAILED #91

Closed MudiStar closed 1 year ago

MudiStar commented 1 year ago

Hello Tolentino,

I'm using basically you OTA example for updates through Telegram. What I'm facing is, that I get following error like every 90% of my tries. I enter the PW and get: Start flashing... please wait (~30/60s) HTTP_UPDATE_FAILED Error (-1): HTTP error: connection failed

Sometimes the ESP just restarts. But sometimes it worked just fine (like 10%). The ESP is placed 1 m next to the router. I'm using a Telegram web addon for Firefox.

Is there something I can do to improve the behavior?

Thanks Christian

MudiStar commented 1 year ago

Solution: Reset the ESP e.g. remotely through Telegram and direct push the update.