Problem using new APN api.push.apple.com

Hi

I'm using push notification for years with no problem. We send them directly from our server using ssl://gateway.push.apple.com:2195

As per Apple's request to move to the new APNS, we tried using ssl://api.push.apple.com:443 and also ssl://api.push.apple.com:2197.

We get a positive response from the APN servers (Connected to APNS Message successfully delivered 456) but the push does not arrive on the device.

If we go back to ssl://gateway.push.apple.com:2195 all is working well.

Any ideas?
Did you just change the endpoints to connect to the new ones, or did you actually change your push application to use the HTTP/2 protocol as well?

This is not just a simple endpoint change, but also a whole new protocol. The new endpoint uses HTTP/2 protocol and a new way of setting push parameters and your payload.

You can find out more here: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/
Problem using new APN api.push.apple.com
 
 
Q