SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

后端 未结 14 1235
傲寒
傲寒 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:34

    Since you're using LibreSSL, try re-installing curl with OpenSSL instead of Secure Transport.


    Latest Brew

    All options have been removed from the curl formula, so now you need to install via:

    brew install curl-openssl
    

    Older Brew

    Install curl with --with-openssl:

    brew reinstall curl --with-openssl
    

    Note: If above won't work, check brew options curl to display install options specific to formula.


    Here are few other suggestions:

    • Make sure you're not using http_proxy/https_proxy.
    • Use -v to curl for more verbose output.
    • Try using BSD curl at /usr/bin/curl, run which -a curl to list them all.
    • Make sure you haven't accidentally blocked curl in your firewall (such as Little Snitch).
    • Alternatively use wget.

提交回复
热议问题