New Issue Checklist
Issue Description
The http/2 implementation in firebase-admin throws on network errors instead of handling them, which lets them propagate to the node process, which eventually crashes the process.
The proper solution for any network error is to fix firebase/firebase-admin-node#2789, for example via an event listener.
Steps to reproduce
This issue occurs on network error events, such as ECONNRESET.
Actual Outcome
Unhandled error crashes app.
Expected Outcome
Error should be handled by the firebase-admin.
Workaround
- Use the older version HTTP/1.1 by setting
fcmEnableLegacyHttpTransport: true in your push options.
- Catch the error in a global Node process error handler.
Environment
Client
- Parse Server Push Adapter version:
6.8.0
Server
- Parse Server version:
7.3.0
New Issue Checklist
Issue Description
The http/2 implementation in firebase-admin throws on network errors instead of handling them, which lets them propagate to the node process, which eventually crashes the process.
GOAWAYerrors a fix has been implemented with Parse Server crash on FCM response GOAWAY #340.ECONNRESETthere is no easy remediation.The proper solution for any network error is to fix firebase/firebase-admin-node#2789, for example via an event listener.
Steps to reproduce
This issue occurs on network error events, such as
ECONNRESET.Actual Outcome
Unhandled error crashes app.
Expected Outcome
Error should be handled by the firebase-admin.
Workaround
fcmEnableLegacyHttpTransport: truein your push options.Environment
Client
6.8.0Server
7.3.0