Added new setInsecure call for PAX.express OTA
This commit is contained in:
parent
a6c631db24
commit
a03220dd1f
@ -151,7 +151,7 @@ int do_ota_update() {
|
|||||||
WiFiClientSecure client;
|
WiFiClientSecure client;
|
||||||
|
|
||||||
client.setTimeout(RESPONSE_TIMEOUT_MS);
|
client.setTimeout(RESPONSE_TIMEOUT_MS);
|
||||||
|
client.setInsecure();
|
||||||
if (!client.connect(currentHost.c_str(), port)) {
|
if (!client.connect(currentHost.c_str(), port)) {
|
||||||
ESP_LOGI(TAG, "Cannot connect to %s", currentHost.c_str());
|
ESP_LOGI(TAG, "Cannot connect to %s", currentHost.c_str());
|
||||||
ota_display(3, " E", "connection lost");
|
ota_display(3, " E", "connection lost");
|
||||||
|
Loading…
Reference in New Issue
Block a user