Page 1 of 1

mbedtls_ssl_handshake returned -0x10

Posted: Wed Aug 12, 2020 6:49 am
by kubera
Hi, I was using esp Azure SDK. I was turning wifi on and off a couple of times in my project based on some condition set. if condition match wifi will be turned on and data will be sent to cloud. if not wifi will be turned off. I'm getting this error after a few tries.

esp-tls: mbedtls_ssl_handshake returned -0x10[0m
Error: Time:Wed Aug 11 10:33:25 2020 File:C:/Users/Desktop/esp-idf/esp-azure/azure-iot-sdk-c/iothub_client/src/iothubtransport_mqtt_common.c Func:InitializeConnection Line:2424 mqtt_client timed out waiting for CONNACK

Error: Time:Wed Aug 11 10:43:25 2020 File:C:/Users/Desktop/esp-idf/esp-azure/port/src/tlsio_esp_tls.c Func:tlsio_esp_tls_destroy Line:153 tlsio_esp_tls_destroy called while not in TLSIO_STATE_CLOSED.

[0;31mE (369632) esp-tls: mbedtls_ssl_handshake returned -0x10[0m

can anybody help me sort out this?

Re: mbedtls_ssl_handshake returned -0x10

Posted: Sun Aug 23, 2020 4:39 am
by kubera
Iam still having the issue afetr multiple switching of wifi