espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.69k stars 7.42k forks source link

Wi-Fi interface or spiffs or web servers have a big problem. They are not stable #2560

Closed arnold-b closed 5 years ago

arnold-b commented 5 years ago

iee1 Status: 49 requests. 316.62 KB transfered, 18,46 seconds But only 14 requests are served

IEE-Export.zip

Hello,

I´m using spiffs for serving the files over html. if i try to open one html page i get a few files libraries but not all. on the files which i dont get ican see in the browser: net::ERR_CONNECTION_RESET In my serial log on ESP 32 i dont see even the request for this file. Normaly i see every html request.

Before i used this program on esp8266 and there are no problem.

If i try to load the file over url request one by one. i get all. I also get my missing log entry. the seems the handling is ok WebserverClass HandleServerCall /css/bootstrap.css Stream File /css/bootstrap.css text/css

I think there must be some limitation which i don´t know now.

I replaced the lib Spiffs, Webserver, FS, , Wifi from 1.00 up to 1.0.2.rc throug all versions and tested it. always the same problem. I also increased the files in spiffs.begin (..,..,30);

On me it always happend if its more then 10 files. sometimes 11 sometimes 14. randomly

ESP32 Dev Module Core Installation version: ?1.0.1? tried from 1.00 up to 1.02 rc1 IDE name: ?Arduino I Flash Frequency: ?40Mhz? PSRAM enabled: ?no? Upload Speed: ?115200? Computer OS: ?Windows 10?

thanks for help image For what esp is waiting on this small request

arnold-b commented 5 years ago

Hello,

after i had the Problem with my solution and i didnt find any problem. I just installed ESP3D and had the same Problems. If i try to run esp3d with the index.html.gz everything runs, but the first loading is very slow. around 92K. (1 minute), I tried with diffrent ESP32 and with diffrend browser.

If i expand the gz file, download to spiffs and try to run just index.html there are a lot js and css to download. It´s randomly wich file esp is serving and which one will be ignored. it looks like esp is to busy with accessing the small files, that he even ignore the html requests totaly. Because in the serial log you can not see any request of this files. Chrome Error: net::ERR_CONNECTION_RESET on this file.

Every file can be loaded if you try it one by one. Then ESP have enough time.

if you try to load 1-5 small files everything looks good. but don´t load one big file or even 20 files.

just try it yourself. downloadhttps://github.com/luc-github/ESP3D/tree/2.0. and then https://github.com/luc-github/ESP3D-WEBUI/tree/2.0.

if you install it on his small slow brother esp8266, then everything works fast. may its still to early to use esp32.

arnold-b commented 5 years ago

Now i did this and ignored many files if (SPIFFS.exists(uri()) && (uri().indexOf("css/") == -1) && (uri().indexOf("js/") == -1)) {

                Files.streamFile(&Webserver);

} else send back 404 to client

then i still can not see the requests, which i am missing.

the whole download is no only 16kb. it looks for me more and more that wifi or webserver can not handle 49 requests

i don´t know what else i could check.

lbernstone commented 5 years ago

https://github.com/espressif/arduino-esp32/blob/master/libraries/SD/src/sd_diskio.cpp#L728 https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/fatfs.html#_CPPv320esp_vfs_fat_registerPKcPKc6size_tPP5FATFS

arnold-b commented 5 years ago

Hello,

how should this link help ?. I dont even get the html request. and Spiffs. https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/spiffs.html Does it mean i should use fat ?

thanks

arnold-b commented 5 years ago

Now at least i get message from WiFiClient.cpp. not from all files missing files case show the same problem as me: https://github.com/espressif/arduino-esp32/issues/1921 already 19 days. then at least i know. it make no sens to wait for help. Result: Trying to use ESp32 is useless. Its still a toy

https://github.com/espressif/arduino-esp32/issues/2345 dont work on me Stream File /sy.html text/html [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /css/menu.css search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: text/css,/;q=0.1 [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /css/menu.css [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /css/menu.css text/css [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /css/style.css search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: text/css,/;q=0.1 [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /css/style.css [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /css/style.css text/css [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/app.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/app.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/app.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/camera.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/camera.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/camera.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/logindlg.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/logindlg.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/logindlg.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/connectdlg.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/connectdlg.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/connectdlg.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/updatedlg.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/updatedlg.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/updatedlg.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/commands.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/commands.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/commands.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/temperatures.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/temperatures.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/temperatures.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [V][WebServer.cpp:284] handleClient(): New client [V][Parsing.cpp:113] _parseRequest(): method: GET url: /js/smoothie.js search: [V][Parsing.cpp:219] _parseRequest(): headerName: Host [V][Parsing.cpp:220] _parseRequest(): headerValue: 192.168.1.109 [V][Parsing.cpp:219] _parseRequest(): headerName: Connection [V][Parsing.cpp:220] _parseRequest(): headerValue: keep-alive [V][Parsing.cpp:219] _parseRequest(): headerName: User-Agent [V][Parsing.cpp:220] _parseRequest(): headerValue: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 [V][Parsing.cpp:219] _parseRequest(): headerName: Accept [V][Parsing.cpp:220] _parseRequest(): headerValue: / [V][Parsing.cpp:219] _parseRequest(): headerName: Referer [V][Parsing.cpp:220] _parseRequest(): headerValue: http://192.168.1.109/sy.html? [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Encoding [V][Parsing.cpp:220] _parseRequest(): headerValue: gzip, deflate [V][Parsing.cpp:219] _parseRequest(): headerName: Accept-Language [V][Parsing.cpp:220] _parseRequest(): headerValue: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 [V][Parsing.cpp:247] _parseArguments(): args: [V][Parsing.cpp:230] _parseRequest(): Request: /js/smoothie.js [V][Parsing.cpp:231] _parseRequest(): Arguments: [E][WebServer.cpp:602] _handleRequest(): request handler not found -1 Stream File /js/smoothie.js application/javascript [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128 [D][WiFiClient.cpp:481] connected(): Disconnected: RES: 0, ERR: 128

schreibfaul1 commented 5 years ago

Hello, i have the same problem. Disable AMPDU in sdkconfig.h as in #2382 described.

define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 0

define CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED 0

That works for me.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This stale issue has been automatically closed. Thank you for your contributions.

nikbakhtenb4 commented 1 year ago

I have two systems. both successfully build esp. when I built esp with one of them every thing works fine, but when I try to build with other system I have problem to routing and loading webserver of esp after upload. first try to update the platforms in platformIO of 'vs Code', for example I updated Espressif 32 , or you can just uninstall and install again. I try to add lots of extention of my 'vs code', I don't know which one exactly help, but I believe they effect, here is the name of some vsCode extensions: 'C/C++','C/C++ Extension Pack', 'C/C++ Theme','ESP8266FS', 'Espressif IDF', 'ESP-Engine',... then restart your vscode. 'clean full' project from platformIO and build again. I hope this help you