Git:与bitbucket.org:443相关的未知SSL协议错误

时间:2016-01-08 16:16:47

标签: git ubuntu ssl proxy bitbucket

在Ubuntu 15.10上使用git 2.5.0,我想从公司防火墙后面克隆我的存储库:

git clone https://<me>@bitbucket.org/etc/etc.git

代理设置必须正确,因为我经常在同一硬件上的同一公司代理后面使用它们 - 然后使用Ubuntu 14.10。

该过程因给定错误而中断(参见标题)。日志跟踪如下:

* Cloning into '<MY-REPO>'...
* Couldn't find host bitbucket.org in the .netrc file; using defaults
*   Trying     [...]
* Connected to [...]
* Establish HTTP proxy tunnel to bitbucket.org:443
> CONNECT bitbucket.org:443 HTTP/1.1
Host: bitbucket.org:443
User-Agent: git/2.5.0
Proxy-Connection: Keep-Alive

< HTTP/1.1 200 Connection Established
< Proxy-Agent: IWSS
< Date: Fri, 08 Jan 2016 16:04:05 GMT
< 
* Proxy replied OK to CONNECT request
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: /etc/ssl/certs
* Unknown SSL protocol error in connection to bitbucket.org:443 
* Closing connection 0

仅供参考:在此错误出现之前我还有一个 - gnutls_handshake() failed,它是通过使用openssl而不是gnutls编译git来解决的。

感谢您提供有关如何解决此错误的任何提示。

0 个答案:

没有答案