Wednesday, December 4, 2013

Git: Received HTTP code 407 from proxy

I was cloning a git project:

git clone https://github.com/jiaqi/jmxterm

and I got
fatal: unable to access 'https://github.com/jiaqi/jmxterm/': Received HTTP code 407 from proxy after
 CONNECT


just do

git config --global http.proxy http://myusername:mypassword@proxy.acme.com:8080

and it will work (inshallah)

1 comment:

Anonymous said...

This really works. Type

git config --global http.proxy http://myusername:mypassword@proxy.acme.com:8080

where myusername is "domain\username" and password is "yourpassword".

Then do git clone as usually. :)