Merge pull request #2177 from pjhatesgithub/patch-1

Fix for consistent server connection failures
This commit is contained in:
Limor "Ladyada" Fried 2022-06-03 00:01:49 -04:00 committed by GitHub
commit 306839e523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,7 @@ void setup() {
intneo.show(); intneo.show();
Serial.println("\nStarting connection to server..."); Serial.println("\nStarting connection to server...");
client.setInsecure();
if (!client.connect(server, 443)) { if (!client.connect(server, 443)) {
Serial.println("Connection failed!"); Serial.println("Connection failed!");
deepSleep(); deepSleep();