Search found 51 matches
- Fri Aug 20, 2021 10:56 am
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
Hello, guys! The issue is not related to HTTP/LwIP - it is about WiFi. Please look at this topic for details https://github.com/espressif/esp-idf/issues/7415 . But! The question is still open: why ESP uses WiFi channel so rare, even having goot radio signal and when other devices doe not have such i...
- Sat Aug 14, 2021 11:18 am
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
The thing is when we set the log level to debug, actually the whole system tries to print on the Console. Printing on consoles itself is a time and memory consuming task. My advice is to change the header, log the time taken while entering in the function and while leaving the function. Set the esp...
- Sat Aug 14, 2021 7:26 am
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
I think there is some mistake in the http header. Checkout this. In debug log D (2944441) httpd_txrx: httpd_resp_set_hdr: new header = Content-Disposition: inline; filename=capture.jpg You are responding to the jpg request as inline, but not mentioning the content type as image/jpeg. Either set cor...
- Fri Aug 13, 2021 12:41 pm
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
Tried to add
- nothing changed.
Created an issue https://github.com/espressif/esp-idf/issues/7415
Code: Select all
esp_wifi_set_ps(WIFI_PS_NONE);
Created an issue https://github.com/espressif/esp-idf/issues/7415
- Mon Aug 02, 2021 5:00 am
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
I'm reading your posts with great interest since I am experiencing the same problem. Sometimes, for no apparent reason, a response which usually takes about 1 sec (in human perception terms) will take up to 30 seconds. I am running ESP32 Pico Kit. Your test data is more thorough and detailed than w...
- Sun Aug 01, 2021 7:14 pm
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
Another update. After hours of testing with esp32_cam firmware, I've got really unstable results. I tried IDF 4.1 and 4.3 - no remarkable difference. Sometimes, it sends ~100 KB in 300 ms, sometimes in 11000 ms!!! I can't measure actual WiFi readio-channel load, but it looks very strange, because I ...
- Sun Aug 01, 2021 2:26 pm
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Re: Slow HTTP server response
UPDATE
It looks like this is some trouble in WiFi or LWIP..
Using Wireshark I see a loot of TCP retransmissions - see attachments.
I'll try to survey on lower layers.
I still hope that this post was read by somebody from Espresiff...
It looks like this is some trouble in WiFi or LWIP..
Using Wireshark I see a loot of TCP retransmissions - see attachments.
I'll try to survey on lower layers.
I still hope that this post was read by somebody from Espresiff...
- Thu Jul 29, 2021 5:43 pm
- Forum: ESP-IDF
- Topic: Slow HTTP server response
- Replies: 10
- Views: 14601
Slow HTTP server response
Hello guys! I am facing strange issue with ESP HTTP server.. I am testing several boards and different firmware and facing the same trouble. I think that esp32-cam would be very goo example to explain. So, I am facing very, very slow responses from HTTP server, when ESP is running in STA mode. Below...
- Thu Jul 29, 2021 10:30 am
- Forum: ESP-IDF
- Topic: HTTP response with payload via socket send() very slow
- Replies: 2
- Views: 4378
Re: HTTP response with payload via socket send() very slow
Hey!
Any progress here?
i am lso facing something similar.. Though, I use simultaneously: 1) http server based on IDF ESP HTTP server, and 2) custom outgoing requests using lwip socket.
Maybe mixing this isn't good?
Also, I don't see CPU overloads - my IDLE tasks take around 90% time.
Any progress here?
i am lso facing something similar.. Though, I use simultaneously: 1) http server based on IDF ESP HTTP server, and 2) custom outgoing requests using lwip socket.
Maybe mixing this isn't good?
Also, I don't see CPU overloads - my IDLE tasks take around 90% time.
- Wed Jul 28, 2021 8:21 am
- Forum: IDEs for ESP-IDF
- Topic: Need to run onboarding everytime with Docker and VS Code Extension
- Replies: 3
- Views: 7324
Re: Need to run onboarding everytime with Docker and VS Code Extension
OK, I can share the solution now. The problem source is in that the VS Code runs terminal as docker exec ... bash what doesn't run docker ENTRYPOINT script which contains sourcing of /opt/esp/idf/export.sh . I think there are many ways to make this, but I made by adding "terminal.integrated.shellArg...