mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #948] WifiManager hangs setup after successful configuration save #803
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#803
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 @afagard on GitHub (Sep 24, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/948
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
Lolin D1 mini pro
ESP Core Version: 2.4.0, staging
Description
On first run, with clear memory, the device starts and I can go to the configuration portal to modify the wifi credentials and save it. On save, and over serial, the device immediately spits out:
And stops. Then, after about a minute and a half, my own setup begins and everything goes on normally.
What exactly is happening during this timeperiod? Is this normal? Because as the serial prints suggest, the device has successfully connected after the credentials were correctly entered then the delay. Without wifimanager, and using hard-coded configuration variables, there is no delay.
Please note: after initial configuration, if I restart the device everything happens within 10-15 seconds:
Settings in IDE
Module: NodeMcu, Wemos D1
Additional libraries:
Sketch
My sketch is about 1000 lines:
https://pastebin.com/Jn6eZq43
But this is my basic setup:
Libraries:
@ermaya commented on GitHub (Oct 5, 2019):
Have you read the first line of the AutoConnectWithFSParameters example?
Maybe it helps.
#include <FS.h> //this needs to be first, or it all crashes and burns...
@afagard commented on GitHub (Oct 13, 2019):
But it doesn't crash... Will try it out nevertheless.
@tablatronix commented on GitHub (Oct 13, 2019):
I would guess this infinite loop ?
while (1);
@afagard commented on GitHub (Oct 13, 2019):
within the confines of the if it isn't an issue as those things are abs required for everything else to work. in any case, it doesn't crash or print anything to the serial (as you can see all these have nested serial prints) to show those conditionals are triggered.
@tablatronix commented on GitHub (Oct 13, 2019):
Those do not look like logs from development branch