PushNotificationFuture await() hangs forever
See original GitHub issueHi @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:
- Created 3 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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!
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!