-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
ESP8266WebServer Exception(3) #2570
Comments
Hi Just wondering if you found a solution to this problem? I have a similar issue. Tried both using a cap on the rail, and WiFi.setPersistent(false). Still fails. |
@slepax It's been 48 hours now with the esp8266 up and running without crashes. I added a yield() call in tne webserver callback and another one after starting it in the loop {} (I don't know if the webserver is blocking though, I didn't test if the instructions after it in the loop get executed). It helped a bit but in order to solve it further, I added 100nF ceramic capacitors ("104" label) in all the powerlines of the board. I read that esp8266 has some serious power spikes due to the WiFi being used or not and capacitors (here used as smoothing capacitors) help a lot with that. So my suggestion is: try adding some yield() calls in your code. If it doesn't help, add small smoothing capacitors everywhere (small ones release the load faster afaik) + a GPIO4 pull-up resistor, too. |
@RcrdBrt that huge delay can cause a blow up in the wifi stack. |
Basic Infos
Hardware
Hardware: ESP-12E
Core Version: 2.3.0
Description
I tried to make a simple webserver for displaying DHT22 data using the Adafruit DHT library but I'm having some strange behavior and crashes. After a certain amount of requests, the esp8266 board just hangs outputting that stack trace through the serial port. I searched the web for it and I found that time ago someone opened an issue similar to this one I have but the fix should have already been merged from the release 2.3.0-rc1.
I have even tried to put
WiFi.persistent(false);
or changing the library version till 2.1.0 with no success.Settings in IDE
Module: NodeMCU 1.0 (ESP-12-E)
Flash Size: 4MB
CPU Frequency: 80MHz
Upload Using: Arduino IDE
Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: