mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1171] After configuration completed Connection result: WL_DISCONNECTED #1002
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#1002
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 @Behzad-6-1 on GitHub (Dec 13, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1171
I have been using AsyncWiFiManager for a while. It was working fine for past 4 months.
It was connecting to any network with ease. Now it is connecting to my Mobile Hotspot however it results in WL_DISCOUNCTED when I connect to my router.
SSID and password are correct, after configuration completed I get the followings
*WM: [1] Connecting to saved AP: WiFi-F4B0
*WM: [3] Using password: XXXXXXXX
*WM: [3] WiFi_enableSTA: enabled.
*WM: [3] Mode after delay: STA
E (1000) wifi:sta is connecting, return error
*WM: [1] connectTimeout not set, ESP waitForConnectResult.
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] [EVENT] WIFI_REASON: 2
*WM: [2] Connection result: WL_DISCONNECTED
*WM: [3] lastconxresulttmp: WL_STATION_WRONG_PASSWORD
*WM: [3] lastconxresult: WL_STATION_WRONG_PASSWORD
*WM: [1] AutoConnect: FAILED
*WM: [2] Starting config portal.
*WM: [2] AccessPoint set password is valid.
*WM: [1] @password
*WM: [3] WIFI station disconnect.
*WM: [3] WiFi_enableSTA:
*WM: [2] [EVENT] WIFI_REASON: 202
enabled.
*WM: [2] Disabling STA.
*WM: [2] Enabling AP.
*WM: [1] StartAP with SSID: FE-IOTR
*WM: [1] Custom AP IP/GW/Subnet:
*WM: [1] SoftAP Configuration:
*WM: [1] --------------------
*WM: [1] ssid: FE-IOTR
*WM: [1] password: @password
*WM: [1] ssid_len: 7
*WM: [1] channel: 1
*WM: [1] authmode: 3
*WM: [1] ssid_hidden:
*WM: [1] max_connection: 4
*WM: [1] country: CN
*WM: [1] beacon_interval: 100(ms)
*WM: [1] --------------------
*WM: [1] AP IP address: 192.168.43.178
*WM: [3] setupConfigPortal()
*WM: [1] Starting web portal.
*WM: [3] DNS server started with IP: 192.168.43.178
*WM: [2] HTTP server started.
*WM: [2] Async WiFi scan completed in in 2624 ms.
*WM: [2] Async WiFi scan found: 2
*WM: [2] WiFi scan completed in 2625 ms.
*WM: [2] Config portal running in blocking mode, waiting for clients.
*WM: [2] Num clients: 0
Could you please help here?
Code is fairly standard
`
Basic Infos
ESP32 DIO-DEV
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
Problem description
Settings in IDE
Module: NodeMcu, Wemos D1
Additional libraries:
Sketch
Debug Messages
@antonio-emilio commented on GitHub (Dec 14, 2020):
I'm having the same trouble... sometimes it works just fine, but 90% of the time I get "Connection result: WL_DISCONNECTED".
@tablatronix commented on GitHub (Dec 18, 2020):
This is not asyncwifimanager..
@Behzad-6-1 commented on GitHub (Dec 18, 2020):
My issue was my resistor value on EN pin. faulty and instead of 10 k it was some random value in ohms. it is working fine.