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

Port ignored ipv6 http_proxy #436

Open
mhill-holoplot opened this issue Aug 31, 2023 · 2 comments
Open

Port ignored ipv6 http_proxy #436

mhill-holoplot opened this issue Aug 31, 2023 · 2 comments

Comments

@mhill-holoplot
Copy link

mhill-holoplot commented Aug 31, 2023

I'm trying to get backups to S3 working via a http proxy, unfortunately it seems there is a parsing bug or missing feature for use with addresses. if I set the following:

http_proxy=http://[::1]:8888

Then I get:

http_proxy environment variable does not specify a port, using default

And the connection fails.

This configuration works with other software like curl.

@rishiraj88
Copy link

, you had got 3 t in http. Okay, now that's edited.

Have you tried with:
http_proxy=http://[::]:8888
http_proxy=http://[0.0.0.0]:8888
http_proxy=http://[127.0.0.1]:8888

the first two are for 'all addresses' and the last one is for 'loopback address'.

@mhill-holoplot
Copy link
Author

I can use a v4 address and I don't get the error message.

The trouble is of course that my http proxy only has v6 reachable from where wal-e is being run. I have jut tried proxying my proxy as a potential work around curl is fine with it wal-e is seemingly not amused and hangs.

wal-g seems to be happier being proxied so I think I'll just give that a try.

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

No branches or pull requests

2 participants