WiFiClientSecure Memory allocation failed

VircomSheep
Posts: 2
Joined: Thu Jul 25, 2019 12:27 pm

WiFiClientSecure Memory allocation failed

Postby VircomSheep » Mon Jul 13, 2020 2:42 pm

Hello,
when I try to connect to the MQTT broker with WiFiClient Secure and PubSubClient, sometimes I get this error:
[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-76) UNKNOWN ERROR CODE (004C)
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -76
Failed. Error state=-2[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-16) BIGNUM - Memory allocation failed
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -16
Failed. Error state=-2[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-16) BIGNUM - Memory allocation failed
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -16
Failed. Error state=-2[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -9984


The certificates are correct and I habe ~120k free RAM. Can anybody tell me if that is a memory problem or something else?
Thank you!

martinius96
Posts: 14
Joined: Thu Dec 13, 2018 1:39 am

Re: WiFiClientSecure Memory allocation failed

Postby martinius96 » Wed Jul 15, 2020 1:38 am

Without code, ESP Arduino Core version, used board... We are unable to help

Who is online

Users browsing this forum: No registered users and 14 guests