v4.1-dev-104-gaa087667d
If MQTT fails to connect (in this case it is cert parse issue), then trying esp_mqtt_client_stop or esp_mqtt_client_destroy just hang!
This is how MQTT failed, for reference. Probably my mistake in the cert.
[Codebox]E (4543) esp-tls: mbedtls_x509_crt_parse returned -0x2780
E (4544) esp-tls: Failed to set client configurations
E (4545) esp-tls: create_ssl_handle failed
E (4550) esp-tls: Failed to open new connection
E (4555) TRANS_SSL: Failed to open a new connection
E (4563) MQTT_CLIENT: Error transport connect[/Codebox]
MQTT client hanging on stop/destroy after connect fail
- TheRealRevK
- Posts: 9
- Joined: Mon Aug 26, 2019 7:32 pm
Re: MQTT client hanging on stop/destroy after connect fail
I am facing same issue.
IDF version v4.2-dev-1660-g7d7521367
IDF version v4.2-dev-1660-g7d7521367