-
Notifications
You must be signed in to change notification settings - Fork 2k
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
wifi save crashes again #162
Comments
I'm not sure how to interpret this data but it looks like the device has crashed as instructed when ESP.reset(); has been called in code. The last line referenced is https://github.com/tzapu/WiFiManager/blob/master/examples/AutoConnectWithFeedbackLED/AutoConnectWithFeedbackLED.ino#L51 The next line to run is ESP.reset(); at https://github.com/tzapu/WiFiManager/blob/master/examples/AutoConnectWithFeedbackLED/AutoConnectWithFeedbackLED.ino#L54 Similarly in pull request #157 In the case of ConfigOnSwitch, ESP.reset() is called because the web server can only be started once per boot up. The ESP is restarted to make the web server functional when it is next started. It would be better if the web server could be started more than once per boot up but I'm not sure how to do that. |
the one per boot problem is a bug i think in the cleanup of the webserver, it s worth reporting on the esp core team. there is also another problem i ve notived with the change of ip on the various interfaces, sta/ap that the webserver doesn t like/behave i ve managed to restart a webserver without a reboot after the wifimanager webserver goes down, maybe you can use this as inspiration sorry, i am still otherwise engaged with daily stuff and can t give this the attention it deserves |
Yeah this happens when i save and it reboots i think and the. It crashes and in the pr version it gets stuck in loop crashing. |
Ill have to narrow this down and follow up with esp8266 core ( using 2.2.0 atm )
Exception (3):
epc1=0x401003e9 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4000cbd9 depc=0x00000000
ctx: cont
sp: 3fff03f0 end: 3fff0990 offset: 01a0
using pull request #157
The text was updated successfully, but these errors were encountered: