mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1468] What does WIFI_REASON: 4 Mean #1259
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1259
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GeorgeIoak on GitHub (Aug 6, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1468
I'm trying to debug a minor problem that happens when I change to a new network. Everything works fine but after it restarts I need to manually restart the board once or twice before the application runs properly. This only happens happen I run WM. When I check the log I find this:
and at this point I need to restart the board. I searched but I cannot seem to find the meaning of "4"
@tablatronix commented on GitHub (Aug 9, 2022):
WIFI_REASON_ASSOC_EXPIRE
@GeorgeIoak commented on GitHub (Aug 10, 2022):
So that seems to be not expected after you've entered the new WiFi AP information, correct?
@tablatronix commented on GitHub (Aug 10, 2022):
Is it every other reboot?
@GeorgeIoak commented on GitHub (Aug 10, 2022):
You know it might be. I need to do some additional debugging before I really bother you but that's why I was trying to understand the normal flow. In general though it seems that once I change the WiFi AP I have to manually reboot twice before the board runs the code normally. After that it always runs fine.
@tablatronix commented on GitHub (Aug 10, 2022):
Yeah its a known esp issue #1137
@GeorgeIoak commented on GitHub (Aug 11, 2022):
Reading through the older issues and replies am I correct that a workaround for this issue is to add a
setConnectRetries(3)?@tablatronix commented on GitHub (Aug 11, 2022):
You can try that, yes, and add longer connect timout, this issue only presents with some routers, you can also try
Also try using newer versions of esp lib core
@tablatronix commented on GitHub (Aug 11, 2022):
#1067
@GeorgeIoak commented on GitHub (Aug 11, 2022):
I'm developing in VSCode with PIO and it's showing 5.1.0 is installed which was recently updated I see (11 days ago). I'll review #1067 and run some tests to see if anything changes for the better.