Closed bnol closed 6 years ago
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.
ios: [
{
token: {
key: './push/AuthKey_XYZ.p8',
keyId: "ABC",
teamId: "EFG"
},
topic: 'com.example',
},
]
I would like to reference an issue from https://github.com/ParsePlatform/parse-server/issues/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