mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #179] Unable to access html config page after few AP mode cycles #142
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#142
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 @Zyxmn on GitHub (May 31, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/179
Hi, I am unable to access the config html page after a couple AP cycles. Here is what I did to test this:
I set the config portal timeout to 3 minutes and the device enters into a permanent loop of AP cycles . I use the autoconnect() function. I enter the wrong password for the chosen ssid after scan.
The device tries to connect with the wrong password and fails and goes back to AP mode. After timeout it starts another fresh AP mode by calling the autoconnect() function again. This is where I am unable to access the html page to configure the device. Even though the last message I get on the serial monitor is the " *WM: HTTP server started".
I did notice that during AP modes where I am unable to load the html page, there are no
" *WM: 204 No Response ",
" *WM: Request redirected to captive portal " and
" *WM: Handle root "
messages on the serial monitor.
@tzapu commented on GitHub (Jun 2, 2016):
hi, i ve seen some issues similar to this when the module flash size was not set properly in the arduino ide
can you check that that is ok?
@Zyxmn commented on GitHub (Jun 3, 2016):
Hi @tzapu , the flash size setting is 4M(1M SPIFFS)
Edit: I have the same issue even on 4M(3M SPIFFS) flash size.
2nd Edit: I am currently using button reset or switching off the regulator via the LDO pin and restarting the device as a work around. The board is Adafruit Huzzah.
@lkeehon commented on GitHub (Aug 1, 2016):
Hi @tzapu , I'm facing similar problem based on the scenario below:
wifiManager.setAPCallback(configModeCallback);
However, I can go into the setting page if i reset my board. I have tried numerous time but same result. Appreciate your kind advice and thanks in advance for your kind help
Note: I did access to the AP before 3 minutes timeout.
Code
WiFiManager wifiManager;
if (!wifiManager.autoConnect(hostString)) {
Serial.println("failed to connect and hit timeout");
}