Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP update failes on ESP32 Etherent gateway #187

Closed
glynhudson opened this issue May 8, 2021 · 5 comments · Fixed by #415
Closed

HTTP update failes on ESP32 Etherent gateway #187

glynhudson opened this issue May 8, 2021 · 5 comments · Fixed by #415
Assignees
Labels
bug Something isn't working

Comments

@glynhudson
Copy link
Collaborator

Testing trying to update from 3.3.2 to 4.0.1

Selection_436
Selection_435

@glynhudson glynhudson added the bug Something isn't working label May 8, 2021
@FatJuan
Copy link

FatJuan commented May 15, 2021

Just upgraded to 4.0.1 from 3.3.1 using openevse_huzzah32.bin had same issue but resolved itself when tried 2nd time all up to date now. Thanks all!

@glynhudson
Copy link
Collaborator Author

Interesting, are you using an esp32 Ethernet gateway? Probably not since you mention you are using openevse_huzzah32.bin. This issue is referring specially the esp32 Ethernet gateway. HTTP update should be working fine on the Huzzah and OpenEVSE Wi-Fi module.

@FatJuan
Copy link

FatJuan commented May 16, 2021

Sorry misread the header. Yes not using Ethernet gateway.

@jeremypoulter
Copy link
Collaborator

Just been having a look at this, I think the issue is that with the wired connection the update is being delivered to fast and we are never going round the main loop and the watch dog is kicking in and rebooting. Over WiFi the update looks to be working for me.

@jeremypoulter
Copy link
Collaborator

I think this may need some updates to the Mongoose library, we are currently using v6 but there is v7 now. It may be wise to update but this might be a large amount of work...

ianrrees added a commit to ianrrees/ESP32_WiFi_V4.x that referenced this issue Aug 11, 2022
Updates over ethernet were failing because the Mongoose poll() method
wasn't exiting for the duration of the firmware upload.
jeremypoulter added a commit that referenced this issue Aug 22, 2022
Issue #187 - Feed watchdog in http_update_write()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants