Cargo behind proxy (windows)


Hi there, i have problem working with cargo. when i try to run cargo build. it’s not able to get dependencies from git due to squid proxy. help me to resolve this thank you.


You can specify the http.proxy variable in a .cargo/config file which may help.


Thank you very much,
but if the proxy contains credentials like username and password?




did this help??


ya it is. just try it will work.


Unforunately I am getting a SSL connect error :pensive:


You probably need the “https” option instead of “http” then.


I have the same problem from the point of view of a proxy. It’s my ISP, or is it something with settings?