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

[question] can we use proxy on v10? #62

Closed
nmikuni opened this issue Sep 27, 2018 · 5 comments
Closed

[question] can we use proxy on v10? #62

nmikuni opened this issue Sep 27, 2018 · 5 comments
Assignees

Comments

@nmikuni
Copy link

nmikuni commented Sep 27, 2018

Which version of the AzCopy was used?

Note: The version is visible when running AzCopy without any argument

considering to use v10

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

Linux

What problem was encountered?

it's the question.
I want to use proxy as in Windows
(i.e. https://blogs.msdn.microsoft.com/azure4fun/2016/10/17/azcopy-unable-to-connect-to-the-remote-server/ )

Seen the code, it looks to use the system proxy. can't user change as they want?
https://github.com/Azure/azure-storage-azcopy/blob/master/common/oauthTokenManager.go#L69

If there are any way to set the own proxy, I really want to know how. Thanks,

@zezha-msft
Copy link
Contributor

Hi @nmikuni, thanks for reaching out!

We currently do not support proxies, I'll add this feature to our backlog.

@technowannabe
Copy link

Hi. The proxy capability is a must for our use as well. We are actively using AzCopy 7.x and 8.x. Thank you!

@zezha-msft
Copy link
Contributor

Hi @technowannabe, thanks for reaching out!

The proxy setting should be supported by the Go Client already, we just need to test it. If you would like to try it, please set the environment like follows: export HTTP_PROXY="http://proxyIp:proxyPort".

@seguler
Copy link
Contributor

seguler commented Nov 15, 2018

This is now fixed. The documents have been updated with the proxy config.

@seguler seguler closed this as completed Nov 15, 2018
@technowannabe
Copy link

Hi @technowannabe, thanks for reaching out!

The proxy setting should be supported by the Go Client already, we just need to test it. If you would like to try it, please set the environment like follows: export HTTP_PROXY="http://proxyIp:proxyPort".

Hi @zezha-msft, thanks for considering and implementing this quickly!

I've tried it for one of my projects and it seems to work well so far.

--Todd

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

5 participants