Page 1 of 1

OTA error with v3.3.2

Posted: Fri Jul 03, 2020 1:06 pm
by bojankoce
Hello guys,

I have a hard time to perform OTA update over Ethernet by calling

Code: Select all

esp_err_t ret = esp_https_ota(&config);
function. The error reported is the following:

Code: Select all

E (43018) TRANS_SSL: esp_tls_conn_read error, errno=No more processes
W (43018) HTTP_CLIENT: esp_transport_read returned:-26880 and errno:11
I dived inside esp_https_ota() function and realized that first stage of the process:

Code: Select all

esp_https_ota_begin(&ota_config, &https_ota_handle);
executes properly. The OTA gets struck in the next step:

Code: Select all

    while (1) {
        err = esp_https_ota_perform(https_ota_handle);
        if (err != ESP_ERR_HTTPS_OTA_IN_PROGRESS) {
            break;
        }
    }
Do you have any idea what might cause the issue? Could be the particular IDF version I am working with (3.3.2)? I don't remember we had the similar issue when we were working with 3.3.0.

Thaks in advance for your time and efforts.
Sincerely,
Bojan.

Re: OTA error with v3.3.2

Posted: Sat Jul 04, 2020 6:48 am
by bojankoce
I noticed other people had similar problem with 4.1-dev version and you provided them the patch for that (https://esp32.com/viewtopic.php?f=13&t=13772). Is there any patch form 3.3.2?