Community

Community Forums

Where our customers, developers, and more can come together to help each other with both general and technical questions about our products and services.

In Cloud messaging, my console says my device is opted out, but the device itself says that push notifications are allowed.

Chava Florendo

I think something is going wrong with the registration process... I never received a prompt asking if I want to opt in.  

 

The device log says registration failed, and invalid sender.  Here are some details:

com.urbanairship.push.PushProvider$RegistrationException: GCM registration failed.
at com.urbanairship.push.gcm.GcmPushProvider.getRegistrationToken(GcmPushProvider.java:55)
at com.urbanairship.push.PushManagerJobHandler.onUpdatePushRegistration(PushManagerJobHandler.java:178)
at com.urbanairship.push.PushManagerJobHandler.performJob(PushManagerJobHandler.java:118)
at com.urbanairship.push.PushManager.onPerformJob(PushManager.java:402)
at com.urbanairship.job.Job$1.run(Job.java:91)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.io.IOException: INVALID_SENDER

 

I've switched back and forth between GCM and FCM and tried multitudes of API key and sender ID combos. No luck.

 

Suggestions?

Official comment

Avatar

Hello Chava, 

This is Mikey with Airship Technical Support. I understand you're having trouble with GCM/FCM registration. Have you had a chance to take a look at out GCM/FCM troubleshooting guide? This is a good place to address invalid sender errors. You can also take a look at our Android troubleshooting guide for further assistance.

 

Something important to note: If you are calling takeoff using the AutoPilot class you should not receive any notification prompt in order to start receiving pushes. 

 

Please let me know if you have any questions or need further assistance and I'll be happy to assist! 

 

Best regards, 

Mikey R.

Airship | Technical Support Engineer | Portland, OR

Mikey Rodriguez
Comment actions Permalink

Please sign in to leave a comment.