You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
14.1 can't connect to router on 14.1 on ESP8266 Wemos D1 mini #3690
connectivityIssue regarding protocols, WiFi connection or availability of interfacesstaleThis issue will be closed soon because of prolonged inactivity
After the upgrade to 14.1 WLED wasn't accessable anymore. Erasing the flash and flashing 14.0 solved the issue. Another upgrade to 14.1 resulted in broken wifi again. If you flash 14.1 manually, you can connect to the WLED-AP, but after you configure the router connection, things break.
To Reproduce Bug
Install 14.1 and connnect to existing network
Expected Behavior
WLED should connect
Install Method
Binary from WLED.me
What version of WLED?
14.1
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
Reacted by Glenn Versweyveld, Michael Bisbjerg, guennikasse, Kalitsune, Alex, Flolant, Dmitry Byankin and tfvlrue
I would suspect WiFi issues (channel overlap, interference, etc).
The new Arduino core used in 0.14+ for ESP8266 is more susceptible to WiFi issues.
Try scanning for least used channel and force your AP to use that channel.
Some settings like BSS transition and/or fast roaming are known to cause issues as well.
I will describe the issue I had with one of ESP8266 devices which was sitting 30cm from access point and was unreachable over WiFi. There was another ESP32-S2 with similar issues though that one was far from any AP (>10m outdoor).
With 0.13.x the ESP was reachable but was occasionally dropping in and out of WiFi. That was observable in UniFi controller (I use Ubiquiti UniFi with several APs and switches). The drops were rare and didn't last long.
After I updated it to 0.14 (somewhere in July 2023) I immediately noticed that the device was visible and connected to the network but I was unable to connect to UI. It would just stall loading it. I went ahead an purchased another AP (UAP-AC-M) and installed it about 30cm from the device as it was in an awkward spot where WiFi signal was poor. It didn't help.
I have several other WLED devices, one of them being the sync master. Whenever sync master sent notification packet the problematic device picked it immediately and all timed presets were triggering normally. That was a clear indication that the device itself was receiving WiFi signal (including NTP reponses) and when UI would load I could see signal strength to be almost perfect 100%.
As it was an outdoor device (which participated in Christmas display successfully) it wasn't until last week that I finally delved into the problem and solved it. Not by changing WLED code but by reconfiguring WiFi.
It turned out that I had to fix APs to have channel allocation permanent and dispersed as far as possible (the two APs on the same channel had to be physically furthest from each other), I also disabled BSS transitions and Fast roaming though these two didn't seem t have any real effect in my set-up.
After all my APs were set to fixed channels (1, 6 and 11) and APs using the same channel were separated as far as possible, all connectivity problems went away. Immediately.
I have the same or a similar problem and it is definitely not the same as the 14.0 Wifi issues.
With 14.0 I had connection problems that I thought came from a new device (which I had not used with WLED < 14), but maybe it's the new Arduino core then. Anyway I changed my Wifi settings to less crowded channels and it helped to some extent.
However, immediately after the update to 14.1 the device (now hanging on the wall controlling an LED strip, 50cm to the AP, working flawlessly so far) became unresponsive. The UI would load slowly or not at all. I needed to change something in LED settings and it was impossible to get there.
In the browser I was able to directly open the update section after a reboot and install 14.0. It took pretty long but eventually worked. After reboot everything worked again. So my problem is definitely something in 14.1.
For list of changes and possible causes see changelog and explanations in #3685.
As far as I can see there were no changes (except an option to force G mode on ESP8266) to networking. And the change of Arduino core happened somewhere in between 0.14.0-b1 and 0.14.0-b2 and not in 0.14.1.
@sl1txdvd what you are describing was exactly my case. Solved by WiFi reconfiguration. Unfortunately I do not know if we have any option to change WiFi operation from within WLED as we use standard approach which hasn't changed in a few years.
As I said, that solved my problems introduced by 14.0. Which works for me. But it does not solve the problems introduced by 14.1. As you say, Arduino core change was in 14.0. The same problem would not return in 14.1 then under the exact same circumstances while 14.0 is not affected. It's a different issue.
FWIW I just tried
14.0 working fine
14.0 to 14.1-b2 fast flash, fast reboot
14.1-b2 generally working, two timeouts
14.1-b2 to 14.1-b3 slow flash, one failed, the other was "successful" according to the UI
14.1-b3 device does not work at all, had to flash via USB
@sl1txdvd Would you mind sending me a copy of your configuration, from the 'backup configuration' feature? I haven't been able to replicate your issue here on my test setup. I'd like to try with your specific settings.
Same issue here. First time ever using WLED on a ESP8266. Have Ubiquiti APs.
Tried with the current 0.15.1 and never got a stable wifi connection after connecting to my AP. Couldn't even open the web page. Lots of dropped packets on ping.
Installed 0.14.0 and could access the WLED page right away...
Update: Forcing the Ubiquiti AP to work on Channel 1 seems to fix the connection issue with the current version of WLED.
If i set it to Channel 6 (as it was previously) the packet drops occur. I tested this back and forth to confirm. Also there are no other wifi networks in proximity that could degrade network performance otherwise.
I came here as I've just upgraded Google Wi-Fi Pro 6E Mesh to eero Pro 7, and my wled controller is the only thing not to want to connect to the new mesh.
@coderabbitai please scan all comments of this issue ticket, and look for repeated patterns (WiFi, modules, _compat binaries, esp8266 framework releases, etc), and for solutions stated by users. Create an overview table to summarize your insights, and check for "hidden" aspects that could be common root causes.
Manifests as crash/hang after 10–24h rather than immediate failure
ESP32-S2, ESP32-C3
🟢 Not reported
blazoncek runs ~27 of these without issue
3. Access Point Patterns
AP Type
Reports
Observation
Ubiquiti UniFi (UAP-AC-, U6-)
Very high
Dominant in thread; may be coincidental (popular brand)
eero 6 Pro
Confirmed
Multiple reporters
TP-Link EAP
Confirmed
At least one reporter
Mikrotik
Confirmed
At least one reporter
Apple Airport Express
Not reported as broken
blazoncek's working setup uses these + UniFi with fixed channels
Notable: The AP brand itself is likely not the root cause — the common factor is AP features (BSS Transition, Fast Roaming, 40MHz channels, auto channel selection) rather than vendor.
4. Symptom Patterns
Symptom
Likely Cause
Device connects to AP but UI completely unresponsive, massive packet loss
Webserver OOM/crash or 40MHz channel incompatibility
Device goes offline after 10–24 hours, won't reconnect
Webserver crash/hang (heap exhaustion from concurrent requests)
Device broadcasts its own SSID but nothing can connect to it
Hard crash/hang — WiFi stack alive but task loop frozen
OTA update fails or takes extremely long
Memory pressure / webserver lock contention
Segments update sequentially instead of simultaneously
Lock contention in JSON buffer (commit cdc8640) blocking main loop
Occasional short disconnects, reconnects within minutes
BSS Transition / AP roaming handoff not supported by ESP
5. Solutions Reported to Work
Solution
Addresses
Reliability
Roll back to 0.14.0 / 0.13.x
All symptoms
✅ Universal workaround
Flash _compat firmware binary
Arduino core regression
✅ Confirmed by multiple users (Depechie, damocles-dev, AlexeiGitH)
Force AP channel width to 20MHz (disable 40MHz/HT40)
ESP8266 802.11 incompatibility
✅ Confirmed by casesolved-co-uk and others
Fix AP channels to 1, 6, 11; physically separate same-channel APs
Channel overlap / roaming
✅ Confirmed by blazoncek, timonych, DOCaCola
Disable BSS Transition and Fast Roaming on AP
Unsupported roaming protocols
⚠️ Partial — helps some but not all
Custom build with -D WLED_DISABLE_ESPNOW
ESP-NOW RF interference
⚠️ Untested by most reporters; suggested by softhack007
Bisected by LordMike; causes OOM/crashes that look like WiFi drops
40MHz channel width — ESP8266 is 20MHz-only per 802.11n
Forcing 20MHz on AP resolves packet loss for some users
ESP-NOW driver active even when disabled in settings
softhack007 identified; constant RF activity may interfere with normal operation
BSS Transition / 802.11r Fast Roaming — not supported by ESP stack
AP-side disable partially helps some users
7. "Hidden" Aspects & Subtle Root Causes
Crash masquerading as WiFi failure. The most insidious pattern: the device appears to be on the network (UniFi shows it connected, it even broadcasts its own AP SSID) but is completely unresponsive. This is a frozen task loop or heap exhaustion, not a WiFi disconnection. LordMike confirmed this directly — the ESP32 stopped responding but its pushbutton relay still worked, proving the WiFi stack was alive.
Lock contention cascade. The JSON buffer mutex introduced in cdc86402 (to fix a use-after-free) serialises all responses using the large buffer. Under concurrent requests (e.g., Home Assistant automations hitting multiple segments), the lock is held long enough to starve other requests, returning HTTP "retry in 1s" responses, which HA may then hammer again — creating a feedback loop until OOM.
ESP-NOW silent interference. The ESP-NOW driver is unconditionally initialized in the newer core even when the feature is not configured. This may occupy RF resources and affect station mode reliability, especially at longer ranges or with busy APs.
Config corruption on upgrade. sl1txdvd found that upgrading with certain configurations (particularly segment data in presets) could silently corrupt settings, making 0.14.0 also unstable until a factory reset was performed. Some "0.14.0 regression" reports may be post-upgrade config corruption rather than a firmware issue.
Channel 13 (EU default). Some European users had APs on channel 13, which certain ESP modules do not support in their default regional configuration — causing a mismatch where the device can associate but has poor RF performance.
Reproducibility bias. blazoncek's large fleet (10× ESP8266, 20× ESP32, 5× ESP32-S2/C3) works flawlessly because his AP setup already satisfies all the preconditions (fixed channels 1/6/11, separated APs, no fast roaming). This is why he couldn't reproduce — not because the bug doesn't exist, but because his environment already works around it.
Summary
The issue is multi-causal: the Arduino core 3.1.2 bump in 0.14.0 made ESP8266 WiFi more sensitive to AP misconfigurations, while the webserver lock contention introduced in 0.14.1 causes real crashes on both ESP8266 and ESP32 that look like WiFi drops. The _compat builds are the most reliable fix for ESP8266, addressing the framework regression. AP-side 20MHz enforcement and fixed channel allocation address the RF sensitivity aspect. PR #3643 addressed the ESP32 crash case. The ESP-NOW interference angle remains under-investigated.
Yes, I think so -- there's been a fair number of tweaks and improvements to the web server layer since then.
FWIW, I can say that I have occasionally seen issues on my bench that look a lot like this: I'll have a unit that comes up in AP mode, UI is working flawlessly, but once I connected it to my wifi then suddenly it's all packet loss and dropped connections. I'll come back a week later and it'll be perfectly fine. Haven't been able to commit the time to troubleshoot where the packets are going.
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED! ✨
connectivityIssue regarding protocols, WiFi connection or availability of interfacesstaleThis issue will be closed soon because of prolonged inactivity
Activity
blazoncek commentedon Jan 15, 2024
I would suspect WiFi issues (channel overlap, interference, etc).
The new Arduino core used in 0.14+ for ESP8266 is more susceptible to WiFi issues.
Try scanning for least used channel and force your AP to use that channel.
Some settings like BSS transition and/or fast roaming are known to cause issues as well.
raufis27 commentedon Jan 16, 2024
Same issue with nodemcu. 14.0 works fine. Upgrade brakes wifi connectivity (using Unifi network).
blazoncek commentedon Jan 16, 2024
I will describe the issue I had with one of ESP8266 devices which was sitting 30cm from access point and was unreachable over WiFi. There was another ESP32-S2 with similar issues though that one was far from any AP (>10m outdoor).
With 0.13.x the ESP was reachable but was occasionally dropping in and out of WiFi. That was observable in UniFi controller (I use Ubiquiti UniFi with several APs and switches). The drops were rare and didn't last long.
After I updated it to 0.14 (somewhere in July 2023) I immediately noticed that the device was visible and connected to the network but I was unable to connect to UI. It would just stall loading it. I went ahead an purchased another AP (UAP-AC-M) and installed it about 30cm from the device as it was in an awkward spot where WiFi signal was poor. It didn't help.
I have several other WLED devices, one of them being the sync master. Whenever sync master sent notification packet the problematic device picked it immediately and all timed presets were triggering normally. That was a clear indication that the device itself was receiving WiFi signal (including NTP reponses) and when UI would load I could see signal strength to be almost perfect 100%.
As it was an outdoor device (which participated in Christmas display successfully) it wasn't until last week that I finally delved into the problem and solved it. Not by changing WLED code but by reconfiguring WiFi.
It turned out that I had to fix APs to have channel allocation permanent and dispersed as far as possible (the two APs on the same channel had to be physically furthest from each other), I also disabled BSS transitions and Fast roaming though these two didn't seem t have any real effect in my set-up.
After all my APs were set to fixed channels (1, 6 and 11) and APs using the same channel were separated as far as possible, all connectivity problems went away. Immediately.
sl1txdvd commentedon Jan 18, 2024
I have the same or a similar problem and it is definitely not the same as the 14.0 Wifi issues.
With 14.0 I had connection problems that I thought came from a new device (which I had not used with WLED < 14), but maybe it's the new Arduino core then. Anyway I changed my Wifi settings to less crowded channels and it helped to some extent.
However, immediately after the update to 14.1 the device (now hanging on the wall controlling an LED strip, 50cm to the AP, working flawlessly so far) became unresponsive. The UI would load slowly or not at all. I needed to change something in LED settings and it was impossible to get there.
In the browser I was able to directly open the update section after a reboot and install 14.0. It took pretty long but eventually worked. After reboot everything worked again. So my problem is definitely something in 14.1.
My device is NodeMCU v2 (ESP8266)
blazoncek commentedon Jan 18, 2024
For list of changes and possible causes see changelog and explanations in #3685.
As far as I can see there were no changes (except an option to force G mode on ESP8266) to networking. And the change of Arduino core happened somewhere in between 0.14.0-b1 and 0.14.0-b2 and not in 0.14.1.
#3526, #3502, #3496, #3484, #3487, #3445, #3466, #3296, #3382, #3312, #3593, #3490, #3573, #3517, #3561, #3555, #3541, #3536, #3515, #3522, #3533, #3508, #3622, #3613, #3609, #3632, #3566, #3665, #3672
@sl1txdvd what you are describing was exactly my case. Solved by WiFi reconfiguration. Unfortunately I do not know if we have any option to change WiFi operation from within WLED as we use standard approach which hasn't changed in a few years.
sl1txdvd commentedon Jan 18, 2024
As I said, that solved my problems introduced by 14.0. Which works for me. But it does not solve the problems introduced by 14.1. As you say, Arduino core change was in 14.0. The same problem would not return in 14.1 then under the exact same circumstances while 14.0 is not affected. It's a different issue.
sl1txdvd commentedon Jan 18, 2024
FWIW I just tried
14.0 working fine
14.0 to 14.1-b2 fast flash, fast reboot
14.1-b2 generally working, two timeouts
14.1-b2 to 14.1-b3 slow flash, one failed, the other was "successful" according to the UI
14.1-b3 device does not work at all, had to flash via USB
Back to 14.0, everything's fine.
blazoncek commentedon Jan 18, 2024
Unfortunately I have no resolution for you but to stay on 0.14 or earlier.
FYI 0.15 builds on top of 0.14.1.
willmmiles commentedon Jan 18, 2024
@sl1txdvd Would you mind sending me a copy of your configuration, from the 'backup configuration' feature? I haven't been able to replicate your issue here on my test setup. I'd like to try with your specific settings.
DibblesNL commentedon Jan 18, 2024
another one with the same issue. also tried a reflash but still failed. 4 other devices running 14.1 are ok. but one doesnt like it.
sl1txdvd commentedon Jan 18, 2024
@willmmiles I try to attach the config here. I changed the ssid of my wifi.
I run a strip with 60 WS2812b LED on a 2.4A driver if that's relevant.
cfg.json
presets.json
willmmiles commentedon Jan 18, 2024
Thanks, I think that's helped pin it down, I've been able to reproduce the OTA issue here.
blazoncek commentedon Jan 18, 2024
@sl1txdvd does anything change if you use DHCP?
CjonesLAB commentedon Jan 19, 2024
0.14.1 is buggy
No Wireless
97 remaining items
tfvlrue commentedon Jul 28, 2025
I'm also seeing the same behavior where version 14 of WLED works fine, but higher versions cannot connect to Wifi. My APs are Unifi AC Pro models.
DOCaCola commentedon Sep 9, 2025
Same issue here. First time ever using WLED on a ESP8266. Have Ubiquiti APs.
Tried with the current 0.15.1 and never got a stable wifi connection after connecting to my AP. Couldn't even open the web page. Lots of dropped packets on ping.
Installed 0.14.0 and could access the WLED page right away...
Update: Forcing the Ubiquiti AP to work on Channel 1 seems to fix the connection issue with the current version of WLED.
If i set it to Channel 6 (as it was previously) the packet drops occur. I tested this back and forth to confirm. Also there are no other wifi networks in proximity that could degrade network performance otherwise.
richard-scott commentedon Dec 18, 2025
I came here as I've just upgraded Google Wi-Fi Pro 6E Mesh to eero Pro 7, and my wled controller is the only thing not to want to connect to the new mesh.
Suschibomber commentedon Jan 21, 2026
Same for me. Switch my house to TP-Link AP and no Wifi connection at all with diffrent esp32d1 mini wled flashed boards :( frustrating.
softhack007 commentedon May 12, 2026
@coderabbitai please scan all comments of this issue ticket, and look for repeated patterns (WiFi, modules, _compat binaries, esp8266 framework releases, etc), and for solutions stated by users. Create an overview table to summarize your insights, and check for "hidden" aspects that could be common root causes.
coderabbitai commentedon May 12, 2026
@softhack007— here is a full analysis of issue#3690based on all comments.Issue
#3690— Pattern Analysis & Root Cause Summary1. Version Impact Matrix
#3643(JSON lock fix) merged; some users still broken_compatbuilds resolve most ESP8266 reports2. Hardware Affected
3. Access Point Patterns
4. Symptom Patterns
5. Solutions Reported to Work
_compatfirmware binary-D WLED_DISABLE_ESPNOW#3643(JSON lock fix) → in 0.14.26. Identified Root Causes
cdc86402)7. "Hidden" Aspects & Subtle Root Causes
Crash masquerading as WiFi failure. The most insidious pattern: the device appears to be on the network (UniFi shows it connected, it even broadcasts its own AP SSID) but is completely unresponsive. This is a frozen task loop or heap exhaustion, not a WiFi disconnection. LordMike confirmed this directly — the ESP32 stopped responding but its pushbutton relay still worked, proving the WiFi stack was alive.
Lock contention cascade. The JSON buffer mutex introduced in
cdc86402(to fix a use-after-free) serialises all responses using the large buffer. Under concurrent requests (e.g., Home Assistant automations hitting multiple segments), the lock is held long enough to starve other requests, returning HTTP "retry in 1s" responses, which HA may then hammer again — creating a feedback loop until OOM.ESP-NOW silent interference. The ESP-NOW driver is unconditionally initialized in the newer core even when the feature is not configured. This may occupy RF resources and affect station mode reliability, especially at longer ranges or with busy APs.
Config corruption on upgrade. sl1txdvd found that upgrading with certain configurations (particularly segment data in presets) could silently corrupt settings, making 0.14.0 also unstable until a factory reset was performed. Some "0.14.0 regression" reports may be post-upgrade config corruption rather than a firmware issue.
Channel 13 (EU default). Some European users had APs on channel 13, which certain ESP modules do not support in their default regional configuration — causing a mismatch where the device can associate but has poor RF performance.
Reproducibility bias. blazoncek's large fleet (10× ESP8266, 20× ESP32, 5× ESP32-S2/C3) works flawlessly because his AP setup already satisfies all the preconditions (fixed channels 1/6/11, separated APs, no fast roaming). This is why he couldn't reproduce — not because the bug doesn't exist, but because his environment already works around it.
Summary
The issue is multi-causal: the Arduino core 3.1.2 bump in 0.14.0 made ESP8266 WiFi more sensitive to AP misconfigurations, while the webserver lock contention introduced in 0.14.1 causes real crashes on both ESP8266 and ESP32 that look like WiFi drops. The
_compatbuilds are the most reliable fix for ESP8266, addressing the framework regression. AP-side 20MHz enforcement and fixed channel allocation address the RF sensitivity aspect. PR#3643addressed the ESP32 crash case. The ESP-NOW interference angle remains under-investigated.softhack007 commentedon May 12, 2026
@willmmiles correct me - I think this aspect is solved in 16.0.0, maybe also solved in 0.15.5 ?
willmmiles commentedon May 12, 2026
Yes, I think so -- there's been a fair number of tweaks and improvements to the web server layer since then.
FWIW, I can say that I have occasionally seen issues on my bench that look a lot like this: I'll have a unit that comes up in AP mode, UI is working flawlessly, but once I connected it to my wifi then suddenly it's all packet loss and dropped connections. I'll come back a week later and it'll be perfectly fine. Haven't been able to commit the time to troubleshoot where the packets are going.
8266 compatibility builds for older chips (another attempt t o solve w…
8266 compatibility builds for older chips (another attempt t o solve w…
github-actions commentedon Sep 10, 2026
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED! ✨