SUMMARY:
This article describes a list of commonly encountered issues and troubleshooting steps when setting up Apple Push Notifications for use with Strategy Mobile 9.4.1 and later.
Contents
1. Prerequisites for Apple Push notifications
Check that all of the prerequisites listed in KB201670 have been satisfied.
2. Minimum product versions for Background Fetch
Check that the product versions meet the requirements in KB47306 . For more information on Background Fetch, see KB47308 .
3. Basic push notification troubleshooting
Check that the steps in KB47485 have been followed. Additionally, check that Push Notifications have been enabled as described in KB47307 .
4. Registering the mobile device with the Strategy Intelligence Server
UID = com.companyname.xxxxx


5. Connectivity between the Strategy Intelligence Server and the Apple Push Notification Service (APNS)
Use the following telnet commands to check the connectivity between the Strategy Intelligence Server and the Apple Push Notification Service (APNS). The first command checks connectivity to the APNS sandbox environment while the second command checks connectivity to the APNS production environment. This command should be run from the Intelligence Server Machine.
$ telnet gateway.sandbox.push.apple.com 2195 $ telnet gateway.push.apple.com 2195

If the command fails, check that a firewall is not blocking access to the required ports or to the IP address range that the APNS hostname resolves to. For more information regarding the necessary ports and IP addresses see Apple's Support article here.
6. Apple push notification certificate configuration
Check that the certificate has been properly set up. If there are issues preparing Apple's push notification certificate for deployment on the Strategy Intelligence Server, contact Apple Support.
Once the certificate is ready and converted into a .pem, test the SSL handshake using the following command:
$ openssl s_client -connect gateway.push.apple.com:2195 -cert YourSSLCertAndPrivateKey.pem -debug -showcerts -CAfile server-ca-cert.pem
You can test the TLS/SSL handshake using the OpenSSL
s_clientcommand, like this for the HTTP/2 APNs provider API:
$ openssl s_client -connect api.development.push.apple.com:443 -cert YourSSLCertAndPrivateKey.pem -debug -showcerts -CAfile server-ca-cert.pem
CRITICAL | 14:48:40.304061 | Exception creating ssl connection to Apple: [Errno 1] _ssl.c:480: error:14094414:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate revoked

Test the communication by performing the following:

If the notification does not appear on the device, check the Wireshark trace for more details, or contact Strategy Technical Support if you require additional assistance.