I'm having some issues with TLS. I want to establish a client to request HTTPS uris.
However, after creating and signing and validating the keys I get an error as follows.
Wifi Connected
Connecting with TLS...
Loading the CA root certificate...
Loading the Client certificate...
Loading the Client Key...
Performing the SSL/TLS handshake...
Connecting with TLS...
ERROR: Unable to create socket
ERROR: Failed! mbedtls_ssl_handshake returned -0x1
Uncaught Error: CIPSTART failed (0,CLOSED)
at line 1 col 52
throw Error("CIPSTART failed ("+(a?a:"Timeout")+")");
^
in function called from system
at line 1 col 52
throw Error("CIPSTART failed ("+(a?a:"Timeout")+")");
^
in function called from system
I looked up the error -0x1 and I can't find anything specific for that error only codes with addtional alphanumeric chars appended.
Firmware is the bundled 1.87 that the Espruino Wifi came with. I'm inferring the Espruino Wifi does support TLS and HTTPs as the Pico does.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm having some issues with TLS. I want to establish a client to request HTTPS uris.
However, after creating and signing and validating the keys I get an error as follows.
I looked up the error
-0x1
and I can't find anything specific for that error only codes with addtional alphanumeric chars appended.Firmware is the bundled 1.87 that the Espruino Wifi came with. I'm inferring the Espruino Wifi does support TLS and HTTPs as the Pico does.