git pull / push 失败

2021-11-06 14:02:48 +08:00
 xiaoming1992

git 往 ssh push 时报错:

ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

git 往 https push 时报错:

fatal: unable to access 'https://github.com/XXX/XXX.git/': Failed to connect 
to github.com port 443: Timed out
1001 次点击
所在节点    GitHub
7 条回复
GzhiYi
2021-11-06 15:19:59 +08:00
你需要飞机
christin
2021-11-06 16:20:03 +08:00
网络不好 连不上 GitHub
soraginko
2021-11-06 18:55:23 +08:00
破事水
xiaoming1992
2021-11-06 22:31:38 +08:00
@christin
@GzhiYi
浏览器访问正常
whileFalse
2021-11-07 07:19:13 +08:00
是不是之前用 http 地址,现在配置成 ssh 地址了?
heroin80s
2021-11-16 11:50:06 +08:00
access token ?
xiaoming1992
2021-11-20 01:22:29 +08:00
@heroin80s 加过了,那天很奇怪,过后就好了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/813485

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX