HTTP server can't handle many requests
Re: HTTP server can't handle many requests
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
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 . I also can't GET data from the web server . (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 !
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 . I also can't GET data from the web server . (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 !
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], nopnop2002 and 158 guests