Page 1 of 2

Push Notification Error

Posted: Wed Aug 03, 2016 12:50 pm
by Marco Spera

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


Push Notification Error

Posted: Wed Aug 03, 2016 5:38 pm
by Evgene Karachevtsev

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/...


Push Notification Error

Posted: Wed Aug 03, 2016 7:54 pm
by Marco Spera

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


Push Notification Error

Posted: Wed Aug 03, 2016 8:39 pm
by Evgene Karachevtsev

Marco,

Reply to all question is 'yes'.


Push Notification Error

Posted: Tue Aug 09, 2016 2:13 am
by Marco Spera

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


Push Notification Error

Posted: Tue Aug 09, 2016 8:08 pm
by Illya Stepanov

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


Push Notification Error

Posted: Wed Aug 10, 2016 1:47 am
by Marco Spera

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


Push Notification Error

Posted: Wed Aug 10, 2016 8:16 am
by Illya Stepanov

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...


Push Notification Error

Posted: Thu Aug 11, 2016 12:49 am
by Marco Spera

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.....


Push Notification Error

Posted: Thu Aug 11, 2016 6:30 pm
by Illya Stepanov

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.