1

I have setup a cntlm based proxy on my system. I've pointed git to use this proxy by adding following to my .gitconfig file.

[http]
       proxy = http://:@localhost:3128

However when I run git clone from commandline it shows me this error -

error: Failed connect to github.com:443; Connection timed out while accessing

I've tested the proxy with firefox and it works.

How do I find out more information about why git is failing? Where do I see the logs for git client.

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
Kshitiz Sharma
  • 17,947
  • 26
  • 98
  • 169

1 Answers1

0

You can try the syntax without ':', and set it for http and https, as illustrated in "How to point Git to use cntlm"

git config --global https.proxy http://localhost:3128
git config --global http.proxy http://localhost:3128

You can also run cntlm.exe -v to see what is going on.
As well as setting GIT_TRACE=2 before doing the git clone.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I tried `export GIT_TRACE=2` and it shows trace level log messages. See this question [here](http://stackoverflow.com/q/15440291/1345655). – Kshitiz Sharma Apr 09 '14 at 07:32