Git克隆在OS X Yosemite上出现sslRead()错误,失败

粉红色

我目前在OS X Yosemite 10.10.3上运行,并尝试git克隆一个在Windows上运行良好的现有存储库。我试过通过curl / openssl通过homebrew安装git的组合,但是没有运气。当我运行git clone时,出现以下ssl读取错误:

GIT_CURL_VERBOSE=1 git clone http://myURL/gitlab/project/project.git

> remote: Counting objects: 1641, done. remote: Compressing objects:
> 100% (1588/1588), done.
> * SSLRead() return error -98061641), 136.73 MiB | 1.71 MiB/s    
> * Closing connection 2 remote: Total 1641 (delta 910), reused 0 (delta 0) error: RPC failed; result=56, HTTP code = 200 Receiving objects:
> 100% (1641/1641), 137.48 MiB | 1.64 MiB/s, done. Resolving deltas:
> 100% (910/910), done.

我试过使用Https和Http都没有运气。还有其他人打过类似的东西吗?

下面是git,curl和openssl版本的输出(如果有帮助的话)。

curl --version
curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz 

git --version
git version 2.4.1

openssl version
OpenSSL 0.9.8zd 8 Jan 2015

预先感谢您的指示!

粉红色

Javabrett的链接让我得到了答案,它围绕着Yosemite使用了错误的SSL依赖关系,而Git最终使用了SSL依赖关系。

通过带有这些标志的自制程序安装Git可以:

brew install git --with-brewed-curl --with-brewed-openssl

要么:

brew reinstall git --with-brewed-curl --with-brewed-openssl

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章