WLED crashes and reboots every xx minutes (mDNS)
Over the past year we’ve been getting various reports of people having issues with their WLED controller (QuinLED or other) rebooting unexpectedly. This can of course have various causes but in this specific case it’s a reboot every 5 minutes or every hour almost like clockwork.
It’s been identified that this is often an issue linked to the WiFi network they are connected to and certain traffic crashing WLED.
mDNS spam
Often people experiencing this issue would be able to stop the reboots by unconfiguring their WiFi network and run the board in the default “WLED-AP” access point mode. This would solve the issue and they would experience no more reboots.
It was later identified that a lot of these networks had a large amounts of mDNS traffic on them and that the ESP32 would become unstable receiving these large amounts of mDNS bursts/spam/traffic and while trying to process it. The sources for the high amounts of traffic was often Hubitat and in fewer cases Home Assistant software.
Fixing the issue
The best fix would be to fix whatever is causing the excessive amount of mDNS traffic. If that however is not possible, in most cases, it’s been enough to empty the mDNS field within WLED.
In WLED go to settings and then “WiFi Setup”. There you’ll find a field called “mDNS address” make sure to clear anything in that field and save it.
End conclusion
Once rebooted it should resolve the issue and WLED should now run without crashes!