question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

APNs server does not respond to some notifications

See original GitHub issue

We’ve received reports that, starting on or around September 19, 2020, APNs servers have stopped responding to some notifications. From Pushy’s perspective, this can look like a Future that never resolves (completion handlers are never called and calls to .get() time out or wait forever). Please see the mailing list thread on this topic for additional background and discussion.

From HTTP/2 frame logs, the problem appears to be that the server simply never sends a HEADERS (or DATA) frame in response to a push notification and never closes the HTTP/2 stream associated with the notification.

At this point, the goal is to identify some specific notifications affected by this problem. If you’ve encountered this issue, we’re hoping to get the UUIDs (apns-id) and approximate timestamps of some affected notifications in the interest of sharing information upstream. Because the problem is that the server isn’t responding, you’ll need to assign your own apns-id values to outbound notifications (SimpleApnsNotification has a pair of constructors that accept an apnsId argument—using UUID.randomUUID() is recommended) to be able to uniquely identify which notifications are having this problem.

This issue is intended to consolidate a number of other reports on this topic, including #807, #814, and #815.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:45 (18 by maintainers)

github_iconTop GitHub Comments

11reactions
jchamberscommented, Oct 16, 2020

Yes, I’m still investigating the issue. Thank you for your patience.

5reactions
jchamberscommented, Oct 21, 2020

Friends, I understand this is a serious problem for many of you. I promise I’ll share updates as soon as they’re available.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling Notification Responses from APNs - Apple Developer
Overview. Apple Push Notification service (APNs) provides a response to each POST request your server transmits. Each response contains a header with fields ......
Read more >
Do not receive a response to some push-requests to the APNs ...
I have about 45000 tokens for which I need to send a push notification. I send them via curl_multi_exec and get roughly 39000...
Read more >
Pushy
Pushy is a Java library for sending APNs (iOS, macOS, and Safari) push notifications. Pushy sends push notifications using Apple's HTTP/2-based APNs ...
Read more >
iOS Push Notifications Explained - Airship
Provider: A provider is a server that you deploy, manage and configure to work with APNs · APNs: Apple Push Notification service, which...
Read more >
Field Notice: FN - 72411 - Push Notifications Do Not ... - Cisco
The Network Push Server (NPS) application is no longer able to connect to the Apple Push Notification Server using tokens since ADP 2022.04 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found