I have found msysGit (git on windows) working fine on my home machine, but at work, where We are behind a Microsoft ISA proxy, when I clone a git, I get the following error:
H: \ & gt; Git clone git: //github.com/akitaonrails/vimfiles.git repository in empty Git H in the beginning: / vimfiles / .git / github.com [0: 65.74.177.129]: errno = Invalid argument Fatal: a socket (invalid Logic)
I tried to set the Http_proxy environment variable to:
http: // our-proxy-server I have set the git http.proxy configuration: git config --global http.proxy http: // our-proxy- Server: 8088
None of the above do make a difference Cloning a git with http: //
instead of
git: //
:
H: \ & Gt; GIT clone http://github.com/akitaonrails/vimfiles.git Initially empty GIT repositor H in H: / vimfiles / .git / fatal: http://github.com/akitaonrails/vimfiles.git/info/refs Download Error - Requested URL returned error: 407
407 is definitely an authentication error.
So my question is: Has anyone managed to work from behind the proxy, especially the ISA proxy? I do not know if this is going to be worth the work.
I had the exact same error; But the key was.
If you have a proxy with the certification in which you must enter it:
git config --global http.proxy http: // login: password @ our -Proxy-server: 8088
And it just works (' with git clone http:
')
Example one Description of Setup Blog:
If it fails in 407, then it may be related to a problem. One can be necessary.
Update January 2011: Outlined in their blog post, which says:
It is important to note that if
, your login has a backslash , you must save it from a backslash , such as:
< Code> git config --global http.proxy http: // domain \\\ Login: password @ our-proxy-server: 8088
Comments
Post a Comment