-
Notifications
You must be signed in to change notification settings - Fork 378
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
onSnapshot listener dies after some time with "Error 10: ABORTED" #478
Comments
Hello @StoryStar! Thanks for filing this issue. Like the C# SDK, we can update the Node SDK to retry on ABORTED errors, which should allow us to re-connect your Listen streams. We do, however, want to add a cap on the maximum number of retries before we roll this out. I will update this issue once the change lands in the |
Hi guys. I have the same situation. Tks, |
@fabiogmartins Sorry for the delay. We have a PR for this fix pending and will push it as part of the next release. |
Hi @schmidt-sebastian, would this PR also fix the retry on a normal snapshot |
Unfortunately, it doesn't. Our |
Describe your environment
Describe the problem
After some time alive, a onSnapshot listener dies with 'Error: 10 ABORTED' code. Similar to this issue in the .NET library: googleapis/google-cloud-dotnet#2721
Steps to reproduce:
Start onSnapshot listener on collection with few or no documents (documents are periodically added and deleted)
Leave it for a week or so, works great,
Error: 10 ABORTED: The operation was aborted
Relevant Code:
Error message
It is difficult to reliably reproduce due to the amount of time it takes before the error shows up, however has occurred 3 times in my setup over the past few weeks. In the issue I linked regarding the .NET library, they seemed to resolve it by adding the error code to the list of server statuses to retry. Is that a possible solution here as well?
The text was updated successfully, but these errors were encountered: