ESP8266_WiFi_v2.x icon indicating copy to clipboard operation
ESP8266_WiFi_v2.x copied to clipboard

v2.9.1 issues

Open cecil-t opened this issue 5 years ago • 6 comments

I have 4 OpenEVSE units, and I just upgraded two of them to v2.9.1. Those two units then wouldn't connect from my own custom web app, I received a 401 error. Logging into the units interface directly I also noticed that my Emoncms connections were also showing a 401 error in the OpenEVSE GUI, and I checked Emoncms directly and the feeds had stopped receiving data from those two OpenEVSE units, while the other two continued working OK.

I reverted to v2.8.2 on both units and the problems went away, all functionality returned on my web interface and Emoncms began receiving data again. I haven't had a chance to dig into the problem in more detail.

cecil-t avatar Aug 02 '20 18:08 cecil-t

Does your custom app mirror the EmonCMS API? IIRC we changed to use the fulljson API as it is more reliable and fits in better with the new internal structure.

jeremypoulter avatar Aug 02 '20 20:08 jeremypoulter

Sorry, for clarity those would be two independent problems. My web app couldn't authenticate with the HTTP auth login on the OpenEVSE and it was getting the 401 error. My web app is just a multi-unit user interface so I can see and interact with all 4 units on one page.

Separately, the OpenEVSE to Emoncms was also not working, completely independent of my web app. On the "Services" tab under Energy Monitoring at the bottom near the Save button is where I saw a 401 error for that, and the Emoncms feeds had stopped receiving data.

I didn't make any configuration changes but simply reverted to the 2.8 firmware and everything worked again as expected.

cecil-t avatar Aug 03 '20 12:08 cecil-t

Some other users have reported that the EmonCMS write key is lost after upgrade, can you check if this is the case? If you upgrade one unit and re-enter the API key see if that works, same with the admin password.

Note saving any setting will mean if you revert back to a previous build you settings will be lost.

jeremypoulter avatar Aug 03 '20 22:08 jeremypoulter

@glynhudson have you seen many reports of the EmonCMS key being lost during upgrade (other than https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/commit/b87bb42f7e903b5057b22fa072a5ffed1c50352a#commitcomment-41155141)?

jeremypoulter avatar Aug 03 '20 22:08 jeremypoulter

Yes, I have head reports of Emoncms key being lost during the update.

glynhudson avatar Sep 14 '20 15:09 glynhudson

I believe the administrator http-auth username / password is also lost during the upgrade, that was the first part of my problem.

cecil-t avatar Oct 04 '20 20:10 cecil-t