-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Kadabra crashes on revoked APNS certificate #200
Comments
Hi, we have also experienced, although with a slightly different error. Do you agree that it would be better for the user to start the entire pigeon supervision tree under the user's supervision tree? |
I opened a PR against kadabra a couple years back. No merge yet, but it's been working for me. It just handles the ssl_error in a manner, although I've recently come to doubt the response I'm sending back. Pigeon still doesn't react to the returned value in a helpful way, so I'm mostly just stopped the FCE. |
Environment
elixir --version
):Current behavior
Wasn't sure if I should create the issue for kadabra or pigeon, but since this happens for me when trying to send push notifications, added it here.
This happens for me in my dev environment as well as in production.
To reproduce, revoke your APNS credentials from Apple's developer portal (from my experience, it takes ~24h until Apple actually starts rejecting the requests) and attempt to send a push notification. The following errors can be seen in logs:
Click to expand!
Click to expand!
Click to expand!
Click to expand!
After that kadabra has crashed and needs to be restarted before another attempt to send a push notification can be made.
Pigeon.APNS.start_connection(mode: "sandbox")
seems to succeed just fine but callingPigeon.APNS.push(notification, to: connection_pid)
causes the crash.Expected behavior
An error is returned when attempting to start a connector or when sending a push notification.
The text was updated successfully, but these errors were encountered: