Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Push Notification Error

Hi,

I am trying to send push notifications to my app and keep receiving the error "Unrecoverable error occurred while trying to communicate with apple servers: connection failed"

I have reset all of my certificates and ensured that they are all aligned.

Any ideas why this is happening or how I can fix it?

Thanks,
Marco

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Push Notification Error

Hello Marco,

Most likely the case is in the certificates, please check this thread, hope it will be useful for you:
https://getsatisfaction.com/apperyio/...

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Push Notification Error

I will try recreating all my certificates again.

Do I only need to re-upload 3?

Push Certificate
Distribution/Development Certificate
Provisioning Profile

Second question, after re-uploading the new certificates, do I need to export and reinstall the app on the device again?

Thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Push Notification Error

Marco,

Reply to all question is 'yes'.

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Push Notification Error

Ive tried 3 times now re-uploading new certificates and still no luck.

I have created a new Push Certificate, new development certificate and new provisioning profile.

Is there anything else it could be? Any ideas at all?

My app is shared with support and titled "17Weeks"

Thanks, Marco

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push Notification Error

Hi Marco - Try upgrading your Libraries version for your app to 3.1

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Push Notification Error

I just tried updating my libraries to 3.1 but I am still getting the same error about not being able to communicate with apple serves.

I am also getting a second error now (after the upgrade to 3.1) that will not allow me to navigate passed the home screen. I have added a screenshot below. It is the last error on the list.

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push Notification Error

Hi Marco -

In your App Settings Cordova plugins -- you'll need to select only one PushPlugin.

I have checked your app on iOS 9.3.4 -- and Push messaging is working OK.

Also note the changes for jQuery Mobile Push events here: https://docs.appery.io/docs/pushnotif...

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Push Notification Error

I did uncheck the last "push notification" under the Cordova plugins and left the other checked.

But I am still getting the error message.
How were you able to confirm that the Push notifications are working?

I am only attempting to send the notification to one device using the query builder and selecting my device ID that gets registered when I install the app on my device through Xcode.

Could this be causing a problem at all?

Could it have anything to do with the push API key?

I am completely out of ideas.....

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Push Notification Error

You'll need to export your app as a binary .ipa package and install it on the device itself -- don't use xCode for that. I have built your app and installed the app on the device and send push message to this device through our Push messaging window from inside the builder.

Return to “Issues”