Added new setInsecure call for PAX.express OTA
This commit is contained in:
1 parent
a6c631db24
commit
a03220dd1f
1 file changed
+1
-1
+1
-1
@@ -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");
|
||||||
|
|||||||
Reference in new issue
Block a user