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

azcopy and socks5 proxy #2618

Open
Krenol opened this issue Mar 20, 2024 · 0 comments
Open

azcopy and socks5 proxy #2618

Krenol opened this issue Mar 20, 2024 · 0 comments

Comments

@Krenol
Copy link

Krenol commented Mar 20, 2024

Which version of the AzCopy was used? 10.23.0

Which platform are you using? (ex: Windows, Mac, Linux) MacOS Sonoma 14.4

What command did you run?

export HTTPS_PROXY="socks5h://127.0.0.1:9090"
azcopy cp test.txt https://myacc.blob.core.windows.net/test/test.txt

What problem was encountered?

failed to perform copy command due to error: get cached token failed to ensure token fresh, please log in with azcopy's login command again, adal: Failed to execute the refresh request. Error = 'Post "https://login.microsoftonline.com/common/oauth2/token?api-version=1.0": proxyconnect tcp: dial tcp: lookup socks5h: no such host'

According to docs only http and https are supported - why?

How can we reproduce the problem in the simplest way?

Open a socks proxy to another host and use it as your HTTPS_PROXY

ssh -N -D 9090 user@host to open socks proxy on port 9090 to another host

Have you found a mitigation/solution?

Try to support socks proxies please

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

No branches or pull requests

2 participants