-
Notifications
You must be signed in to change notification settings - Fork 161
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
SSL/TLS Handshake error on esp32-wrover-e kit with rainmaker matter controller example (MEGH-5732) #319
Comments
idf_py_stdout_output.pdf |
Hi @Shivi-6 this looks like a memory issue. |
I tried enabling the option in menuconfig but the build failed. With the help of "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/performance/ram-usage.html#optimizing-iram-usage" this document, I changed some configurations and the build succeeded. But now there's a different error while monitoring. Attaching the log : |
Can you share more details? Where exactly the crash is happening? You may want to enable |
No I do not have any changes of my own. I was just simply flashing the matter_controller example in rainmaker sdk to my esp32 board. The only change I have done is in the partition table because the 2 partitions (each of 2 MB) were not sufficient for the binary (2.1 MB) so I created a single one. Can you please guide me about the steps that I need to take to crrectly work with the controller example. |
Steps for configuration.pdf |
Hi @Shivi-6 please increase FreeRTOS Timer task stack size by 2K and let me know if the problem persists.
|
configTIMER_TASK_STACK_DEPTH was already configured to 8192. I still tried with 4K and in both the cases, the error is still there. @vikramdattu can you please confirm if the steps mentioned in #319 (comment) are correct. I just want to make sure if I am going in the right direction |
Update : @vikramdattu I changed the board and now using an ESP32 with 16 MB flash but the ssl/tls error is still there.. |
Hi @Shivi-6 the issue has nothing to do with the flash. Can you try very large |
Hi @vikramdattu , after changing the hardware, the stack overflow error is not there, but I am still getting errors related to MQTT saying "Failed to Initialise MQTT". How can I solve this issue? Or can I disable MQTT and connect locally? |
Answers checklist.
General issue report
I was trying to create a matter controller out of my esp32-wrover-e kit with 4mb flash. First of all. the partition was 2mb each which was insufficient for a binary of 2.1mb so I crreated a single partition of 3.5 mb instead of two ota partitions. After this, the build was successful and I was able to flash the binary to my board. I was also able to generate the QR code for commissioning.
While monitoring using the "idf.py monitor" and trying to connect the controller with rainamaker app, I am getting mbedtls handshake issue. Please find the logs attached and let me know what could be the solution.
idf_py_stdout_output.pdf
The text was updated successfully, but these errors were encountered: