git clone或者pod install涉及到github倉庫下載遇到SSL_ERROR_SYSCALL相關(guān)錯誤,但網(wǎng)絡(luò)可以正常訪問github榛泛,一般有如下錯誤提示:
錯誤日志1
錯誤日志2
網(wǎng)上找了很多方法也嘗試了很多(這里特別想踩一下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倉庫資源了议薪。