美文网首页
GitHub time out问题解决

GitHub time out问题解决

作者: TTTRX | 来源:发表于2019-11-24 22:33 被阅读0次

环境:WIN10,使用了 梯-子,开着 梯-子进行pull origin master,结果报错:

fatal: unable to access 'https://github.com/xxx.git/': Failed to connect to github.com port 443: Timed out

解决方案

  1. 配置 git 的代理

git config --global http.proxy "127.0.0.1:1080"
git config --global https.proxy "127.0.0.1:1080"

这里,梯 子 要始终开着

  1. 使用 https 方式 clone

git clone https://github.com/xxx.git

注意:这里必须使用 https 方式, ssh 方式即使配置了 git 的代理也不好使。。

后续

后来GitHub又能访问了...
我们开 梯- 子,然后出现了如下错误:

fatal: unable to access 'https://github.com/FengGuanxi/HDU-Experience.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused

于是我还得改回去,那么取消代理的命令是:

git config --global --unset http.proxy
git config --global --unset https.proxy

然后就OK了

参考链接

git clone Timed out 解决
git 设置和取消代理

支付宝红包码,你领红包我赚赏金;土豪请任意收钱码打赏

相关文章

  • GitHub time out问题解决

    环境:WIN10,使用了 梯-子,开着 梯-子进行pull origin master,结果报错: fatal: ...

  • 访问github 443 time out

    github 443 方案一 如果方案一添加host 还感觉慢,在host中删除 140.82.112.4 git...

  • Android Studio read time out 解决办

    read time out 问题解决办法最近在使用更新了后的Androidstudio 编写程序的时候 发现 gr...

  • Android Studio read time out 解决办

    read time out 问题解决办法 最近在使用更新了后的Androidstudio 编写程序的时候 发现 g...

  • Bruce Willis on A Good Day to Di

    作者:Dave Calhoun(Time Out London电影编辑) 编译:haru 刊于:Time Out ...

  • Time out

    最近一个半月看了四本书:《能力陷阱》《吸金广告》和华生的二本《行为主义理论》,总觉得思考要付诸于行动,所以...

  • My father

    To be honest, time is running out too fast. The last time...

  • 2017.10.26

    time to get out,for my life

  • seasons out of time

    图书馆后面的小池盛开了一片荷,南医的六月下了一场场雨。还没准备,毕业季就这样来了。嗯~需要准备吗? 时间到了我们就...

  • Time Is Running Out!

    Just do this one simple exercise, if you do this, you wil...

网友评论

      本文标题:GitHub time out问题解决

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