-
Notifications
You must be signed in to change notification settings - Fork 981
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
Accessing conan trough a proxy #78
Comments
Conan is using the python "requests" library. From the docs: http://docs.python-requests.org/en/latest/user/advanced/#proxies It should be possible to define environment variables like:
or using user/pass urls in the form "http://user:pass@10.10.1.10:3128/" I suggest doing a first try with environment variables to check if it works, as a temporary workaround while a proper solution is developed. |
Indeed it is working with the solution proposed above. I also got it working on windows using the following:
Note that you must not put I think it is worth to add this to the documentation. |
great! I'm creating a new issue in conan docs repository to update it with this information. Thanks |
Hi @bachp Proxy configuration has been included in 0.7 release in the conan.conf file, with the following syntax:
Just in case you prefer to use it instead of environment variables. Cheers. |
Thanks for the update |
It's not possible to add socks5 to Conan ?! (it's just http, https) |
Hello. For those who are stuck with conan 2 and proxy server, and came here as first page google links to, here is how to specify proxy server in conan2:
Yes, i realize that this information should be known for those who have worked with Request python library, but since Conan is C and C++ package manager, not all developers may be aware of that Thanks! |
Thanks for the feedback @akukhta ! We have a pending task in conan-io/docs#3410, to add this to our docs, but unfortunately too many things on our plate, we haven't managed to catch up on this one. I will add a link there to your comment |
In corperate environments it is frequently the case that internet connection must go trough a proxy server, sometimes even with authentication required.
It would be good if conan would at least support the following proxy scenarios:
The text was updated successfully, but these errors were encountered: