Git Bash on windows 7 behind proxy no longer works

I am in window 7, 32 bits and work as a proxy. I just upgraded my git client (Git Bash) to Git-1.8.3-preview20130601 and all of a sudden I get the following error when I try to push / pull:

 fatal: unable to access 'https://github.com/User/simple_timesheets.git/: Received HTTP code 407 from proxy after Connect 

I was able to do this just fine before updating, and even when I tried to revert to the latest version that I think I had, I still get the error. When I run git config -l , it lists the following variables (among other things):

 user.name=MyName user.email=My@email.com http.proxy=http://user: password@server :port core.autocrlf=true https.proxy=http://user: password@server :port http.sslcainfo=/bin/curl-ca-bundle.crt 

Which is strange that I seem to be able to use the Git Bash client for curling just fine

 curl finance.yahoo.com --proxy http://user: password@server :port 

and it can even be twisted into a fake https site that I installed on my computer:

 curl https://localhost:3000 --insecure 

Any ideas what I am missing? Thanks


EDIT:

I could be wrong, but I think that in version 1.8.3 there might be a twist problem. I uninstalled all the git related applications that I could come up with on my computer and installed Git-1.8.0-preview20121022 , performed a repo attempt and was successful.

For a giggle, I deleted the working version and saved the certificate file; then reinstalled version 1.8.3 to find out if this is related to this, but I got the same error that I originally tried to resolve.

In addition, after reinstalling version 1.8.0, I tried to twist the https website (gmail) with the following command: curl https://www.gmail.com --proxy http://user: pass@server :port , which was successful. When I did this under 1.8.3, I got an error about code 407. The version switch seems to have solved this.

+4
source share
1 answer

I had the same problem as when using two proxy filters:

"- proxy or -x" and "--proxy-user".

 curl -x http://proxyserverurl:port --proxy-user username:password -L http://url 

Although what you tried is also not mistaken, it may not be compatible with your version of curl.

Hope this helps!

+1
source

Source: https://habr.com/ru/post/1497863/


All Articles