Page 2 of 2

Re: HTTP server can't handle many requests

Posted: Thu Oct 20, 2022 8:52 pm
by ezeybek
Have you checked whether you are sending the correct MIME type with httpd_resp_set_type() before actually sending the file?

Re: HTTP server can't handle many requests

Posted: Sat Nov 26, 2022 10:05 pm
by Samir Ram
Hello, I have a problem with my web server on ESP32 (8M).
I was trying to achieve a polling with XMLHttpRequest to check if Wi-Fi is disconnected then i show a dialog with error message and when the connexion to the Wi-Fi is established again the dialog disappear.
My problem is:
When I connect to the server from the navigator of my phone (tested on many phones) everything is fine ;) ... but, when I voluntarily disable the Wi-Fi and enable it again, the reconnection is established but page reloading does not work :roll: . I also can't GET data from the web server :oops: . (When restarting the ESP32, everything remains to work correctly).

This only happens on the browser of phones and not on PCs.

The error displayed on the console is: ERROR_TIMEOUT (even Wi-Fi is connected, and ping server is OK)

Someone had this problem before? what was the solution please? thanks !