-
Notifications
You must be signed in to change notification settings - Fork 928
Getting "Client is offline" error reading from Realtime Database after upgrading to 11.0.0 #6390
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
Comments
Following are the changes in
v11.0.0
|
Transferring to |
This may be fixed by #6340 |
@Hivemind9000 - can you please try this on the latest version of the admin SDK? |
Thanks @maneesht it seems to be working now (not hanging) using:
firebase-admin 11.0.1 |
Environment:
Firebase SDK version: 11.0.0
Firebase Product: database
Node.js version: 14
Problem:
After upgrading to 11.0.0 I started to get the error "Client is offline" when reading from the Realtime Database. The cloud function that threw the issue had not been changed for months. When I reverted back to 10.2.0 (the version I was on previously) the problem disappeared.
The relevant line of code was:
I tried a solution from Stackoverflow, but instead of getting the "Client is offline" error, the cloud function just hung on that request and timed out.
Any ideas as to why this is occurring?
The text was updated successfully, but these errors were encountered: