mbedtls_ssl_handshake returned -0x10

kubera
Posts: 23
Joined: Wed May 20, 2020 10:21 am

mbedtls_ssl_handshake returned -0x10

Postby kubera » Wed Aug 12, 2020 6:49 am

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?

kubera
Posts: 23
Joined: Wed May 20, 2020 10:21 am

Re: mbedtls_ssl_handshake returned -0x10

Postby kubera » Sun Aug 23, 2020 4:39 am

Iam still having the issue afetr multiple switching of wifi

Who is online

Users browsing this forum: andres-st and 8 guests