mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #700] stored SSID and PSK are replaced by empty string if timeout occurs after startConfigPortal #585
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#585
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 @thomasfla on GitHub (Aug 15, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/700
Hi,
when a startConfigPortal is called, but no client sends new config before timeout, the default credentials are erased. And WiFi.begin(); can't connect anymore...
We may want to call startConfigPortal before trying to connect for example when a custom parameter needs to be updated but the SSID/PWK are the same..
Development branch, commit
915023ccb9This wasn't the case with a quite early version of the lib (like a year ago..)
The setup function below shows the problem and allows a fix on the user side by copying the SSID/PWK before calling startConfigPortal..
@tablatronix commented on GitHub (Aug 15, 2018):
They are not replace, persistent is reenabled in the decontructor, do a WiFi.peristent(true) then begin and it will work. I need to fix this