Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FCM service unavailable nack

I have a python3 program that connects to the FCM XMPP test server successfully. However, after sending a JSON, it returns me a SERVICE_UNAVAILABLE nack message every time. The very same piece of code worked perfectly last week.

The documentation advises to retry to send the message, several times, what I did. It also says that I might be blacklisted.

  • How can I know if I am blacklisted?
  • What behavior can get you blacklisted? Is it possible to get blacklisted from the FCM test server?
  • Is it a technical problem from FCM? It seems to be working.

The request that provokes the nack is:

<message id=""><gcm xmlns="google:mobile:data">{"message_id": "37ea7059-a832-413b-b008-378f8d8e1a46", "delivery_receipt_requested": true, "time_to_live": 600, "notification": {"body": "BAR", "color": "#666", "icon": "ic_launcher", "title": "FOO", "sound": "content://settings/system/notification_home"}, "data": {"url": "http://google.com"}, "to": "FOOBAR"}</gcm></message>
like image 274
azmeuk Avatar asked Oct 26 '25 10:10

azmeuk


1 Answers

firebaser here

Our Cloud Messaging staging environment regularly gets software releases that may not be fully ready for production use yet. It seems this is one of those cases.

We recommend that you do your own testing against the production environment. We'll update the documentation accordingly.

like image 73
Frank van Puffelen Avatar answered Oct 29 '25 06:10

Frank van Puffelen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!