-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTA时,使用电信4g的手机给esp32c3开热点,无法通过http来下载固件,会报超时错误 (IDFGH-13874) #14716
Comments
Thanks for reporting. |
Hello @iamugly , Thank you for reaching out with the details about the OTA timeout issue you're facing on the 4G network. We understand that OTA works on the 5G network but encounters timeouts on 4G, even after adjusting the timeout settings. This could potentially be related to network-specific factors such as latency, packet loss, or bandwidth limitations, but to investigate this further, we would need more information. To assist you better, could you please provide the following:
We will review this information and work on reproducing and diagnosing the issue. Additionally, if you have any logs or further details on the error, they could provide valuable insights. Looking forward to your response. |
Hello @nileshkale123 , After my attempts, I found that this is not a problem caused by the difference between 4g and 5g, but only the telecom 4g operator will have this problem. When I used a 4g phone from another carrier to turn on the esp hotspot, the ota function was also normal. I have the same problem with "simple_ota_example",Here is my sdkconfig file. I also used wireshark to capture the upgrade package, which may be helpful for you to analyze the problem |
Hello @iamugly , Could you try applying the following patch and let me know your observations? If the issue persists, please share the detailed debug logs. |
Hi @nileshkale123 |
Hello @iamugly , I successfully downloaded your hosted OTA image without any issues on my side with simple_ota_example. However, when I used your provided sdkconfig file, I encountered a different issue than you mentioned during the OTA process. Could you please create a minimal application in IDF by making the necessary modifications to the simple_ota_example to reproduce the issue? It would be greatly helpful if you could provide this reproducible setup along with all the required files. |
Hello @iamugly, Please provide us with the minimal application to reproduce the issue and debug it further as instructed in the above reply. |
Hello @iamugly, I am closing this issue for now. Please feel free to reopen if needed. Thank you. |
Answers checklist.
IDF version.
v5.0
Espressif SoC revision.
ESP32-C3 chip revision: v0.3
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-C3-DevKitc-02v1.1
Power Supply used.
External 5V
What is the expected behavior?
我使用OTA的例程,将esp连接到我手机的热点,当我用手机的电信5g时,ota的过程是正常的。但当我将手机的流量改为电信4g,重新运行ota,这时就无法下载固件,根据log看连接上http以后,下载数据会一直报超时。我尝试过修改esp_http_client_config_t结构体里的timeout_ms参数,但依然会报超时,改大以后只是等待超时的时间更久了。
What is the actual behavior?
无法下载下来固件
Steps to reproduce.
...
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: