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!
WiFiClientSecure Memory allocation failed
-
- Posts: 2
- Joined: Thu Jul 25, 2019 12:27 pm
-
- Posts: 33
- Joined: Thu Dec 13, 2018 1:39 am
Re: WiFiClientSecure Memory allocation failed
Without code, ESP Arduino Core version, used board... We are unable to help
-
- Posts: 1
- Joined: Sat Sep 26, 2020 3:59 pm
Re: WiFiClientSecure Memory allocation failed
I have same problem, with library BLE and using certs SSL in SPIFFS, if I dont use BLE, then mqtt and ssl works fine
with BLE library and pubsubclient mqtt SSL:
[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-10368) X509 - Allocation of memory failed
[E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -10368
it is posible use BLE with MQTT SSL or NOT?
with BLE library and pubsubclient mqtt SSL:
[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():199]: (-10368) X509 - Allocation of memory failed
[E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -10368
it is posible use BLE with MQTT SSL or NOT?
Re: WiFiClientSecure Memory allocation failed
i have this problem too. Somebody got solve?
Who is online
Users browsing this forum: No registered users and 49 guests