Merge pull request #2177 from pjhatesgithub/patch-1
Fix for consistent server connection failures
This commit is contained in:
commit
306839e523
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue