Open anuroopshannu opened 5 years ago
Have exactly same problem. The host and port are as follows:
const char* host = "api.pushbullet.com"; const int httpsPort = 443;
It fails at:
if (!client.connect(host, httpsPort)) { Serial.println("connection failed"); return; }
and my console says:
03:46:06.820 -> WiFi connected 03:46:06.820 -> IP address: 03:46:06.820 -> 192.168.50.97 03:46:06.867 -> connecting to api.pushbullet.com 03:46:07.664 -> connection failed
Would be great if someone could give a hint :)
also have the same problem
I have the same problem. But I guess no one cares.
you have to varify by using thingspeak's fingerprint
I have the connection problem, too. Also tried to verify the actual fingerprint which I read out of the browsers certificate and via grc.com. Connection failed and certificate does not match :-(
Hope, anyone has an idea or can support me.
if(!pb.openConnection()) { Serial.println("Failed to connect to pushbullet.com"); //return; } // Use web browser to view and copy // SHA1 fingerprint of the certificate const char* fingerprint = "FA C0 BE 4E 64 B8 80 C7 B7 EC B6 D9 01 FF 61 0D AC 92 F5 A6"; //got it using https://www.grc.com/fingerprints.htm if (client.verify(fingerprint, "api.pushbullet.com")) { Serial.println("certificate matches"); } else { Serial.println("certificate doesn't match"); } if (!pb.checkConnection()) { Serial.println("Failed to connect to pushbullet.com"); return; }
Fails for me too. The current fingerprint should be: C1 72 5A 7A 6C AE BC CD 0A 57 8E 3A DA 39 C8 47 26 36 C9 77. But this didn't work for me...
Hi api.pushbullet.com:443 is refused https://api.pushbullet.com returns the expected answer:
cat | "(=^.^=)" |
---|---|
happy_to_see_you | true |
message | "Welcome to the Pushbullet API!" |
So I expect the connection setup should be different than: if (!client.connect(host,httpsPort)) { Serial.println("connection failed"); return; }
I have found the solution elsewhere in GitHub: Just add client.setInsecure(); in the line below WiFiClientSecure client;
Resulting in: WiFiClientSecure client; client.setInsecure();
@anuroopshannu please close..
This Is Not Working : Compilation error: 'class axTLS::WiFiClientSecure' has no member named 'setInsecure' 6-27-2023
This Is Not Working Not Connecting to Pushbullet : Compilation error: 'class axTLS::WiFiClientSecure' has no member named 'setInsecure' 6-27-2023
Found Prob. That was not Told The Arduino IDE 2.0.4 Dose Not Work, The 2.1.1 Works 7-7-2023
Worked with Arduino 1.8.18 after adding " client.setInsecure();"
Hey, I've been trying to get past this since a long time now. When I use this library it continuously fails at
I've amended the ssid, password and api key wherever necessary and my esp8266 is successfully connecting to the internet too. Here's my code:
and the following is printed on my serial console:
Please let me know a get around for this.