How to recover from a FIREBASE INTERNAL ERROR: Server Error: ClientId[...]:ErrorId[17152]: Write too large

1,356 views
Skip to first unread message

Vincent Bergeron

unread,
May 29, 2017, 10:05:13 AM5/29/17
to Firebase Google Group
Hi!

Once in a while, my customer are making a huge request to FB and my Node.JS server get the Write too large error.

After that, the firebase SDK client is just out of order. Event if I use the cluster feature (which makes 1 connection to FB by cluster), all my connections seams to be down...

Why the client just dies? I was hoping what it could handle this kind of error... Is there a way to recover from that?

Thanks

VB

Michael Bleigh

unread,
May 30, 2017, 12:56:38 AM5/30/17
to Firebase Google Group

Why are you making the request through Node.js instead of having your clients write to the db directly? Also, since you have a server intermediating, you could just check the size of the request before passing through...


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/075fce44-4c28-4702-b15e-6b8b2fb7e3aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vincent Bergeron

unread,
May 30, 2017, 10:10:02 AM5/30/17
to Firebase Google Group
My server have access to resources that my client can't have access. My product is not and can't be server-less.

What's the exact size to check? And even if I check the size, I would like to know how to recover from those errors.

Tyler Rockwood

unread,
May 30, 2017, 11:04:09 AM5/30/17
to Firebase Google Group
Vincent,

The exact size is 16 mb, see the following link for more details on limits: https://www.firebase.com/docs/web/guide/understanding-data.html#section-limitations

-Tyler
Reply all
Reply to author
Forward
0 new messages