ESP32运行OTA例程报错
Posted: Wed Mar 17, 2021 6:34 am
I (4137) tcpip_adapter: sta ip: 10.0.2.88, mask: 255.255.255.0, gw: 10.0.2.254
I (4637) example_connect: Connected to Sandstar-OFFICE
I (4637) example_connect: IPv4 address: 10.0.2.88
I (4637) example_connect: IPv6 address: fe80:0000:0000:0000:eadb:84ff:fe19:8508
I (4647) wifi:Set ps type: 0
I (4647) simple_ota_example: Starting OTA example
http_parse_host return:1
E (4657) HTTP_CLIENT: Error parse url https://ssl_test.sandstar.com:2369/upgrate/hello-world.bin
E (4667) HTTP_CLIENT: parser_status= 4
E (4667) HTTP_CLIENT: Error while setting default configurations
E (4677) esp_https_ota: Failed to initialise HTTP connection
E (4677) simple_ota_example: Firmware upgrade failed
但是我的链接使用浏览器是可以打开的,附件里面是我打开链接的截图 。
I (4637) example_connect: Connected to Sandstar-OFFICE
I (4637) example_connect: IPv4 address: 10.0.2.88
I (4637) example_connect: IPv6 address: fe80:0000:0000:0000:eadb:84ff:fe19:8508
I (4647) wifi:Set ps type: 0
I (4647) simple_ota_example: Starting OTA example
http_parse_host return:1
E (4657) HTTP_CLIENT: Error parse url https://ssl_test.sandstar.com:2369/upgrate/hello-world.bin
E (4667) HTTP_CLIENT: parser_status= 4
E (4667) HTTP_CLIENT: Error while setting default configurations
E (4677) esp_https_ota: Failed to initialise HTTP connection
E (4677) simple_ota_example: Firmware upgrade failed
但是我的链接使用浏览器是可以打开的,附件里面是我打开链接的截图 。