Skip to content

SSL Error [004C] #92

Answered by mobizt
ResistorCat asked this question in Q&A
Jun 10, 2024 · 4 comments · 9 replies
Discussion options

You must be logged in to vote

the SSL Client doesn't have enough time to refresh de connection

The problem is your device is out of memory because of opening multiple SSL connection simultaneously as you prefer to use sync function but still opening the server connection in another FreeRTOS task.

When free Heap less than 100k in ESP32, the mbedTLS memory allocation will during TLS handshake and WiFiClientSecure will not be able to connect to the server.

If this happens in ESP8266 as free Heap is less than 7-8 k, your device will crash because of system task fails to feed the watch dog timer.

You will lose some memory used by stack in FreeRTOS tasks, then avoid using it as possible when memory is the constraint of yo…

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ResistorCat
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@ResistorCat
Comment options

@mobizt
Comment options

@ResistorCat
Comment options

@mobizt
Comment options

Answer selected by ResistorCat
@mobizt
Comment options

@mobizt
Comment options

@mobizt
Comment options

@ResistorCat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants