-
Notifications
You must be signed in to change notification settings - Fork 13.3k
2.4.0-rc1 ESP8266WebServer and webServer.setContentLength(CONTENT_LENGTH_UNKNOWN) #3375
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
Comments
I also have the same problem... Anyone has any idea how to resolve it? |
What happens with Chrome under Windows?
…On Jun 28, 2017 7:11 AM, "flavianstef" ***@***.***> wrote:
I also have the same problem... Anyone has any idea how to resolve it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3375 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQC6BnCKZ1maQsS1LyeRNr5yolZQRYRfks5sIjT4gaJpZM4OEinJ>
.
|
I forwarded the ESP ip/port on my router and with 2.4.0.0 rc1 I can't access the ESP over the internet. I tried with 2.3.0.0 and the forward works good. If I call locally the ESP I receive the response (2.4.0.0 rc1). Over the internet, the call is received by ESP and the ESP send the response (code - server.send ( 200, "text/html", " .......... ") but the client (Safari/Chrome/IE) didn't receive it. The status of the request is CONTENT_LENGTH_UNKNOWN or timeout. This problem is available only in 2.4.0.0 rc1 |
@microentropie Try adding |
Your suggestion works 👍 !
|
bug_240rc1.zip
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:
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
Debug Messages
bug_240rc1.zip
The text was updated successfully, but these errors were encountered: