Hi team,
We were previously working on the ESP-IDF_V5.0.1. When performed OTA on this SDK, it worked fine for us.
Due to RF improvement requirements, we decided to upgrade to ESP-IDF_V5.2.1 on the suggestions provided by the Espressif RF team.
The application layer remains the same between the old IDF SDK and the recent one.
After migrating to ESP-IDF_V5.2.1, we saw the PEER_CLOSE_NOTIFY(-0x7880) error. We resolved the same by decreasing the MSS value and enabling CONFIG_MBEDTLS_DYNAMIC_BUFFER.
When we perform an OTA and an OTA image download starts in ESP, we get a dynamic allocation error, and the ssl_encrypt_buf() length is a smaller error. The error logs are attached below.
Also, please find attached the sdkconfig file for the application.
Are we missing anything here? Please let us know.
Thank you.
Encrypted record buffer length error.
Encrypted record buffer length error.
- Attachments
-
- sdkconfig.txt
- (55.64 KiB) Downloaded 69 times
-
- error_logs.txt
- (16.62 KiB) Downloaded 77 times
Re: Encrypted record buffer length error.
A gentle reminder!
Thank you in advance for your guidance.
Thanks & Regards,
Dhruvit.
Thank you in advance for your guidance.
Thanks & Regards,
Dhruvit.
Who is online
Users browsing this forum: espidk and 103 guests