Skip to content

Mbedtls using external memory failing #4770

Closed
@shaun-mzj

Description

@shaun-mzj

Hardware:

Board: esp32
Core Installation version: 1.0.5-rc6
IDE name: Arduino IDE
Flash Frequency: 40Mhz
PSRAM enabled: yes
Upload Speed: 921600
Computer OS: Mac OSX

Description:

I've built the latest release candidate of the code manually and have enabled the following flag: CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC which causes the following error when accessing a web server:

[E][ssl_client.cpp:36] _handle_error(): [start_ssl_client():210]: (-30592) SSL - A fatal alert message was received from our peer
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -30592

However if I switch mbedtls to use internal memory it can connect fine. Is there something else which needs to be done for the mbedtls library to use external memory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions