mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #883] get only Request redirected to captive portal #746
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#746
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 @GvLente on GitHub (May 10, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/883
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
Problem description
I get only Request redirected to captive portal serveral times after connection and more when i refresh the blanc html page
File Not Found
URI: /
Method: GET
Arguments : 0
Settings in IDE
Module: NodeMcu, Wemos D1 R2
17:09:17.123 -> *WM:
17:09:17.157 -> *WM: AutoConnect
17:09:17.157 -> *WM: Connecting as wifi client...
17:09:17.157 -> *WM: Using last saved values, should be faster
17:09:17.157 -> *WM: Connection result:
17:09:17.157 -> *WM: 0
17:09:17.157 -> *WM:
17:09:17.157 -> *WM: Configuring access point...
17:09:17.157 -> *WM: ESP8266
17:09:17.157 -> *WM: password
17:09:17.638 -> *WM: AP IP address:
17:09:17.638 -> *WM: 192.168.4.1
17:09:17.638 -> *WM: HTTP server started
17:09:23.432 -> *WM: Request redirected to captive portal
17:09:23.500 -> *WM: Request redirected to captive portal
17:09:29.368 -> *WM: Request redirected to captive portal
17:09:30.461 -> *WM: Request redirected to captive portal
etc.
etc. each time when i refresh
using Sketch: ESP8266_LED_Control_06_Station_Mode_with_mDNS_and_wifiManager
I dont get the wifimanager main page only get in android and apple a emty page with
File Not Found
URI: /
Method: GET
Arguments : 0
using Sketch: ESP8266_LED_Control_06_Station_Mode_with_mDNS_and_wifiManager
/*
*/
#include <ESP8266WiFi.h>
//#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
// change these values to match your network
//char ssid[] = "MyNetwork_SSID"; // your network SSID (name)
//char pass[] = "Newtwork_Password"; // your network password
WiFiServer server(80);
String header = "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n";
String html_1 = "<html><head></head>
LED Control
";String html_2 = "";
String html_4 = "
String request = "";
int LED_Pin = D1;
void setup()
{
pinMode(LED_Pin, OUTPUT);
} // void setup()
void loop()
{
} // void loop()
@GvLente commented on GitHub (May 10, 2019):
sorry i am not familiar with github
@GvLente commented on GitHub (May 10, 2019):
AutoConnectWithTimeout.ino
gives in serial:
20:08:22.105 -> *WM: AutoConnect
20:08:22.105 -> *WM: Connecting as wifi client...
20:08:22.105 -> *WM: Using last saved values, should be faster
20:08:22.105 -> *WM: Connection result:
20:08:22.105 -> *WM: 0
20:08:22.105 -> *WM:
20:08:22.105 -> *WM: Configuring access point...
20:08:22.105 -> *WM: AutoConnectAP
20:08:22.615 -> *WM: AP IP address:
20:08:22.615 -> *WM: 192.168.4.1
20:08:22.615 -> *WM: HTTP server started
20:08:34.265 -> *WM: Request redirected to captive portal
20:08:46.222 -> *WM: Request redirected to captive portal
20:08:47.343 -> *WM: Request redirected to captive portal
20:08:47.411 -> *WM: Request redirected to captive portal
in the browser a blanc page
a refresh gives only more *WM: Request redirected to captive portal
@tablatronix commented on GitHub (May 10, 2019):
might be a bug that was fixed in development branch already, not sure
@GvLente commented on GitHub (May 11, 2019):
ok, I tryd development 0.14 there was the same result
@dontsovcmc commented on GitHub (May 19, 2019):
It's better to use Wireshark to sniff requests..
I got same infinitive
*WM: Request redirected to captive portalwhen connected to ESP by MacOS with running virtual Windows7. When I turn off Windows7 (Parallels), ESP web server works great. It means there are some unknown requests, that DDOS ESP server.@tablatronix commented on GitHub (May 19, 2019):
.14 is not development branch
@tablatronix commented on GitHub (May 19, 2019):
It is more likely that the host is ignoring the dns responses, but yeah you need to wireshark this to figure it out for sure.
@GvLente commented on GitHub (May 20, 2019):
Which is the development branch?
I will whireshark and see whats going wrong thanks voor the lead and the good work