ERROR: Failed to initialize connection to APNS


A push notification does not get delivered and results in an error in the AppStudio Push logs, in the form:

"ERROR: Failed to initialize connection to APNS"


This is a general error and basically means the connection to the APNS (Apple Push Notification Service) is being compromised, resulting in delivery failure of the push notification.


To resolve this issue, focus troubleshooting on the network path interfacing with the Apple Push Notification service. Here are some recommendations:

1)  Make sure your firewall isn't blocking the port needed for iOS pushes. Refer to this KB article for more info:

2)  There could be missing or incorrect permissions on the Push Service. Ensure that you grant read/write permission to the Push Service directory for the .NET Identity user by following these steps:

  • From Windows Explorer, right-click the Push Service folder (e.g. C:\Program Files\Verivo Software\Push Service) and click Properties
  • Click the Security tab
  • Click the Edit button
  • Select desired Groups or User Names and set their Full Control to 'Allow'
  • Click Apply, then OK

3)  If that does not resolve your issue, perhaps your network service account doesn't have full control permissions to the Push Service directory. Try these steps:

  • From Windows Explorer, right-click the Push Service folder and click Properties
  • From the Properties window, select the Security tab and click Edit, then Add... 
  • In the Object Name section, type the following: Network Service
  • Select the Check Names button (NETWORK SERVICE should appear)
  • Click OK
  • Set Full control permissions to Allow
  • Click Apply, then OK

Recommended reading

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk