gpt4 book ai didi

git clone 通过 HTTPs 超时

转载 作者:太空狗 更新时间:2023-10-29 14:19:04 24 4
gpt4 key购买 nike

我正在通过 HTTPs 使用 git clone

git clone https://github.com/BoltsFramework/Bolts-iOS.git

得到这个

Failed connect to github.com:443; Operation timed out

问题是它失败了 10 次中的 9 次。非常不可预测。我更新为使用 homebrew git version 2.0.1 并且 openssl 似乎是最新的

OpenSSL 0.9.8za 5 Jun 2014 built on: Aug 10 2014 platform: darwin64-x86_64-llvm

我的 .gitconfig 文件中有这些

[credential]
helper = osxkeychain
[http]
sslVerify = false
postBuffer = 524288000
[https]
sslVerify = false
postBuffer = 524288000

但是问题依然存在。这会导致这样的问题 Attempt to read non existent folder

如何解决这个问题?

最佳答案

您在代理后工作吗?您是否尝试过在备用连接上运行相同的命令,比如说您家或 friend 的宽带/有线互联网或您的手机?

我遇到过很多类似的问题,而公司代理通常是罪魁祸首。我这样说是因为当涉及到像 github 这样广泛使用和可用的东西时,它很可能是你这边的东西,而不是 github。

关于git clone 通过 HTTPs 超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26317183/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com