-
Notifications
You must be signed in to change notification settings - Fork 894
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
Firebase Storage getDownloadURL doesn't finish running #5628
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @ulbqb, thanks for reporting this behavior. I tried following the steps you've provided to replicate the issue, however, I was able to get the download url. If I can replicate the issue, I can have a better look into it. Please share a minimal, but complete sample of a project that I can run locally. |
Hi @jbalidiong, thanks for reply. I upload minimal project to https://github.com/ulbqb/firebase-js-sdk-issue-5628. $ time npm run start
> firebase-js-sdk-issue-5628@1.0.0 start /Users/ulbqb/firebase-js-sdk-issue-5628
> node index.js
https://firebasestorage.googleapis.com/v0/b/sample.appspot.com/o/sample.jpeg?alt=media&token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
real 2m0.716s
user 0m0.581s
sys 0m0.142s
$ The problem is that the Download URL is printed correctly immediately, but the process doesn't finish until I wait a few minutes after it's printed. |
Thanks for the minimal repro. 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. |
Does the issue still persist even you delete the Firebase app? This should stop all background activity. https://firebase.google.com/docs/reference/js/app.md#deleteapp |
I tried deleteApp function but it didn't solve the problem. |
Hello ! I see the same problem with the functions of storage library called with mocha to test the security rules ( I tested the function |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
When I try to get the Storage DownloadURL with Nodejs, the getDownloadURL function works fine, but Nodejs doesn't finish running.
firebase-js-sdk should support the Nodejs environment.
https://firebase.google.com/docs/web/environments-js-sdk
Steps to reproduce:
Run the following code in Nodejs (14.18.0).
In my environment, Download URL is output normally, but Nodejs execution does not finish.
Relevant Code:
The text was updated successfully, but these errors were encountered: