From a03220dd1f5cd48ea99f8b826c76628e08d5ce95 Mon Sep 17 00:00:00 2001 From: Michael Solinski Date: Wed, 17 Mar 2021 11:46:35 +0100 Subject: [PATCH] Added new setInsecure call for PAX.express OTA --- src/ota.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ota.cpp b/src/ota.cpp index 2d80c23d..ad11822c 100644 --- a/src/ota.cpp +++ b/src/ota.cpp @@ -151,7 +151,7 @@ int do_ota_update() { WiFiClientSecure client; client.setTimeout(RESPONSE_TIMEOUT_MS); - + client.setInsecure(); if (!client.connect(currentHost.c_str(), port)) { ESP_LOGI(TAG, "Cannot connect to %s", currentHost.c_str()); ota_display(3, " E", "connection lost");