美文网首页
git clone报错解决,failed to connect

git clone报错解决,failed to connect

作者: 水他 | 来源:发表于2023-06-24 11:05 被阅读0次

    报错:

    git clone https://github.com/danswer-ai/danswer.git
    Cloning into 'danswer'...
    fatal: unable to access 'https://github.com/danswer-ai/danswer.git/': Failed to connect to github.com port 443: Operation timed out
    

    配置代理解决
    本地有代理proxy,所以配置本地代理

    git config --global http.proxy http://127.0.0.1:10080
    git config --global https.proxy https://127.0.0.1:10080
    

    之后重新git clone已经ok

    git clone https://github.com/danswer-ai/danswer.git
    Cloning into 'danswer'...
    remote: Enumerating objects: 2215, done.
    remote: Counting objects: 100% (699/699), done.
    remote: Compressing objects: 100% (272/272), done.
    Receiving objects:  73% (1617/2215), 1.81 MiB | 44.00 KiB/s
    

    相关文章

      网友评论

          本文标题:git clone报错解决,failed to connect

          本文链接:https://www.haomeiwen.com/subject/ockbydtx.html