Regular MQTT Disconnects - TLS Error
Posted: Thu Feb 15, 2024 4:48 pm
Hi All,
I am a private distro customer, recently (in the last 24 hours) dev devices have started to report the following after provisioning.
E (37283) esp-tls-mbedtls: read error :-0x004C:
E (37283) transport_base: esp_tls_conn_read error, errno=Socket is not connected
E (37285) mqtt_client: esp_mqtt_handle_transport_read_error: transport_read() error: errno=128
E (37295) esp_mqtt_glue: MQTT_EVENT_ERROR
E (37299) mqtt_client: mqtt_process_receive: mqtt_message_receive() returned -1
From the number of error reports on GH, this seems like a common problem when connecting to AWS over MQTT. I have no changes on my SDKconfig, and I have not changed anything in the code.
Any pointers would be very helpful.
I am a private distro customer, recently (in the last 24 hours) dev devices have started to report the following after provisioning.
E (37283) esp-tls-mbedtls: read error :-0x004C:
E (37283) transport_base: esp_tls_conn_read error, errno=Socket is not connected
E (37285) mqtt_client: esp_mqtt_handle_transport_read_error: transport_read() error: errno=128
E (37295) esp_mqtt_glue: MQTT_EVENT_ERROR
E (37299) mqtt_client: mqtt_process_receive: mqtt_message_receive() returned -1
From the number of error reports on GH, this seems like a common problem when connecting to AWS over MQTT. I have no changes on my SDKconfig, and I have not changed anything in the code.
Any pointers would be very helpful.