Repository navigation
Description
What happened?
I am running 3x esp8266 with 0.15.1.
HA messaged me today that there is an update tpo 0.15.2.
Done the update to one device over HA (arduino OTA method) and now the WebUI doesnt work.
What i have tried:
-
Device is pingable
-
Hyperion can send udp led data from my machine to the device and it is displayed (so it's not completely dead)
-
Different browsers (brave, chrome & edge) throw ERR_EMPTY_RESPONSE when accessing: http://
-
curl http://<ip>log find attached -
Tried to reach /update/ without successs
-
Flashed 0.15.2 with usb from install.wled.me -> it worked and ui was reachable
-
Restored json 0.15.1 configuration backup -> webui not reachable anymore
-
-> so i assume also the first update flash with HA worked (exact same issue as flashed + restored manually) and thre is an issue with configuration compatibility between 0.15.1 & 0.15.2 (at least for my configuration)
-
Flashed 0.15.1 with usb from install.wled.me -> it worked and ui was reachable
-
Restored json 0.15.1 configuration backup -> webui is reachable, so my assumption from above seems right
To Reproduce Bug
Update esp8266 from 0.15.1 to 0.15.2.
Expected Behavior
WebUI is working
Install Method
Binary from WLED.me
What version of WLED?
0.15.1 & 0.15.2
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
curl http://192.168.0.52 -vvv
16:59:19.342000 [0-x] == Info: [READ] client_reset, clear readers
16:59:19.346000 [0-0] == Info: [SETUP] added
16:59:19.349000 [0-0] == Info: Trying 192.168.0.52:80...
16:59:19.352000 [0-0] == Info: [SETUP] Curl_conn_connect(block=0) -> 0, done=0
16:59:19.357000 [0-0] == Info: [SETUP] Curl_conn_connect(block=0) -> 0, done=1
16:59:19.361000 [0-0] == Info: Connected to 192.168.0.52 (192.168.0.52) port 80
16:59:19.365000 [0-0] == Info: using HTTP/1.x
16:59:19.367000 [0-0] => Send header, 76 bytes (0x4c)
0000: GET / HTTP/1.1
0010: Host: 192.168.0.52
0024: User-Agent: curl/8.14.1
003d: Accept: */*
004a:
16:59:19.375000 [0-0] == Info: Recv failure: Connection was aborted
16:59:19.379000 [0-0] == Info: [WRITE] [OUT] done
16:59:19.381000 [0-0] == Info: closing connection #0
curl: (56) Recv failure: Connection was abortedAnything else?
Any hint's?
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity
DedeHai commentedon Nov 30, 2025
thanks for reporting this. can you post the config that causes the UI breakdown?
softhack007 commentedon Nov 30, 2025
It might be related to the modified cache-control handling in 0.15.2 - if your browser still has "older" WLED WebUI data in its cache, communication with the new release may get into trouble until the browser cache was cleared.
If you are on Windows with edge, try pressing
<ctrl>+<F5>to clear the browser cache.If this won't help, we need the cfg.json and presets.json from your device to reproduce the problem. As your WebUI seems unresponsive atm, you can open
http://<WLED_IP>/editto download the files.popy2k14 commentedon Nov 30, 2025
I have updated the OP, after downgrading/flashing 0.15.1 with USB and restoring my config WebUI is working.
So yes, it seems an config issue after upgrading to 0.15.2 (at least with my configuration).
Here is my configuration, for privacy reasons i have changed SSID & device id (last mac part, but that should not matter).
But there is nothing special in there.
Edit: See post #5136 (comment) for config files
@softhack007 i doubt it's an caching issue because i have opened edge, which i never used with wled before.
Also curl shows no correct http answer, so to me the issue seems an http server issue on WLED's side in 0.15.2 in cobination with my restored config above.
softhack007 commentedon Nov 30, 2025
@popy2k14 please also attach the
cfg.jsonas it is on your device, without any pretty-printing. Its ok if you replace the SSID & device-ID and local IP with dummy values. But we need a file that can be loaded onto our WLED dev boards without first un-pretty-printing everything.Edit: we also need the
presets.jsonfile from your device, even if its "nothing special".popy2k14 commentedon Nov 30, 2025
Here are the two files just changed SSID & mac part:
wled_cfg_Wohnzimmer Monitor.json
wled_presets_Wohnzimmer Monitor.json
netmindz commentedon Nov 30, 2025
Please also try disabling the "polling for changes" in the "system options for WLED" in home assistant
DedeHai commentedon Nov 30, 2025
bug confirmed, something strange going on, the ESP does not even register a web request, at least nothing in debug output. will dissect commits and see if I can find the commit causing it.
DedeHai commentedon Nov 30, 2025
it stops working with this commit:
a9f52a1
DedeHai commentedon Nov 30, 2025
@willmmiles
all I am getting when opening / refreshing the UI is this:
[13646]*** Dropping client 3FFF6B94 (50912): 0, 0/21488
[13651]*** Dropping client 3FFF68CC (50913): 0, 0/21712
popy2k14 commentedon Nov 30, 2025
@DedeHai thx for confirming.
Can you please drop the release (at least esp8266)?
8266: revert to ESPAsyncWebServerWLED @ 2.2.1
netmindz commentedon Nov 30, 2025
Can you give a bit more detail? I'm hoping it's not just as simple as any request for the UI as we surely would have seen this during the 8266 test of 0_15_x ?
netmindz commentedon Nov 30, 2025
All 8266 related builds removed for now
netmindz commentedon Nov 30, 2025
It appears to be related to the use of GPIO pin 3 for LEDs.
More details to follow
DedeHai commentedon Nov 30, 2025
As @willmmiles confirmed, its a memory leak somewhere in async webserver or an off-by-1 somewhere in memory management.
@popy2k14 not directly related to the underlaying bug but if you change your LED number to anything else than 52 (I tested 51, 53, 64, 70) the issue does not happen, hence why no one had this in the past 3 months of testing: you need to set LED output pin to GPIO3 and EXACTLY 52 LEDs it seems. Not saying there are no other combinations though.
netmindz commentedon Nov 30, 2025
Possibly related to Makuna/NeoPixelBus#894
Fix ESP8266 DMA off-by-one
Fix ESP8266 DMA off-by-one
netmindz commentedon Dec 1, 2025
@popy2k14 can you please try installing the nightly release or building the 0_15_x branch from source to confirm the fix please?
netmindz commentedon Dec 1, 2025
Builds can be found here - you will need to be logged in to GitHub
https://github.com/wled/WLED/actions/runs/19816164892
popy2k14 commentedon Dec 1, 2025
@netmindz thx for the builds.
I have installed the following bin.gz "firmware-esp8266_2m" in OTA menu of my working 0.15.1.
It updated, but reseted the configuration.
Normally i'll use this file from the github releases "WLED_X.X.X_ESP8266.bin" like "WLED_0.15.1_ESP8266.bin".
But it opened the WLED-AP, so i configured my Wifi, it connected and is also working after restoring my config, which failed on 0.15.2 stable.
So yes, in the new version i can confirm the issue is fixed for me.
Any hints why the config was erased on OTA? (maybe because its a beta?)
netmindz commentedon Dec 2, 2025
Good to hear it's working.
As for the config reset, it might be worth you going to /edit in WLED to see if there are multiple cfg files as it's possible the bootloop recovery triggered for some reason. If so, then you will see a backup of the version of the config when it looped
popy2k14 commentedon Dec 2, 2025
@netmindz sorry to bother you again regarding the config reset, but i am not so deep in the WLED world and want to figure it out.
Those files are on the device:
They are identical, except for vid part:
{"rev":[1,0],"vid":....
and "pskl":
which is 7 and on the other 32.
Should i delete the backup to prevent config reset on further updates or leave it?
thx
willmmiles commentedon Dec 2, 2025
Most likely you've flashed something which assumes a different flash size -- probably you've gone from a build for a 4MB flash (the "nodemcu" environment, which produces "WLED_0.15.2_ESP8266.bin") to one that assumes only 2MB of flash (the "esp8266_2m" environment, which produces "WLED_0.15.3-beta_ESP02.bin"). The result is that your old config is actually still there, but saved in a part of the flash that is inaccessible since the new firmware you loaded is targeting smaller flash chips.
DedeHai commentedon Dec 2, 2025
the backup is created whenever you save the config. Deleting it has no effect other than it will auto-revert to factory default on a boot-loop. the pskl is the length of a particular password.
popy2k14 commentedon Dec 2, 2025
thx @willmmiles and @DedeHai for clearing things up.
So yes, the change in flash size assumption from the builds (before 4MB and now 2MB) is most likely my issue.
Will wait for an official release to get the same flash size config with the upcomming build "WLED_0.15.3_ESP8266.bin".
Fix ESP8266 DMA off-by-one