-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get only Request redirected to captive portal #883
Comments
sorry i am not familiar with github |
AutoConnectWithTimeout.ino gives in serial: in the browser a blanc page a refresh gives only more *WM: Request redirected to captive portal |
might be a bug that was fixed in development branch already, not sure |
ok, I tryd development 0.14 there was the same result |
It's better to use Wireshark to sniff requests.. I got same infinitive |
.14 is not development branch |
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. |
Which is the development branch? |
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 = "<style>body {font-size:140%;} #main {display: table; margin: auto; padding: 0 10px 0 10px; } h2,{text-align:center; } .button { padding:10px 10px 10px 10px; width:100%; background-color: #4CAF50; font-size: 120%;}</style><title>LED Control</title>
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()
The text was updated successfully, but these errors were encountered: