Git error: fatal: unable to connect a socket (Invalid argument)

前端 未结 7 1110
情话喂你
情话喂你 2020-12-07 13:11

I\'ve got msysGit (Git on Windows) working just fine on my home machine, but at work, where we are behind a Microsoft ISA proxy, I get the following error when I do a git cl

7条回答
  •  长情又很酷
    2020-12-07 14:12

    I've managed to get it working via a very convoluted route. Here's how:

    1. I have OpenSSH running on my home machine (a Vista box) running under Cygwin
    2. I am using Bitvise Tunnelier's Dynamic tunneling via integrated SOCKS/HTTP CONNECT proxy.
    3. I then use Freecap (thanks Marko) to "SOCKify" GIT-GUI. Unfortunately, you have to setup each .exe individually and run them from within Freecap, so you can't univerally SOCKify all of the git command line tools. You can setup explicit command-line commands within Freecap, but you have to setup each individually, which kind of defeats the purpose. This is why I've just setup GIT-GUI in this crazy elaborate system

    Amazingly, it seems to work, although I've not tested everything yet. It'll clone, certainly, which is a start.

    If anyone has a better solution, I'm all ears.

提交回复
热议问题