有用 Bitbucket 的老哥吗?你们最近使用正常吗?

2024-03-06 14:38:14 +08:00
 liuguangxuan

公司的代码托管在 Bitbucket 上,大概从过了年之后,使用 git 同步 Bitbucket 上的代码就断断续续的,有时候好使,有时候不好使。

$ git pull
Connection reset by xx.xx.xx.xx port 22
fatal: Could not read from remote repository.

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

有没有使用 Bitbucket 的老哥,你们使用正常吗?

1760 次点击
所在节点    git
10 条回复
dif
2024-03-06 14:46:30 +08:00
如果你们公司在国内,为啥要选 bitbucket 。既然选了,那就备好梯子~~~
我个人只用来备份得,目前没问题,你这个问题可能是最近开会得原因吧。
sayitagain
2024-03-06 14:58:23 +08:00
我的眼睛居然把 Bitbucket 自动解析成了 Bitwarden...
tedzhou1221
2024-03-06 15:05:14 +08:00
@sayitagain 我也是。。。。
edwardhodges
2024-03-06 15:11:36 +08:00
bitbucket 、GitHub 都要梯子好才能正常访问的。公司代码不是一般都在国内的服务器上面吗?
zyh94946
2024-03-06 15:14:14 +08:00
这是什么正经代码还放到 Bitbucket 去
ashrkq
2024-03-06 15:42:06 +08:00
可能网络对 22 端口有什么限制吧,你换成 https 的试下。
dcdlove
2024-03-06 16:05:18 +08:00
@sayitagain 我也是哈哈
liuguangxuan
2024-03-07 08:39:13 +08:00
@dif #1 多谢老哥,可能真的是开会的原因,公司是联通的网络,切换到移动的网络就好了。
不过有一事不明白,想请教老哥:我按你说的,使用梯子,已经在~/.ssh/config 文件中配置了 git 的代理,走梯子的流量,但是 git 使用仍然报上述错误,这种情况下防火墙是如何检测出来的?还是我设置的不正确。
dif
2024-03-07 14:35:01 +08:00
@liuguangxuan 这就不清楚了,我用的 clash
```bash
#使用 socks5 代理(推荐)
git config --global http.https://github.com.proxy socks5://127.0.0.1:7890
```
liuguangxuan
2024-03-07 15:27:06 +08:00
@dif #9 好的,多谢。

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

https://ex.noerr.eu.org/t/1021107

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

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

© 2021 V2EX