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.

PushNotificationFuture await() hangs forever

See original GitHub issue

Hi @jchambers ,

Not sure this is related to #742 or not, but await() of PushNotificationFuture may hang forever after running for a while in production. All following calls to the affected ApnsClient will hang at await() as well.

Future<PushNotificationResponse<ApnsPushNotification>> pushNotificationResponseFuture = apnsClient.sendNotification(notification);

pushNotificationResponseFuture.await(); // this triggers

Our environment: pushy: 0.13.7, jdk: 1.8

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jchamberscommented, Oct 7, 2020

@petrdvorak Would you mind moving this part of the discussion to the mailing list? I’m happy to help, but that seems to be where most of the debugging conversation is happening right now, and I think that’s probably the best place to share knowledge about logging.

Thanks!

0reactions
jchamberscommented, Oct 9, 2020

Folks, we have a number of running discussions about this issue. To keep things focused, I’m going to close this issue and try to consolidate discussion in #816. Please let me be clear that there’s more work to be done, but I think it’ll be easiest to have all of the information in one place. Let’s continue the discussion in the new ticket.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

APNs server does not respond to some notifications · Issue #816
PushNotificationFuture await() hangs forever #814. Closed. Pushy Notification Threads get Stuck for future.get #815.
Read more >
Flutter UI hangs on async operation - Stack Overflow
I launch an expensive async operation. The "runExpensiveOperation" method stops the spinning CircularProgressIndicator so it seems it is ...
Read more >
PushNotificationFuture (Pushy 0.14.2 API)
getPushNotification. public P getPushNotification(). Returns the push notification to which the operation represented by this future applies.
Read more >
[Debug Help] Tokio tasks get stuck randomly : r/rust - Reddit
If the blocking code is still on stack, you can assume it's stuck. Trace system calls with strace -f to see what it's...
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