You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
v5.3.2
Espressif SoC revision.
ESP32-S3
Operating System used.
macOS
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
AtomS3 Lite
Power Supply used.
USB
What is the expected behavior?
After calling the "esp_https_ota_begin" function, I expect the OTA update process to start using the PPP interface.
The PPP connection is opened correctly and the MQTT client is able to connect correctly to the broker.
If, on the other hand, I activate the WiFi connection then the OTA update is completed correctly.
I also tried defining the PPP interface as default but nothing changed:
case IP_EVENT_PPP_GOT_IP:
{
ESP_LOGI(TAG, "Modem Connect to PPP Server");
//Set NB as default interface
ip_event_got_ip_t *event = (ip_event_got_ip_t *)event_data;
esp_netif_t *netif = event->esp_netif;
esp_netif_set_default_netif(netif);
//Set DNS (0: Cloudflare, 1: Google)
ip_addr_t dnsserver;
IP_ADDR4(&dnsserver, 1, 1, 1, 1);
dns_setserver(0, &dnsserver);
IP_ADDR4(&dnsserver, 8, 8, 8, 8);
dns_setserver(1, &dnsserver);
[...]
break;
}
PS: I perform MQTT client disconnection before running the OTA.
What is the actual behavior?
Update fails due to an error in DNS resolution.
Steps to reproduce.
Open PPP connection
Start the OTA update
Debug Logs.
I (288315) OtaManager: OTA started
E (296095) esp-tls: couldn't get hostname for :<REMOVED>.s3.eu-west-1.amazonaws.com: getaddrinfo() returns 202, addrinfo=0x0
E (296095) esp-tls: Failed to open new connection
E (296095) transport_base: Failed to open a new connection
E (296105) HTTP_CLIENT: Connection failed, sock < 0
E (296115) esp_https_ota: ESP HTTP client perform failed: 28674
E (296115) OtaManager: ESP HTTPS OTA Begin failed
I (296125) OtaManager: OTA abort
More Information.
With WiFi interface is working
The text was updated successfully, but these errors were encountered:
Answers checklist.
IDF version.
v5.3.2
Espressif SoC revision.
ESP32-S3
Operating System used.
macOS
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
AtomS3 Lite
Power Supply used.
USB
What is the expected behavior?
After calling the "esp_https_ota_begin" function, I expect the OTA update process to start using the PPP interface.
The PPP connection is opened correctly and the MQTT client is able to connect correctly to the broker.
If, on the other hand, I activate the WiFi connection then the OTA update is completed correctly.
I also tried defining the PPP interface as default but nothing changed:
PS: I perform MQTT client disconnection before running the OTA.
What is the actual behavior?
Update fails due to an error in DNS resolution.
Steps to reproduce.
Debug Logs.
More Information.
With WiFi interface is working
The text was updated successfully, but these errors were encountered: