-
Notifications
You must be signed in to change notification settings - Fork 492
FirebaseCloudMessaging_Send_ESP8266 Error -1 :: connection refused #210
Comments
can you recompile with httpclient + ssl debugging on ( Thanks in advance. |
Hi proppy i am having the same problem, i don't know either how to make the steps you advice on tour response, could you please explain better. |
@proppy the problem is that i am using a NodeMcu board called Lolin (NodeMcu 1.0 ESP-12E Module) Maybe it doesn`t support this debug level i think.... error: 'D1' was not declared in this scope D1, // digital in D1, // analog out D0, // config mode button PS: I din`t change the FirebaseCloudMessaging_Send_ESP8266 code. Just trying to make it work... Apreciate your help! =) |
#250 |
I also received the "Error-1 :: connection refused". I got this fixed using:
Still the library crashes when sending more than 2 messages. |
Try this example #250 Google have alot of servers so https with a fingerprint is not a real solution. (Because fingerprints are not same for other servers in the world) |
Hello. Did anyone get the right solution? I changed the URL in FirebaseCloudMessaging.cpp and fingerprint for FirebaseHttpClient.h today. But it does not work.
SERVER_KEY = ProjectSettings -> Cloud Messaging -> Legacy server key thank you so much |
I didnt try, just an idea. If you configured a static ip adress for esp it can make problem with dns adress value. If you make connection you will have very low heap and probably you will not continue to your skecth. Esp with HttpS is not useful. |
#define SERVER_KEY "AIzaSyDBBlMT80************OVTiD6GGxzreq1" ------Legacy server key shows any idea how can i resolve this ?? and android app is working fine with direct firebase message sending |
Sorry for the lack of followup, doing a cleaning swipe over "old" issues labeled as If you still have the issue, feel free to comment or file a new issue. |
Hi I tested the FirebaseDemo_ESP8266 example and it works correctly. but in the FirebaseCloudMessaging_Send_ESP8266 does not work gives me this error "Error-1 :: connection refused" (and configure the keys and ids). What could be the error, or have to make any additional settings on the console Firebase? Thank you
The text was updated successfully, but these errors were encountered: