You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
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.
GOAWAY
errors a fix has been implemented with Parse Server crash on FCM response GOAWAY #340.ECONNRESET
there 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: true
in your push options.Environment
Client
6.8.0
Server
7.3.0
The text was updated successfully, but these errors were encountered: