-
-
Notifications
You must be signed in to change notification settings - Fork 105
Parse Server Crash on invalid/expired APNS cert #65
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
Comments
Any thoughts on this one, anyone? I am having the same problem. |
Same problem here, anyone knows how to solve this ? |
This is expected, just pass proper/valid certiticates |
how do you do it ? any link to help ? i'm new to parse |
What do you mean how do you do it? Did you follow the documentation to configure push properly available on docs.parseplatform.org? |
actually i wasn't aware of docs.parseplatform.org. I'll check that, thanks |
Also, the push configuration is the first link on the first line of the README of this repository. |
Hi, I just ran into this on our staging servers. I woke up to crashed servers and it looks like our iOS push cert for dev expired. While I'm in the process of fixing this ideally if a cert expires the app shouldn't crash ? |
@gateway this is the expected behavior, as it is the node apn’s behavior, as stated many time. Feel free to fix it. |
@flovilmart your right, looking at the first line of the error, using node-apn .. odd that something like an expired cert would crash a server.. hmm well thanks... |
How are you checking for certificate expiration? I noticed our certificate's expiration on Apple is 2021/10/01 (i.e. October) but we got a crash on our servers yesterday (2021/01/10). Or is this a configuration that we need to setup? |
@paprbot You can check when the certificates expire in Apple Developer Account. |
@paprbot I would recommend using keys instead of certs. Since keys don't expire.
|
I would like to reference an issue from parse-community/parse-server#3575 which crashes the node process when APNS cert is expired. It also happens for me, here is the stack trace:
parse-server-push-adapter version: 1.2.0
The text was updated successfully, but these errors were encountered: