Skip to content

Failed to process OTA #26

Description

@ludrao

The problem encountered

While investigating #24 I wanted to update to new latest revision.
OTA failed see logs bellow

Firmware version

V3.2.7

Steps for reproducing the error

trigger OTA either with button or command ota-start

What I've already tested

No response

Relevant log output

I (165349) GPIO: OTA available, starting update
I (165891) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 40
I (165893) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 2
I (165894) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 40
I (165895) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 12
I (165895) WIFI: Connecting to Constantinople
I (166463) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 40
I (166603) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 4
I (166604) WIFI: Connected
I (169603) WIFI: GOT EVENT: event_base: IP_EVENT, event_id: 0
I (169604) WIFI: IP:192.168.0.127
I (169704) WIFI: Connected to ap SSID:Constantinople
I (169705) OTA: Trying to get version from https://update.gammatroniques.fr/ticmeter/manifest.json
I (170663) OTA: HTTP Status = 200, content_length = 1150
I (170668) OTA: Current Version: V3.2.7
I (170668) OTA: Latest version: V3.2.8
I (170668) OTA: Target: esp32c6
I (170669) OTA: HW Version: 
I (170669) OTA: APP URL: https://update.gammatroniques.fr/ticmeter/V3.2.8/download/TICMeter.bin
I (170670) OTA: Storage URL: https://update.gammatroniques.fr/ticmeter/V3.2.8/download/storage.bin
I (170670) OTA: MD5: 
I (170671) OTA: Update available
I (170771) OTA: Starting OTA...
I (170771) OTA: Starting download from https://update.gammatroniques.fr/ticmeter/V3.2.8/download/storage.bin
I (170772) OTA: Starting spiffs update
E (170804) esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
E (170804) esp-tls: create_ssl_handle failed
E (170805) esp-tls: Failed to open new connection
E (170805) transport_base: Failed to open a new connection
E (170808) HTTP_CLIENT: Connection failed, sock < 0
E (170808) OTA: HTTP_EVENT_ERROR
E (170809) OTA: HTTP Request Failed
E (170809) OTA: Version size is not correct: 1150 != 65536
I (170810) OTA: Starting download from https://update.gammatroniques.fr/ticmeter/V3.2.8/download/TICMeter.bin
I (170810) OTA: OTA started
E (170843) esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
E (170844) esp-tls: create_ssl_handle failed
E (170844) esp-tls: Failed to open new connection
E (170844) transport_base: Failed to open a new connection
E (170846) HTTP_CLIENT: Connection failed, sock < 0
E (170847) esp_https_ota: Failed to open HTTP connection: UNKNOWN ERROR
E (170847) esp_https_ota: Failed to establish HTTP connection
E (170848) OTA: ESP HTTPS OTA Begin failed
E (170849) OTA: ESP_HTTPS_OTA upgrade failed
I (173852) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 5
I (173852) WIFI: Disconnected from SSID:Constantinople, reason:8, rssi-26
W (173853) WIFI: Retry to connect to the AP: 1/4
I (173854) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 3
I (173854) WIFI: GOT EVENT: event_base: WIFI_EVENT, event_id: 13
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions