Closed eos1d3 closed 10 months ago
@eos1d3 The issues are seen because some incompatible changes happened in esp-rainmaker and esp-idf, especially related to the commit examples: Disable mbedTLS server config to reduce firmware size
You can either remove CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y
from your sdkconfig or revert to older config using:
idf.py menuconfig -> Component config -> mbedTLS -> TLS Protocol Role -> Server & Client
This will be fixed cleanly in esp idf v5.0.1 and a future commit in esp-rainmaker.
I am running esp idf v5.0.2 and I have the same problem. I am attempting to switch from mbedTLS to wolfSSL. I did clone the esp-wolfSSL library into my components dir in the project and then switched to wolfSSL in sdkconfig > Component config > ESP-TLS. I don't think I am using Rainmaker though.
edit: Setting CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y
doesn't fix it for me.
@mik13ST could you solve the problem?
Did it the same way you did, but removed CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y
and used CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
instead, like @shahpiyushv wrote.
But i still get the same error -.-
@MrRedKite No, I didn't. In my case migrating to wolfSSL was just an experiment so I didn't have the motivation to get it working.
@MrRedKite , can you file a new issue for your observations? Closing this issue for the time being since esp-rainmaker now works well with release/v5.0 and release/v5.1 branches too.
@shahpiyushv, I switched back to mbedtls, so I dont need a new issue.
ESP IDF 5.0, with Rainmaker example:
led_light
Targets: ESP32 or ESP32C3