New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
intermittent downtimes after preferRest enabled #1823
Comments
Hi @omar-dev-amrk, I have a few questions for you that will help us resolve this.
Thanks! |
Hey @MarkDuckworth (1+3) I have deployed the 2- Not at all. I checked with the team now. This error was logged yesterday(no
Let me know if you need anything else. |
Thanks for the answers. Unfortunately, we may still need additional information to help us understand the issue. This can be a big ask, but are you able to create a minimal reproduce-able example demonstrating the issue? This is the cleanest way for us to understand how your code is configured, deployed, and what it's doing to produce this error. |
@MarkDuckworth I assume this means a new project, firestore, function with preferRest enabled and the least amount of code possible to re-produce the issue, correct? |
We recently had to start using We made the changes on February 1st and have not crashed since. However, tonight we received reports of crashing happening again, and upon looking through the logs it seems like we have the same error as posted by @omar-dev-amrk :
This is super crucial and crashing often, please advise ASAP |
@iAMkVIN-S, are you also seeing the "Client network socket disconnected" and "socket hang up" reported by @omar-dev-amrk? What frequency is this issue occurring in your application now? If you have any code that may help us reproduce the issue, that may speed up a resolution here. |
@MarkDuckworth It looks like |
@iAMkVIN-S and @omar-dev-amrk, please let us know if the update to |
Is this a client library issue or a product issue?
Client
Did someone already solve this?
No
Do you have a support contract?
No
Environment details
@google-cloud/firestore
version: 6.4.0 (through firebase-admin@11.5.0)Steps to reproduce
Same product was working fine for over a year, until we decided to update firebase dependencies to enable the preferRest option. Since yesterday, functions kept crashing with errors like:
and
For each function, after a while of errors, things become stable and actually the preferRest option starts working providing the speed we have always lacked. But then later all of a sudden, errors come back again.
Please note that we have a minimum instances setting set to 2 for each of these functions.
Of course for a production app this is unacceptable, so we had to disable preferRest and see if things stabilize. And they did.
But today I see different errors like:
Other details
firebase/firebase-admin-node#1901 (comment)
The text was updated successfully, but these errors were encountered: