Closed maxakash closed 1 year ago
This is the error I got after lot of trying
02:35:05.748 -> E (51329) wifi_prov_mgr: STA Disconnected
02:35:05.781 -> E (51329) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2880
02:35:05.781 -> E (51329) wifi_prov_mgr: Disconnect reason : 200
02:35:05.781 -> E (51329) esp-tls: Failed to open new connection
02:35:05.781 -> E (51336) TRANSPORT_BASE: Failed to open a new connection
02:35:05.781 -> E (51351) MQTT_CLIENT: Error transport connect
02:35:05.781 -> E (51352) esp_mqtt_glue: MQTT_EVENT_ERROR
02:35:05.781 -> E (51352) wifi:sta is connecting, return error
02:35:08.820 -> E (54403) wifi_prov_mgr: STA Disconnected
02:35:08.820 -> E (54403) wifi_prov_mgr: Disconnect reason : 15
02:35:08.856 -> E (54403) wifi_prov_mgr: STA Auth Error
02:35:20.801 -> E (66353) esp-tls: [sock=48] connect() error: Host is unreachable
02:35:20.801 -> E (66353) esp-tls: Failed to open new connection
02:35:20.801 -> E (66353) TRANSPORT_BASE: Failed to open a new connection
02:35:20.801 -> E (66357) MQTT_CLIENT: Error transport connect
02:35:20.801 -> E (66361) esp_mqtt_glue: MQTT_EVENT_ERROR
02:35:35.806 -> E (81365) esp-tls: [sock=48] connect() error: Host is unreachable
02:35:35.806 -> E (81366) esp-tls: Failed to open new connection
02:35:35.806 -> E (81366) TRANSPORT_BASE: Failed to open a new connection
02:35:35.806 -> E (81370) MQTT_CLIENT: Error transport connect
02:35:35.806 -> E (81374) esp_mqtt_glue: MQTT_EVENT_ERROR
It worked after 20-30 tries.
I am adding new device in ESP Rainmaker app(tried both in iOS & android), but the provisioning process always stuck at confirming wi-fi connection and show Device disconnected error. I can see in the serial monitor that the ESP32 is connected to the wifi. The error is caused as the ESP32 restarts after connecting.
Here is the debug output