[英]git clone over HTTPs timeout
I'm using git clone over HTTPs 我在HTTP上使用git clone
git clone https://github.com/BoltsFramework/Bolts-iOS.git
and get this 得到这个
Failed connect to github.com:443;
连接到github.com失败了:443; Operation timed out
操作超时
The problem is it fails 9 of out 10 times. 问题是10次失败9次。 VERY UNPREDICTABLE.
非常难以置信。 I updated to use
homebrew git version 2.0.1
and openssl seems up to date 我更新了使用
homebrew git version 2.0.1
和openssl似乎是最新的
OpenSSL 0.9.8za 5 Jun 2014 built on: Aug 10 2014 platform: darwin64-x86_64-llvm
OpenSSL 0.9.8za 2014年6月5日版本:2014年8月10日平台:darwin64-x86_64-llvm
I have these in my .gitconfig file 我在.gitconfig文件中有这些
[credential]
helper = osxkeychain
[http]
sslVerify = false
postBuffer = 524288000
[https]
sslVerify = false
postBuffer = 524288000
But the problem still exists. 但问题仍然存在。 This leads to problem like this Attempt to read non existent folder
这导致像这样的问题尝试读取不存在的文件夹
How to fix this ? 如何解决这个问题?
Are you at work behind a proxy? 你在代理背后工作吗? Have you tried running the same command on an alternate connection, say your home or friend's Broadband/Cable internet or your mobile phone tethered?
您是否尝试在备用连接上运行相同的命令,例如您的家庭或朋友的宽带/有线互联网或您的手机系绳?
I've had a lot similar issues and a corporate proxy was usually the main culprit. 我有很多类似的问题,公司代理通常是罪魁祸首。 I say this because when something so widely used and available as github is involved it's most likely something on your side and not github.
我这样说是因为当涉及广泛使用并且可以作为github使用的东西时,它很可能是你身边的东西而不是github。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.