【发布时间】:2015-05-21 23:19:07
【问题描述】:
我目前在 OS X Yosemite 10.10.3 上,并尝试 git clone 一个在 Windows 上运行良好的现有 repo。我尝试了通过自制软件和 curl/openssl 安装 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
提前感谢您的任何指导!
【问题讨论】:
-
This post 可能有用。
-
http://myURL/gitlab/project/project.git- 请发布您用于连接服务器的确切 URL。通过单击编辑将其添加到您的问题中(不要将其作为评论发布)。否则,没有足够的信息来帮助解决问题。 -
感谢您的输入,不幸的是,我无法将确切的 URL 发布为私有 repo :(。但是,它是一个带有标准 repo 的 gitlab 实例,没什么特别的。我能够从这个 repo 克隆Windows 和其他操作系统,出于某种原因,不是优胜美地。
-
JavaBrett - 您的链接让我接近答案,谢谢!
标签: git curl openssl osx-yosemite gitlab