-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Description
Basic Infos
Web server has some problems: the returned html pages have something wrong.
Get "Connection timeout" when trying to open esp web pages under Android.
Hardware
Hardware: ESP-07
Core Version: 2.4.0-rc1
Description
The example makes use of ESP8266HTTPUpdateServer and
webServer.setContentLength(CONTENT_LENGTH_UNKNOWN) ended by webServer.client().stop();
Compiling with Arduino 2.3.0 everything is ok.
Compiling with Arduino 2.4.0-rc1:
- Under Windows environment:
- all the pages are ok
- the /update page shows in browser a \n at end
- Under Android environment:
- the pages are not completed: browser (Chrome and Mozilla) returns "Connection timeout"
Problem description
Change the .ino file by changing your wifi username/password and IP address, Flash the firmware with Arduino 2.4.0-rc1.
Connect to the ESP8266 web page (192.168.0.170/ and 192.168.0.170/info in my .ino) from Android or IOS smartphone:
you get a partial page or nothing and later a "Connection Timeout". Provided 3 different pages.
If you do the same actions from Windows, all the pages are displayed correctly without problems.
If you flash the same identical .ino with 2.3.0 version, the ESP web server works fine.
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 1MB (NO SPIFFS)
CPU Frequency: 80Mhz
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: nodemcu
Sketch
.ino included