Skip to content

Sending Firebase Cloud Messaging messages to end-user device is not working #540

Closed Answered by jeromegamez
asdeol asked this question in Q&A
Discussion options

You must be logged in to vote

If it worked before and suddenly stopped working, it's most likely not a problem with the SDK or with the code in general, but something in the environment. As you've seen in the error, it says "unable to connect to the API", which is a networking issue. This can have several reasons:

  • The remote server is down: this is something that should usually be resolved after a short time.
  • The machine (more specifically: the IP address of your machine/network) from where you are trying to make the connection is blocked by the remote server: you can check this by trying a connection from another machine in another network, e.g. from another remote server that you have access to.
  • Your local network …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@asdeol
Comment options

Answer selected by jeromegamez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants