git clone或者pod install涉及到github仓库下载遇到SSL_ERROR_SYSCALL相关错误,但网络可以正常访问github,一般有如下错误提示:


网上找了很多方法也尝试了很多(这里特别想踩一下CSDN),都无法解决。后面在stackoverflow搜一下,立马得到解决。这里贴一下原帖:
https://stackoverflow.com/questions/48987512/ssl-connect-ssl-error-syscall-in-connection-to-github-com443
原因是使用了LibreSSL
来进行加密请求,新电脑没有curl-openssl
,可以使用homebrew来安装:
brew install curl-openssl
安装成功后即可正常加密请求github仓库资源了。
网友评论