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 version 1.9.1
答案 0 :(得分:1)
问题是公司代理doin ssl检查github连接