V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
WhySoSilent
V2EX  ›  Ruby on Rails

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

  •  
  •   WhySoSilent · 2015-08-13 11:34:01 +08:00 · 4751 次点击
    这是一个创建于 3150 天前的主题,其中的信息可能已经有所发展或是发生改变。

    /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

    第 1 条附言  ·  2015-08-13 17:51:10 +08:00
    [问题已解决]

    问题是由于之前提交的一个仓库存在重复仓库,导致冲突造成的,谢谢大家回复 ~
    5 条回复    2015-08-13 14:11:56 +08:00
    msg7086
        1
    msg7086  
       2015-08-13 11:38:54 +08:00
    看着好像就是http访问超时啊。
    你从服务器上能连到目标地址么?
    zhicheng
        2
    zhicheng  
       2015-08-13 11:44:58 +08:00
    经常遇到,重启一下吧。也可以提高一下服务器配置。
    takashiki
        3
    takashiki  
       2015-08-13 12:48:04 +08:00
    我们也遇到过,重启之后好了
    bdnet
        4
    bdnet  
       2015-08-13 14:05:19 +08:00
    网络超时?

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

    好像也是重启解决。

    另外建议升级版本 GitLab都7.13了
    adaibee
        5
    adaibee  
       2015-08-13 14:11:56 +08:00
    为什么push 不走git协议?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3117 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:35 · PVG 08:35 · LAX 17:35 · JFK 20:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.