question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase was unable to connect to FCM

See original GitHub issue

Getting the following error when running FCM on iOS, but works fine in android.

CONSOLE LOG file:///app/tns_modules/nativescript-plugin-firebase/firebase.js:347:14: Firebase FCM token received: fcCwcTew2Po:APA91bGjgIRM2Wqkw2uZH273AGvGT1-j2fZdjHz7aKGtzDqFB19W9VQYxwLzcPSnliF6zsGsixZ5xxGAkQvX4bwXoE9xM63wuKY_z9DZGbfNMs_UWer4kuCd36Re3X9SG8WU4-umr-3I Aug 15 17:21:09 Kamrans-MacBook-Pro Messaging[8276]: CONSOLE LOG file:///app/pages/home/home.js:20:20: Firebase push token: fcCwcTew2Po:APA91bGjgIRM2Wqkw2uZH273AGvGT1-j2fZdjHz7aKGtzDqFB19W9VQYxwLzcPSnliF6zsGsixZ5xxGAkQvX4bwXoE9xM63wuKY_z9DZGbfNMs_UWer4kuCd36Re3X9SG8WU4-umr-3I Aug 15 17:21:09 Kamrans-MacBook-Pro Messaging[8276]: CONSOLE LOG file:///app/tns_modules/nativescript-plugin-firebase/firebase.js:356:18: Firebase was unable to connect to FCM. Error: Error Domain=com.google.fcm Code=501 "(null)"

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:59 (32 by maintainers)

github_iconTop GitHub Comments

5reactions
pap5508commented, Mar 1, 2017

@dbenninger : thank you… but I have solved the issue and working fine

2reactions
lowe0292commented, Mar 1, 2017

@pap5508 don’t leave us hanging! What was the fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to connect to FCM - Stack Overflow
When I add new flag "-ObjC", It is generating linker error. I have use cocoa pods to install Firebase library. Is there any...
Read more >
Firebase Cloud Messaging (FCM) Troubleshooting Guide
Check FCM Server API Key​​ If it appears that your push notifications are no longer being received on Android devices, it is possible...
Read more >
Authorize send requests | Firebase Cloud Messaging - Google
The FCM HTTP v1 API authorizes requests with a short-lived OAuth 2.0 ... If ADC can't use either of the above credentials, the...
Read more >
Firebase Cloud Messaging (FCM) Does Not Reconncect ...
Dialing *#*#2432546#*#* which forces FCM to do a check in will cause the connection manager to retry a connection attempt with the next...
Read more >
Incidents - Firebase Status Dashboard
If you are experiencing an issue not listed here, please contact Support. ... There was a problem affecting the tester web app, causing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found