-
Notifications
You must be signed in to change notification settings - Fork 42
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
using the emulator, upload a file then downloading it return 404 #209
Comments
Bumping because I also have this issue, however mine is failing on creating a bucket and then trying to create a signedURL on that bucket. Relevant logs:
|
@EmandM |
This doesn't solve the issue I am having, but is the solution to the original issue googleapis/google-cloud-go#4444 (comment) The issue is if you use |
I ran into this issue today. There's an open issue to address this in the nodejs-storage project. In the meantime, I found a workaround - rather than setting the STORAGE_EMULATOR_HOST variable, set the apiEndpoint property in the options provided to the Storage constructor.
That's working for both uploading and downloading a file for me. I haven't tried other operations. |
Describe the bug
A clear and concise description of what the bug is.
uploading a file succesfully, then when try to downloading is returning 404.
the url to get
/b
is the standard GCP Storage url bucket/o
obect.it isn't expected to fail on a
GET
/b
urlTo Reproduce
A minimal, complete, and reproducible example to reproduce the behavior.
download:
Expected behavior
it should download the file
System (please complete the following information):
Additional context
Add any other context about the problem here.
Basically what is saying is "url not found" `b/" the b/ part of the path is the "bucket" in GCP storage. so it should just work without any further issue as it is the basic GCP storage url
The text was updated successfully, but these errors were encountered: