Page 1 of 1

OpenSSL fail on connect

Posted: Wed Jan 16, 2019 10:08 pm
by emcglohon
Hello,

I am using a variation of the example code in the idf, esp-idf\examples\protocols\openssl_client and trying to connect to AWS.
The SSL_connect at like #119 returning 0, and SSL_get_error = 5 (SSL_ERROR_SYSCALL -- as I understand a generic error code). Errno is usually 0.

I've increased CONFIG_OPENSSL_DEBUG_LEVEL to 5, and attached is the output, but it's not clear what the problem is.

Thanks for your help.