Closed doodyparizada closed 6 years ago
I see the same behavior. It would be far nicer to properly catch the error and not blow up.
Same. We just had a cert expire and it crashes the whole app. Pretty bad failure mode.
And as mentioned many times, we won’t fix this one. This is inside the node APN module, feel free to open an issue there.
Transferred from https://github.com/ParsePlatform/parse-server/issues/3637
Issue Description
Using the REST endpoint for sending APNS push, sometimes the service times out and causes parse-server to crash...
Steps to reproduce
Just running this following curl a few times until the app crashes:
Expected Results
parse-server should catch the exception and either retry or fail with an error message (not crash the whole process).
Actual Outcome
parse-server is crashing on:
Environment Setup
Server
Database
Logs/Trace
I caught two types of crashes:
But my certificate is not expired - retrying works.
and:
just timing out on the connection.