Firebase - Handling Maximum Concurrent Connection Errors (Free Plan)

The Firebase pricing FAQ contains the following:

The free plan has a hard cap with 50 simultaneous connections. When the 51st user tries to connect, the API will throw an error and any additional connections will fail.

Is there a way to gracefully handle this error (both for 51st user and additional connections after that) in the application? I couldn't find any information in the docs regarding any global connection error handling.

When this type of connection error occurs, I would like to display "overloaded server, please try again later". enter a message to the user, not just just doesn't work.

+3


source to share


1 answer


Here's the answer I got from a Firebase developer:



There is no way to define this programmatically. An error message will be thrown asynchronously in the developer console when the 51st connection is made. I've added this for this week to see if we can improve error handling here.

+1


source







All Articles