New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The response of sendNotification may not fulfill #725
Comments
At a quick glance, I think you may be right. I'll analyze the situation more carefully as soon as I can. Thanks kindly for the report! |
I would bumbly like to "bump" this, if time permits. @ylgrgyq: Are you running with the PR changes in production and seeing a difference? We've recently started observing a similar behavior once our "batches" reached a certain volume. |
@barkefors : |
Folks, I expect to be able to focus on this in a few weeks, and I regret that I haven't been able to give it more attention so far. |
I have a fix in the works and hope to have it up for review by the end of the day. Thank you for your patience! |
I've opened #742, which should fix this issue. Your feedback is welcome and greatly appreciated! |
Hi jchambers,
I thought I found another issue. Please take some time to review it when you are available.
It seems the response promise for sendNotification may stay in unfinished state forever when write failure occurs here or here. Because there's no listener on
writePromise
to pass any exceptions it got toresponsePromise
.I think maybe we can fix this by changing the block start at line 214 in ApnsClient to:
And removes the
tryFailure
here.What do you think?
Sorry for not taking PR right now because I may be missing something. So if you agree with the modifications above, I would love to take a PR as soon as possible.
By the way, my enviroment is :
jdk: 1.8.0_192
pushy: 0.13.10
netty: 4.1.37.Final
tcnative: netty-tcnative-boringssl-static-2.0.25.Final-linux-x86_64
Thanks.
The text was updated successfully, but these errors were encountered: