[GH-ISSUE #246] Found a workround- so not really an issue- but might be a clue! #202

Closed
opened 2026-02-28 01:24:02 +03:00 by kerem · 1 comment
Owner

Originally created by @ed-french on GitHub (Nov 18, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/246

Hi, thanks for the project. It has helped me throw together a useful thing in next to no time.
I was struggling with the ESP8266-12E reconnecting after reset. It remembered the credentials and tried to reconnect OK.
At work, and on my mobile hotspot this always worked OK.
At home, it absolutely never worked. I'd get a status of 4 then it would flip back to being an access point.
I would configure it, and it would be OK. However, next reset it would do the same again.
Browsing through my router settings I saw it had a facility for IPv6 that I'd never adjusted or looked-at.
This had two subsettings- Basic Config- Connection Type- which was disabled.
However, "Enable Router Advertisement" was set to Enabled.
Disabling this fixed the issue for me!

I don't know if that's useful!

Thanks again,

Ed

Originally created by @ed-french on GitHub (Nov 18, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/246 Hi, thanks for the project. It has helped me throw together a useful thing in next to no time. I was struggling with the ESP8266-12E reconnecting after reset. It remembered the credentials and tried to reconnect OK. At work, and on my mobile hotspot this always worked OK. At home, it absolutely never worked. I'd get a status of 4 then it would flip back to being an access point. I would configure it, and it would be OK. However, next reset it would do the same again. Browsing through my router settings I saw it had a facility for IPv6 that I'd never adjusted or looked-at. This had two subsettings- Basic Config- Connection Type- which was disabled. However, "Enable Router Advertisement" was set to Enabled. Disabling this fixed the issue for me! I don't know if that's useful! Thanks again, Ed
kerem closed this issue 2026-02-28 01:24:02 +03:00
Author
Owner

@kentaylor commented on GitHub (Nov 19, 2016):

Not something I've seen before. 4 corresponds to WL_CONNECT_FAILED.

My guess is the router provided an IPV6 and IPV4 access point with the same SSID, the ESP was trying to connent to the IPV6 one and failing.

<!-- gh-comment-id:261673444 --> @kentaylor commented on GitHub (Nov 19, 2016): Not something I've seen before. 4 corresponds to [WL_CONNECT_FAILED](https://github.com/esp8266/Arduino/blob/4897e0006b5b0123a2fa31f67b14a3fff65ce561/libraries/ESP8266WiFi/src/include/wl_definitions.h#L56). My guess is the router provided an IPV6 and IPV4 access point with the same SSID, the ESP was trying to connent to the IPV6 one and failing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#202
No description provided.