You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
Hello.
I'm using ESP32S3 and ESP-IDF (master branch) with VSCode.
I encountered the fact that after some time (15-30 minutes) after connecting to the MQTT broker with the SSL certificate, the connection is broken and the client can no longer connect. Even after restarting the MQTT client.
After rebooting the device, the client reconnects as if nothing happened.
E (1577065) transport_base: esp_tls_conn_write error, errno=No more processes
E (1577065) mqtt_client: Writing failed: errno=11
I (1577065) MQTT: MQTT_EVENT_ERROR
I (1577065) MQTT: Last errno string 0 (Success)
E (1577065) mqtt_client: Error to resend data
I (1577075) MQTT: MQTT_EVENT_DISCONNECTED
W (1577075) MQTT: MQTT connection retry: 1
W (1577085) mqtt_client: Publish: Losing qos0 data when client not connected
I (1587085) MQTT: Other event id:7
E (1587595) esp-aes: Failed to allocate memory
E (1587595) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x4301
I (1587595) esp-tls-mbedtls: Certificate verified.
E (1587595) esp-tls: Failed to open new connection
E (1587605) transport_base: Failed to open a new connection
E (1587605) mqtt_client: Error transport connect
I (1587615) MQTT: MQTT_EVENT_ERROR
E (1587615) MQTT: Last error reported from esp-tls: 0x801a
E (1587625) MQTT: Last error reported from tls stack: 0x4301
I (1587625) MQTT: Last errno string 0 (Success)
I (1587625) MQTT: MQTT_EVENT_DISCONNECTED
W (1587635) MQTT: MQTT connection retry: 2
I (1602635) MQTT: Other event id:7
On the MQTT broker side, during an attempt to reconnect the MQTT client, an error is returned:
OpenSSL Error[0]: error:0A000126:SSL routines::unexpected eof while reading
I have attached logs with and without debug information.
Answers checklist.
General issue report
Hello.
I'm using ESP32S3 and ESP-IDF (master branch) with VSCode.
I encountered the fact that after some time (15-30 minutes) after connecting to the MQTT broker with the SSL certificate, the connection is broken and the client can no longer connect. Even after restarting the MQTT client.
After rebooting the device, the client reconnects as if nothing happened.
On the MQTT broker side, during an attempt to reconnect the MQTT client, an error is returned:
I have attached logs with and without debug information.
log wo dbg info.txt
mbed tls debug log.txt
The text was updated successfully, but these errors were encountered: