/ APNS

Cannot connect to APNS

Q: I experience iOS certificate problems. What does “Cannot connect to APNS” error mean?

A: This error means that the APS certificate you have uploaded is not valid and Apple rejects the connection to their servers. The possible reasons are:

  • You are using wrong gateway. For example you are trying to connect to Production gateway with the certificates from Sandbox.
  • The private key is incorrect or does not match the certificate. Please make sure you export the private key from your Push Notification certificate, not your Developer certificate.
  • The certificate is not valid or expired. Just get the new one from the iOS developers portal!

Premium account gives you access to the “Automated Certificate Provisioning” feature. It was designed with the idea to help you avoid all these issues and simplify the iOS configuration steps for the developers. Check it out, it really rocks!