I am facing the same issue, could you get any solution so that it would be helpful for us.
Thanks in advance
Rahul B.
Search found 10 matches
- Tue Jul 02, 2024 2:42 pm
- Forum: ESP-IDF
- Topic: esp-tls: couldn't get hostname for :example.com: getaddrinfo() returns 202, addrinfo=0x0
- Replies: 2
- Views: 6097
- Fri May 03, 2024 5:33 am
- Forum: General Discussion
- Topic: Not able to perform OTA using ESP32 with AWS S3
- Replies: 10
- Views: 3067
Re: Not able to perform OTA using ESP32 with AWS S3
thank you so much for your reply. now after debuging code I have got this error message, I (6409) ota: Starting OTA W (6410) esp_https_ota: Continuing with insecure option because CONFIG_OTA_ALLOW_HTTP is set. E (6414) esp-tls: couldn't get hostname for :c6poednjo7.execute-api.ap-south-1.amazonaws....
- Tue Apr 30, 2024 8:40 am
- Forum: General Discussion
- Topic: Not able to perform OTA using ESP32 with AWS S3
- Replies: 10
- Views: 3067
Re: Not able to perform OTA using ESP32 with AWS S3
Did you ever try to modify your code like this? esp_http_client_config_t config = { .url = CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL, .cert_pem = "/path/to/s3_certificate.pem", // Path to the PEM certificate file .timeout_ms = CONFIG_EXAMPLE_OTA_RECV_TIMEOUT, .keep_alive_enable = true, }; // Ensure serve...
- Tue Apr 30, 2024 8:30 am
- Forum: General Discussion
- Topic: Not able to perform OTA using ESP32 with AWS S3
- Replies: 10
- Views: 3067
Re: Not able to perform OTA using ESP32 with AWS S3
" I dont see issue here. I believe you have misconfiguration, since Code: Select all couldn't get hostname for : As for previous "issue", you just have to configure AWS-S3 bucket properly, so the file can be downloaded. " no it is not misconfiguration in aws s3 bucket because I have tested that api ...
- Mon Apr 29, 2024 1:23 pm
- Forum: General Discussion
- Topic: Not able to perform OTA using ESP32 with AWS S3
- Replies: 10
- Views: 3067
Re: Not able to perform OTA using ESP32 with AWS S3
thank you so much for your reply. now after debuging code I have got this error message, I (6409) ota: Starting OTA W (6410) esp_https_ota: Continuing with insecure option because CONFIG_OTA_ALLOW_HTTP is set. E (6414) esp-tls: couldn't get hostname for :c6poednjo7.execute-api.ap-south-1.amazonaws.c...
- Fri Apr 26, 2024 12:31 pm
- Forum: General Discussion
- Topic: Not able to perform OTA using ESP32 with AWS S3
- Replies: 10
- Views: 3067
Re: Not able to perform OTA using ESP32 with AWS S3
First of all, thank you so much for your reply. I've configured the S3 bucket on AWS with public access. Inside this bucket, I've stored the "hello-world.bin" file for performing OTA updates. and heres the output after verbose on showing no file I (13645) advanced_https_ota_example: Starting Advance...
- Fri Apr 26, 2024 10:40 am
- Forum: General Discussion
- Topic: Not able to perform OTA using ESP32 with AWS S3
- Replies: 10
- Views: 3067
Not able to perform OTA using ESP32 with AWS S3
hi, I am trying to run the https://github.com/espressif/esp-idf/tree/master/examples/system/ota/advanced_https_ota sample code to test the OTA over HTTPS, instead of web server I am using S3 bucket. When i configure like below ESP_LOGI(TAG, "Starting Advanced OTA example"); esp_err_t ota_finish_err ...
- Fri Apr 05, 2024 8:22 am
- Forum: General Discussion
- Topic: Issue with ESP32 OTA Connection to AWS S3
- Replies: 4
- Views: 2755
Re: Issue with ESP32 OTA Connection to AWS S3
Thank you for your input. While I understand the concern about ensuring the WiFi connection is fully established before initiating OTA, I've verified that the WiFi connection is indeed stable and operational. Despite this, I'm still encountering the "ESP HTTPS OTA Begin failed" error. Are there any ...
- Mon Apr 01, 2024 11:40 am
- Forum: General Discussion
- Topic: Issue with ESP32 OTA Connection to AWS S3
- Replies: 4
- Views: 2755
Issue with ESP32 OTA Connection to AWS S3
Dear ESP Community, I hope you're all doing well. I'm currently working on an ESP32 project where I'm trying to perform OTA updates from an AWS S3 bucket. However, I've encountered an issue that I'm having trouble resolving. Problem Description: I'm getting the following error message when attemptin...
- Fri Mar 15, 2024 6:28 am
- Forum: General Discussion
- Topic: ESP HTTPS OTA Begin failed
- Replies: 1
- Views: 731
ESP HTTPS OTA Begin failed
Hello everyone, I hope you're doing well. I'm currently working on an ESP-IDF project where I'm attempting to perform OTA (Over-The-Air) firmware updates using HTTPS. Specifically, I'm using the advanced HTTPS OTA example code provided by ESP-IDF. My goal is to update the firmware on an ESP32 device...