Skip to content

TLS certificate verification error #5

@OhmV-IR

Description

@OhmV-IR
s-mbedtls: mbedtls_ssl_handshake returned -0x2700
E (59347) esp-tls: Failed to open new connection
E (59348) TRANSPORT_BASE: Failed to open a new connection
E (59355) MQTT_CLIENT: Error transport connect
2023/5/29 14:00:36 [ERROR] MQTT client in ERROR state.
2023/5/29 14:00:36 [ERROR] esp_tls_stack_err=9984; esp_tls_cert_verify_flags=8;esp_transport_sock_errno=0;error_type=1;connect_return_code=0
2023/5/29 14:00:36 [ERROR] connect_return_code=MQTT_CONNECTION_ACCEPTED
2023/5/29 14:00:36 [INFO] MQTT client disconnected.
2023/5/29 14:00:37 [INFO] MQTT client target uri set to 'mqtts://global.azure-devices-provisioning.net'
2023/5/29 14:00:37 [INFO] MQTT client connecting.

Above are the logs that are shown and this repeats over and over again and sometimes it will randomly connect but my goal is to get a stable connection. I think that this error has something to do with the Digicert root migration that was forced on May 15, 2023(it is may 29th today) and I am wondering if this sample still works or if I need to change something for it to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions