【问题标题】:git clone fails with Operation timed out after 0 milliseconds with 0 out of 0 bytes receivedgit clone 失败,操作在 0 毫秒后超时,收到 0 个字节中的 0 个字节
【发布时间】:2016-03-18 12:40:43
【问题描述】:

git clone 失败:

GIT_CURL_VERBOSE=1 git clone https://github.com/swagger-api/swagger-ui.git Cloning into 'swagger-ui'... * Couldn't find host github.com in the .netrc file; using defaults * Hostname was NOT found in DNS cache * Trying 192.30.252.129... * Connected to github.com (192.30.252.129) port 443 (#0) * found 174 certificates in /etc/ssl/certs/ca-certificates.crt * Operation timed out after 0 milliseconds with 0 out of 0 bytes received * Closing connection 0 fatal: unable to access 'https://github.com/swagger-api/swagger-ui.git/': Operation timed out after 0 milliseconds with 0 out of 0 bytes received

我试过export GIT_SSL_NO_VERIFY=1,但还是同样的问题。

我在 Ubuntu 14:04 上使用 git 版本 1.9.1

【问题讨论】:

  • "found 174 certificate in /etc/ssl/certs/ca-certificates.crt" 您的 ssh 证书可能有问题。尝试使用其他协议克隆它

标签: git


【解决方案1】:

问题是公司代理做 ssl 检查 github 连接

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2017-10-28
  • 2017-08-31
  • 2021-07-04
  • 2020-09-07
  • 1970-01-01
  • 1970-01-01
  • 2014-04-24
  • 1970-01-01
相关资源
最近更新 更多