Closed kotyara12 closed 1 year ago
Hello @kotyara12 Thanks for reporting the issue. Can you please share an application that can help reproduce this issue? Also, share the sdkconfig file with which you can reproduce this issue.
It seems that the problem was that the stack of one of the tasks was overflowing and overwriting "foreign" memory. My apologies for disturbing
Answers checklist.
IDF version.
framework-espidf @ 3.50002.230601 (5.0.2)
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.
PlatformIO, package Espressif 32 (6.3.2)
Power Supply used.
External 5V
What is the expected behavior?
In the event of ANY https connection failure, there should be no device reboot due to panic
What is the actual behavior?
esp_http_client_connect sometimes panics and restarts the MCU for TLS connections. The situation repeats itself once every few days when trying to send data to a remote server using an HTTPS client.
After restarting, I receive a backtrace, according to which I calculated the location of the problem.
**To hell with the data, let them disappear, but the restart disrupts the normal operation of the mechanisms. Problems sending data to the server should not cause a restart!!!!!
Any ideas how to prevent panic?**
Steps to reproduce.
Sources on GitHub. The problem is in this particular line: https://github.com/kotyara12/reDataSend/blob/master/src/reDataSend.cpp#L319
Debug Logs.
More Information.
No response