HTTP server can't handle many requests

ezeybek
Posts: 1
Joined: Thu Oct 20, 2022 8:46 pm

Re: HTTP server can't handle many requests

Postby ezeybek » Thu Oct 20, 2022 8:52 pm

Have you checked whether you are sending the correct MIME type with httpd_resp_set_type() before actually sending the file?

Samir Ram
Posts: 1
Joined: Sat Nov 26, 2022 9:36 pm

Re: HTTP server can't handle many requests

Postby Samir Ram » Sat Nov 26, 2022 10:05 pm

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 !

Who is online

Users browsing this forum: No registered users and 185 guests