You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when the webserver is loading large files or handeling multiple requests in rapid succession, the configurator does not load properly. The connection seems to hang.
Debug output from the ESP32:
handleFileRead: / [D][WiFiClient.cpp:509] connected(): Disconnected: RES: 0, ERR: 128 [E][WebServer.cpp:617] _handleRequest(): request handler not found
A possible solution is found on issue #2560 on the Espressif Arduino-ESP32 Github found here.
I have modified 1.0.4\tools\sdk\include\config\sdkconfig.h and changed the following lines:
This has drastically improved loading the configurator and has reduced the connection resets to being sporadic. This can then be resolved by refreshing the page.
The text was updated successfully, but these errors were encountered:
One other thing that seems to help is to include the JavaScript code that is in the files bigarrays.js and buttonfunctions.js between <script> ... place the code here ... </script> tags in the index.html and not as a link to the JavaScript files (e.g. <script src="bigarrays.js></script>)
#3 (comment) Didn't do enough so version 0.9.0 (80686a0) uses ESPAsynWebServer instead. To reduce the number of requests to the ESP32 both JavaScript files mentioned above are still not linked but directly in the .htm file.
It seems that when the webserver is loading large files or handeling multiple requests in rapid succession, the configurator does not load properly. The connection seems to hang.
Debug output from the ESP32:
handleFileRead: /
[D][WiFiClient.cpp:509] connected(): Disconnected: RES: 0, ERR: 128
[E][WebServer.cpp:617] _handleRequest(): request handler not found
A possible solution is found on issue #2560 on the Espressif Arduino-ESP32 Github found here.
I have modified
1.0.4\tools\sdk\include\config\sdkconfig.h
and changed the following lines:#define CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED 1
#define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 1
to:
#define CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED 0
#define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 0
This has drastically improved loading the configurator and has reduced the connection resets to being sporadic. This can then be resolved by refreshing the page.
The text was updated successfully, but these errors were encountered: