Skip to content

Fix: ApnsConnection stops sending notifications - #753

Closed
nazarii-piontko wants to merge 1 commit into
Redth:masterfrom
nazarii-piontko:master
Closed

Fix: ApnsConnection stops sending notifications#753
nazarii-piontko wants to merge 1 commit into
Redth:masterfrom
nazarii-piontko:master

Conversation

@nazarii-piontko

Copy link
Copy Markdown

Fix: ApnsConnection stops sending notifications after few sent and stucks in Log.Info (console less application), this produces many pending tasks.

…ucks in Log.Info (console less application), this produces many pending tasks.
@DFortun81

DFortun81 commented Oct 26, 2016

Copy link
Copy Markdown

This fixed a ton of problems, thank you very much! We still seem to be encountering false positives every once in a while.

log.txt

In the file I attached, I added a bunch of extra debugging logic. This reports when a notification was successful or a failure and maintains an incrementer for both stats.

I received Testing # 3, 4, 6, 7, and 8. I did NOT receive 5. 5 had reported a false positive and sent an OnNotificationSucceeded invocation. It appears as though 6 detected that it was disconnected, properly reconnected, and then sent itself out. It was just that 5 reported incorrectly and ended up not getting sent when it was supposed to.

EDIT: I should mention that we're using a Microsoft Azure Virtual Machine for hosting.

@DFortun81

Copy link
Copy Markdown

I will continue to investigate this problem and post a fix if I find one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants