SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

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

    I would suggest updating git. If you downloaded the .pkg then be sure to uninstall it first.

    0 讨论(0)
  • 2020-11-30 00:20

    I had this similar error when using wget ..., and after much unfruitful searching in the Internet, I discovered that it was happening when hostnames were being resolved to IPv6 addresses. I discovered this by comparing the outputs of wget ... in two machines, one was resolving to IPv4 and it worked there, the other was resolving to IPv6 and it failed there.

    So the solution in my case was to run networksetup -setv6off Wi-Fi on macOS High Sierra 10.13.6. (I discovered this command in this page).

    Hope this helps you.

    0 讨论(0)
  • 2020-11-30 00:20

    same issue with KAV. Restart it solved the pb.

    0 讨论(0)
  • 2020-11-30 00:20

    The problem for me seems to have been how the user has been setup on my local machine to. Using the command
    git push -u origin master
    was causing the error. Removing the switch -u to have
    git push origin master
    solved it for me. It can be scary to imagine how user setup can result in an error related to LibreSSL.

    0 讨论(0)
  • 2020-11-30 00:23

    I just turned off VPN and it solved the issue.

    0 讨论(0)
  • 2020-11-30 00:25

    From https://github.com/Homebrew/brew/issues/4436#issuecomment-403194892

    Issue solved by setting this env variable:

    export HOMEBREW_FORCE_BREWED_CURL=1
    
    0 讨论(0)
提交回复
热议问题