git clone git clone github.com/xxx.git 失败
报错信息 LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
openssl version
LibreSSL 2.2.7
curl https://github.com -v // curl mac的命令,可以访问url ,看能联通github嘛;
Rebuilt URL to: https://github.com/
- Trying 192.30.255.112...
- TCP_NODELAY set
- Connected to github.com (192.30.255.112) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
- successfully set certificate verify locations:
- CAfile: /etc/ssl/cert.pem
CApath: none - TLSv1.2 (OUT), TLS handshake, Client hello (1):
- LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- stopped the pause stream!
- Closing connection 0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Finally Resolute
I update with brew, libressl, openssl and curl and reboot my machine. It's now working.