SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

后端 未结 14 1234
傲寒
傲寒 2020-11-30 00:08

Since a few days I got an issue with Mac OS High Sierra 10.13.3 : When I run a git clone like git clone github.com/xxx.git failed it print:

14条回答
  •  庸人自扰
    2020-11-30 00:29

    Same problem here, it turned out to be my incorrectly configured proxy settings, here's how to check and remove them.

    First open your git config file.

    vi ~/.gitconfig
    

    and find out whether the [http] or [https] sections are set.

    I used to set proxies for git due to slow access to Github in China, however, lately I changed my local proxy ports but I forgot my git settings.

    If you have incorrect proxy settings and decide to remove it, simply execute:

    git config --global --unset http.proxy
    git config --global --unset https.proxy
    

    Things will work just fine.

提交回复
热议问题