Skip to content
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

Wrong HOST when calling blob.get_signed_url in local api_root #828

Open
erincar opened this issue Oct 29, 2024 · 0 comments
Open

Wrong HOST when calling blob.get_signed_url in local api_root #828

erincar opened this issue Oct 29, 2024 · 0 comments

Comments

@erincar
Copy link

erincar commented Oct 29, 2024

HOST = 'storage.googleapis.com'

Hello,

I am running fake-gcs-server in my local compose stack and connect to it via gcloud.aio.storage.Storage.
I set up the api_root via STORAGE_EMULATOR_HOST, and can see that the correct one is used.

However, when generating a signed URL for a blob, I receive one starting with storage.googleapis.com.
I am suspecting that is due to the hardcoded HOST referred above.

Is this usage intended? Or should the HOST be pointing to the api_root instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant