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

Emulator returns 0.0.0.0 address instead of localhost for resumable upload in Docker (.NET client) #210

Open
Rashair opened this issue Oct 24, 2022 · 2 comments · May be fixed by #257
Open

Comments

@Rashair
Copy link

Rashair commented Oct 24, 2022

Describe the bug
Emulator returns it's internal server address 0.0.0.0 instead of localhost / 127.0.0.0 for resumable upload return address when running in Docker env.

To Reproduce
Use .NET client + docker compose:
See repo

Expected behavior
Emulator returns of localhost / 127.0.0.0 when running in Docker

System (please complete the following information):

  • OS version: Windows 11 / 22621.674
  • Python version: 3.9.13
  • gcp-storage-emulator version: oittaa/gcp-storage-emulator (latest)

Additional context
It works without problems on the same sample when you don't use Docker.

@bexolder2
Copy link

Hi, @Rashair I have same issue, I found workaround. You can use Fiddler for redirecting 0.0.0.0 to localhost. Redirecting settings for Fiddler described here.

@jamesvillarrubia
Copy link

See here for revision: #257

Also available at in docker hub at jamesmtc/madi-gcp-emulator:latest

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