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
APNS push fails after inactive period #47
Comments
I think I could fix this bug by changing the connection pool library. I will give you a new build by this Sunday. |
I am looking forward to testing your next build. 👍 |
Hi @Uscher1, Please try this build. Before running it, please make sure it's the right version:
|
Hi monnand I installed the build 1.5.2a4 but push fails due to missing Subscriber/DeliveryPoint problem:
Are there more steps to do than just installing the binary? Is the existing data still available and compatible? |
Is there anything wrong with the archive?
|
Well.. It works for me:
Here is the SHA256 of the file: |
OK, thank you, I was able to download your latest build now. It works for APNS, but not for GCM (see second push):
Do you have an idea whats going wrong? |
@Uscher1 The error shown above suggests that uniqush cannot find any device under the subscriber "41791336366". Do you have same error when you use the old version with same subscriber? Also, you could use
I checked my commits. There's no change on GCM part. The error suggests that it did not even reach any GCM-specific code. This error message means uniqush-push tried to retrieve data from redis but found nothing. The database code is not change for a long time, like almost a year. |
Hi Monnand, for some reason this device number was not stored anymore in redis, even though unsubscribe is not implemented at all. Additionally the uniqush process was stopped over night for unknown reason. However, everything works fine now and I start doing some long term tests. Thank you so much for your excellent support and patience! |
Uniqush will automatically remove devices when the push service provider
|
Uniqush is a great project - thank you!
Currently in version 1.5.1 we observe for APNS following reliability issue.
When Uniqush is inactive within 2 hours (i.e. does no push) APNS server seems to close the connection. The next push request will then fail. The subcriber is missing and the delivery point is unknown. Also the retries will fail. The retry after 20 s fails due to i/o timeout. And then the sleep time seems to be calculated wrong. Two more tries happen immediately.
After that the next push request succeeds again.
This is the logging of the scenario descibed above:
The text was updated successfully, but these errors were encountered: