Github Clone Failed SSL_ERROR_SYSCALL in connection to github.com:443

Problem description

When using git to pull GitHub code, clone failed with the following error

fatal: unable to access 'https://github.com/xxx/xxx.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 

Causes

The proxy of HTTPS was set before

resolvent

Cancel the proxy for HTTPS and http

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

Finally, take a look at the global configuration of GIT

git config --global --list

Finally, try git clone . If it fails at the first time, you can re open a terminal for execution

Supplement

Git clone failed fatal: early EOF

This is because git does not have enough cache space. You can try to increase http. Postbuffer (by 500MB)


git config --global http.postBuffer 524288000

Read More: