aiofcm
aiofcm copied to clipboard
Could not connect to server
I have used Basic Usage code to test FCM notifications for Android.
I have filed API key and device token and also changed sender_id. However, when I run the example, I got:
Could not connect to server:
Could not send notification A-B-C-D-E due to connection problem
There is no exception or message what failed after Could not connect to server
.
I have also tried to change port to FCMXMPPConnection.FCM_PORT = 5236
(which should be some testing port), but the outcome remains the same.
I am using Firebase Cloud Messaging API (V1)
Seems like Google stopped supporting XMPP protocol: https://firebase.google.com/docs/cloud-messaging/xmpp-server-ref
@Fatal1ty does this mean that this project is obsolete? We're using it to send push messages to app users and for some reason, everything still works for us
@hermitdemschoenenleben
According to the documentation it is going to stop working in July 2024. Migration guide can be found here. If someone wants to contribute and add support for the new protocol, it would be great.
ok, thanks for the reply!