Push Notification

Apple Push Notification

The push mechanism for Apple does not support automatic HTTP to HTTPS redirection when delivered.

In this case, HSTS is probably activated in the IIS and the option Redirect HTTP to HTTPS is set:

iis-hsts

The HSTS… menu item is located in the right-hand menu bar if the Default Web Site is selected in the IIS.

The XPhone server searches for the PushProxy on http://localhost/xphoneconnect/pushproxy/ by default. Due to the forced redirection to HTTPS, it can no longer reach it there.

The remedy is an entry in the file atlas.xml, which you can open via the Server Manager. Add the new attribute proxyBaseAddress to the already existing section <PushNotificationSettings> and enter the appropriate URL for the PushProxy there:

<PushNotificationSettings
proxyBaseAddress="https://servername_not_localhost/xphoneconnect/pushproxy"
...  />

Have you found an mistake on this page?

Please send us a hint about this error by mail to doku@c4b.de. Thank you very much!