SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

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

    I experienced this while trying to clone from an enterprise repository, and simply restarting the terminal solved it for me.

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

    for me, that's caused by the SSL certificate not enabled in the K8S ingress. hope this helps someone

    0 讨论(0)
  • 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.

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

    A simple restart fixed it for me. I'm not sure what was the problem since I work with so much software but I have a feeling it was the VPN software or maybe the fact I put my laptop in sleep a lot and some file was corrupted. I really don't know but the restart fixed it.

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

    Hi everyone I found the solution regarding this github issue and it works for me no longer able to use private ssh key

    Try following theses steps:

    1 - Use HTTPS if possible. That will avoid SSH keys entirely.
    2 - Manually add the SSH key to the running SSH agent. See manually generate ssh key
    3 - If the two others doesn't work, delete all your ssh keys and generate some new one thats what I did after weeks of issues.

    Hope it will help you..

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

    I have a similar issue and I just found that in my case it may be the antivirus that creates an issue.

    At some moment I've got the same error while trying to pull some data from github.com.

    I knew that Kaspersky is intercepting the SSL connections to check for malicious content from the sites and I decided to disable it, but I found that KAV is hung and not really responding, so I just closed Kaspersky and tried to connect to github.com again and alas! I was able to connect successfully to GitHub.

    So in you case it may be a similar issue.

    0 讨论(0)
提交回复
热议问题