Outage api.sandbox.push.apple.com?

Hi Apple Engineers, Is there an outage of the sandbox API for push notifications? Since 3:00 AM (CEST) today, I haven’t received any notifications on my test devices.

Answered by Engineer in 804733022

It was a network hiccup in the sandbox environment

There was a short outage, which is now fixed. Can you verify if things are working now?

If not, please post the full interaction you have with api.development.push.apple.com, whether you can reach it at all, the IP address it resolved to for you, and and errors.

nope it didn't work :/

here are the verbose log from the apns test script what i've written for me the log say's notification goes out, but no notification is coming on my iphone. When i try it with my iPad, without the sandbox api in an live environment it works (also the script is working).

* IPv6: (none)
* IPv4: 17.188.143.98, 17.188.143.34
*   Trying 17.188.143.98:443...
* Connected to api.development.push.apple.com (17.188.143.98) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Request CERT (13):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Certificate (11):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; O=Apple Inc.; CN=api.development.push.apple.com
*  start date: Apr 24 18:16:30 2024 GMT
*  expire date: Apr 10 00:00:00 2025 GMT
*  subjectAltName: host "api.development.push.apple.com" matched cert's "api.development.push.apple.com"
*  issuer: CN=Apple Public Server RSA CA 12 - G1; O=Apple Inc.; ST=California; C=US
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://api.development.push.apple.com/3/device/<APN_TOKEN_FROM_DEVICE>
* [HTTP/2] [1] [:method: POST]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: api.development.push.apple.com]
* [HTTP/2] [1] [:path: /3/device/<APN_TOKEN_FROM_DEVICE>]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [apns-topic: <MY_TOPIC_ID>]
* [HTTP/2] [1] [apns-push-type: alert]
* [HTTP/2] [1] [authorization: bearer eyAiYWxnIjogIkVTMjU2IiwgImtpZCI6ICJDMjY3UlRUOTM2IiB9.eyAiaXNzIjogIjNWMkw2RzRZNVgiLCAiaWF0IjogMTcyNjg2MDQyOCB9.MEUCIQDsXpF5grxX8dGpRnhy8Kf0FcWNo0JYHLFeh7V_AkUw0gIgMEbkfg8nC8as8OCtOTHWSdqmG9k3grpTv-cpk7wWhQQ]
* [HTTP/2] [1] [content-length: 149]
* [HTTP/2] [1] [content-type: application/x-www-form-urlencoded]
> POST /3/device/<APN_TOKEN_FROM_DEVICE> HTTP/2
> Host: api.development.push.apple.com
> User-Agent: curl/8.7.1
> Accept: */*
> apns-topic: <MY_TOPIC_ID>
> apns-push-type: alert
> authorization: bearer eyAiYWxnIjogIkVTMjU2IiwgImtpZCI6ICJDMjY3UlRUOTM2IiB9.eyAiaXNzIjogIjNWMkw2RzRZNVgiLCAiaWF0IjogMTcyNjg2MDQyOCB9.MEUCIQDsXpF5grxX8dGpRnhy8Kf0FcWNo0JYHLFeh7V_AkUw0gIgMEbkfg8nC8as8OCtOTHWSdqmG9k3grpTv-cpk7wWhQQ
> Content-Length: 149
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 149 bytes
< HTTP/2 200
< apns-id: 0B1622B7-9D16-2920-DDE8-B0FD9BF7CFCA
< apns-unique-id: 336f8416-747f-eb5f-d320-332d57ea2c45
<
* Connection #0 to host api.development.push.apple.com left intact

I'm still seeing it on my end step to reproduce:

(A) go to icloud.developer.apple.com (B) click push notifications (C) go to send (D) choose matching app id (E) tap compose button for notification (F) set environment to development, add device token, etc (G) hit send

Response says (A) received by APNS Server (B) discarded as device was offline

This same flow seem to be working yesterday.

We're investigating this further.

Ok now notifications are coming thank you 🙏🏼 What are the reason for the issue?

Accepted Answer

It was a network hiccup in the sandbox environment

Outage api.sandbox.push.apple.com?
 
 
Q