dear大神们:
你们好,我最近在做OTA升级,在升级过程中报如下错误:
now start to update os
http://www.我的域名.com/updateos/esp32/esp32s3_project.bin
ota init-------------------------------------
start ota update
...........
http event head key=Cache-Control, value=private
http event head key=Expires, value=Thu, 01 Jan 1970 00:00:00 GMT
http event head key=Location, value=https://www.我的域名.com/updateos/esp32/esp32s3_project.bin
http event head key=Content-Length, value=0
http event head key=Date, value=Wed, 23 Aug 2023 04:20:37 GMT
http event disconnect
[0;31mE (32014) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700[0m
[0;32mI (32015) esp-tls-mbedtls: Failed to verify peer certificate![0m
[0;31mE (32017) esp-tls: Failed to open new connection[0m
[0;31mE (32022) TRANSPORT_BASE: Failed to open a new connection[0m
[0;31mE (32030) HTTP_CLIENT: Connection failed, sock < 0[0m
http event error
[0;31mE (32035) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT[0m
[0;31mE (32043) esp_https_ota: Failed to establish HTTP connection[0m
http event disconnect
http event disconnect
ota update failed
我的固件地址“http://www.我的域名.com/updateos/esp32/esp32s3_project.bin”我在浏览器上是能够下载的,不知道为啥这里会报错,希望大神们指点迷津。谢谢了。
OTA升级失败
Re: OTA升级失败
这个是服务器 CA 证书校验失败,应该是不受信任的证书,你可以通过 idf.py menuconfig->Component Config->ESP-TLS->[Y]Allow potentially insecure options->[Y]Skip server...
Who is online
Users browsing this forum: No registered users and 170 guests