OTA examples on ESP IDF stopped working

samTPL
Posts: 11
Joined: Thu Jun 29, 2023 2:55 pm

OTA examples on ESP IDF stopped working

Postby samTPL » Tue Aug 22, 2023 12:28 pm

Hello, guys,

This topic has been already discussed but I have to reopen it as I found many similar issues but no suitable solution.

Both ESP IDF OTA examples and my own project based on the code of these examples worked perfectly until something went wrong... I re-installed ESP-IDF, but this didn't help.

I have esp32 and esp32s3 boards and on both, I get error messages of the kind:

E (10713) esp-tls: [sock=54] select() timeout
E (10713) TRANSPORT_BASE: Failed to open a new connection: 32774
E (10713) HTTP_CLIENT: Connection failed, sock < 0
E (10713) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (10723) esp_https_ota: Failed to establish HTTP connection
E (10733) advanced_https_ota_example: ESP HTTPS OTA Begin failed

When I enter the URL in Internet Explorer on my PC it works and I can download the file.

So what is missing in ESP IDF, does anybody know?

ESP_Sprite
Posts: 9729
Joined: Thu Nov 26, 2015 4:08 am

Re: OTA examples on ESP IDF stopped working

Postby ESP_Sprite » Wed Aug 23, 2023 2:06 am

Hard to say... can you run something like tcpdump or wireshark on the server (or a gateway inbetween) to see what packets are sent/received?

Who is online

Users browsing this forum: No registered users and 95 guests