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 !