git clone fails with Operation timed out after 0 milliseconds with 0 out of 0 bytes received

夙愿已清 提交于 2021-02-11 07:41:21

问题


git clone fails with:

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

I've tried export GIT_SSL_NO_VERIFY=1 but still same issue.

I'm on Ubuntu 14:04 and using git version 1.9.1


回答1:


The issue was the company proxy doin ssl inspection the github connection



来源:https://stackoverflow.com/questions/36084657/git-clone-fails-with-operation-timed-out-after-0-milliseconds-with-0-out-of-0-by

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!