-
Notifications
You must be signed in to change notification settings - Fork 893
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
Unhandled network error rejection when using storage API #5372
Comments
Hi @VeryCrazyDog, thanks for reporting this behavior. I tried replicating, but I wasn't able to reproduce the error. I received a lot of
|
I tried to use the code that you provided on both Windows and Ubuntu, and I can reproduce the problem on both platforms. Are we using the same method to run the code? mkdir app
cd app
npm install [email protected]
# Put the code to `index.js`, an exact copy of the code in the first post can also reproduce the issue
# Disconnect the machine from network
node index.js |
That might be the only difference. If I can replicate the issue, I can have a better look into it. Please share the steps to reproduce the issue and a minimal, but complete sample of a project that I can run locally. |
I have prepared a repository below. Go through the setup and run steps in the README and unhandled rejection should be observed. |
Thanks for the MCVE, I was able to reproduce the behavior now. Let me check what we can do for this issue or bring someone here that can provide more context about it. I’ll update this thread if I have any information to share. |
Thanks for the repro, I was able to reproduce it in 9.0.0 compat. Just FYI, going forward, any fixes will be in version 9+ so you'll have to upgrade and change the import paths to I think we need to catch errors on
|
Describe your environment
Describe the problem
Steps to reproduce:
getMetadata()
orgetDownloadURL()
.FirebaseError
with codestorage/retry-limit-exceeded
.Relevant code:
The text was updated successfully, but these errors were encountered: