mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #926] esp32: Captive Portal does not work on windows 10 #786
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#786
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 @amrlsayed on GitHub (Aug 15, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/926
Basic Infos
Hardware
ESP32 WROOM
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
**ESP32 Core Version:
Description
I have a more complex project. but to make it simple I am testing only the "OnDemandConfigPortal" Example. It works Good on Android but not on Windows 10. I tried disabling the firewall without luck.
when I connect to the AP from the PC I see this debug message more frequently
I think those are not errors because result 0 is the LWIP ERR_OK
sometimes when i connect to the AP. it redirects me to msn.com but then when i type the IP (192.168.4.1) on the browser I get no response "ERR_CONNECTION_TIMEOUT" then the output in the serial terminal is
when I type ipconfig on windows cmd. I find that it gets an IP from the AP
Settings in IDE
Module: ESP32 Dev Module
Additional libraries:
no additional libraries
Sketch
Debug Messages
Before opening this issue. I tested CaptivePortal Example from ESP32 Arduino SDK examples. it didn't work for windows but worked on Android. I though it might be related so I put a comment on this issue reporting the problem. I got the suggestion to open a new issue here though.
Thanks a lot
@viperk1 commented on GitHub (Oct 3, 2019):
I'm running into the same issue. Hope this can be diagnosed!
@tablatronix commented on GitHub (Oct 3, 2019):
check firewall
@amrlsayed commented on GitHub (Oct 5, 2019):
Hi Shawn,
I disabled the firewall but same problem.
Do you mean it's working good with you on windows and the problem would be our environment such as Firewall ?
@tablatronix commented on GitHub (Oct 5, 2019):
No, windows 10 firewall can block captive portals
@connornishijima commented on GitHub (Dec 4, 2019):
It doesn't work on a Galaxy S8 running Android 9 (Pie)
@iw2lsi commented on GitHub (May 27, 2021):
same problem here... on Windows 10 the captive portal is not opened... and the connection is not established; seems to works on iOS.
@tablatronix commented on GitHub (May 27, 2021):
Try without firewall ?
@iw2lsi commented on GitHub (May 27, 2021):
Hi,
yes... firewall was not enabled...
Il giorno gio 27 mag 2021 alle ore 17:16 Shawn A @.***>
ha scritto:
@tablatronix commented on GitHub (May 27, 2021):
It has been awhile since I last used windows 10, have you disabled other network connections ?
@iw2lsi commented on GitHub (May 27, 2021):
Hi Shawn,
that's a good point... I have a wired network too... I'm checking it
right now...
Il giorno gio 27 mag 2021 alle ore 17:42 Shawn A @.***>
ha scritto:
@iw2lsi commented on GitHub (May 27, 2021):
Hi...
no... it does not work even with the wired card disabled... this is the
log... could it just be a timeout problem ?
Starting
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter:
*WM: [1] AutoConnect
*WM: [1] No Credentials are Saved, skipping connect
*WM: [2] Starting Config Portal
*WM: [2] AccessPoint set password is VALID
*WM: [1] password
*WM: [3] WIFI station disconnect
*WM: [3] WiFi station enable
*WM: [2] Disabling STA[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 3 -
STA_STOP
[2] Enabling AP
*WM: [1] StartAP with SSID: AutoConnectAP
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
*WM: [1] SoftAP Configuration
*WM: [1] --------------------
*WM: [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 14 - AP_START
*WM: [1] password: password
*WM: [1] ssid_len: 13
*WM: [1] channel: 1
*WM: [1] authmode:
*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.4.1
*WM: [3] setupConfigPortal
*WM: [1] Starting Web Portal
*WM: [3] dns server started with ip: 192.168.4.1
*WM: [2] HTTP server started
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 1 - SCAN_DONE
*WM: [2] WiFi Scan completed in 5304 ms
*WM: [2] Config Portal Running, blocking, waiting for clients...
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 16 - AP_STACONNECTED
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 18 - AP_STAIPASSIGNED
*WM: [2] Portal Timeout In 3 seconds
*WM: [1] config portal has timed out
*WM: [3] configportal abort
*WM: [2] disconnect configportal
*WM: [0] [ERROR] disconnect configportal - softAPdisconnect FAILED
*WM: [2] restoring usermode STA
*WM: [2] wifi status: WL_DISCONNECTED
*WM: [2] wifi mode: STA
*WM: [D][WiFiGeneric.cpp:374] _eventCallback(): Event: 15 - AP_STOP
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 15 - AP_STOP
Il giorno gio 27 mag 2021 alle ore 17:46 Giampaolo Bellini @.***>
ha scritto: