mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1710] WiFi connection stuck in an infinite retry #1451
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#1451
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 @rusty-labs on GitHub (Feb 14, 2024).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1710
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32:
Hardware: Heltec wifi-lora-32-v3
Core Version: 2.4.0, staging
Description
Steps to reproduce
As a result program is stuck in an infinite reconnection loop
Problem can be solved by changing
_aggresiveReconn = falseSettings in IDE
Module: wifi-lora-32-v3
Sketch
Debug Messages
@tablatronix commented on GitHub (Feb 14, 2024):
Hmm how tf is _connectretries increasing? Lol what in the world
@rusty-labs commented on GitHub (Feb 14, 2024):
There is only one reason
_connectretries is increased exactly by 12, meaning that the code above is being called 3 times
@tablatronix commented on GitHub (Feb 15, 2024):
What line is that code? I missed it
@rusty-labs commented on GitHub (Feb 15, 2024):
github.com/tzapu/WiFiManager@0d84861270/WiFiManager.cpp (L3833)@tablatronix commented on GitHub (Feb 15, 2024):
I am so dumb. Lol usually this error only happens once I guess this should only be set one time
@rusty-labs commented on GitHub (Feb 15, 2024):
There is a typo
if(_aggresiveReconn & _connectRetries<4)