What I'm trying to do is trigger the esp32 (over ble) to download a firmware binary file from github over wifi for OTA update.
I don't have any issue sending ble commands or connecting to wifi. My issue is I'm not able to successfully connect to github and download the binary file.
I'm trying to start from the advanced_https_ota_example project (I've also tried to modify from the simple version) provided by espressif and modify the url to github --> https://raw.githubusercontent.com/<user ... _world.bin
Here is the error I'm getting:
I've also updating menuconfig to check "allow potentially insecure options" under ESP-TLS but this doesn't help...I (5632) advanced_https_ota_example: Starting Advanced OTA example
E (5732) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
I (5732) esp-tls-mbedtls: Failed to verify peer certificate!
E (5742) esp-tls: Failed to open new connection
E (5742) TRANSPORT_BASE: Failed to open a new connection
E (5752) HTTP_CLIENT: Connection failed, sock < 0
E (5752) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (5762) esp_https_ota: Failed to establish HTTP connection
E (5772) advanced_https_ota_example: ESP HTTPS OTA Begin failed
Striking out left and right searching for an answer on this one. Seems it would be incredibly useful for many folks on deployed / public projects to have as a reference.
I'm sure I'm missing something stupid simple here but I'm not experience in CA's. Let me know if anyone has an ideas. Thanks!