Gitlab 无法正常 push 后台有 Ruby 报错 求定位问题

2015-08-13 11:34:01 +08:00
 WhySoSilent

/opt/gitlab-7.6.2-0/ruby/2.0.0/net/protocol.ry:158:in"rescue in rbuf_fill":Net::ReadTimeout (Net::ReadTimeout)

remote: from /opt/gitlab-7.6.2-0/ruby/lib/ruby/2.0.0/net/protocol.rb:152:in 'rbuf_fill'

.....

remote from /opt/gitlab-7.6.2-0/apps/gitlab/gitlab-shell/lib/gitlab_accress.rb:21:in 'exec'
remote: from hooks/pre-receive:13:in'<main>'

[中间...部分为git命令行无法复制,完整截图在此 ~ ]
http://pan.baidu.com/s/1mg3phRM

4787 次点击
所在节点    Ruby on Rails
5 条回复
msg7086
2015-08-13 11:38:54 +08:00
看着好像就是http访问超时啊。
你从服务器上能连到目标地址么?
zhicheng
2015-08-13 11:44:58 +08:00
经常遇到,重启一下吧。也可以提高一下服务器配置。
takashiki
2015-08-13 12:48:04 +08:00
我们也遇到过,重启之后好了
bdnet
2015-08-13 14:05:19 +08:00
网络超时?

看起来是 gitlab-shell API 不能访问。之前貌似遇到过,忘记怎么解决了。

好像也是重启解决。

另外建议升级版本 GitLab都7.13了
adaibee
2015-08-13 14:11:56 +08:00
为什么push 不走git协议?

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

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

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

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

© 2021 V2EX