【问题标题】:gitorious fatal error when accessing remotely远程访问时出现严重的致命错误
【发布时间】:2012-11-28 01:33:55
【问题描述】:

我刚刚安装了一个新的 gitorious 服务器。从局域网内部,我可以毫无问题地拉\推。但是从局域网外部我得到:

== Gitorious: ==========================================================
fatal error
========================================================================

fatal: The remote end hung up unexpectedly

gitorious_auth.log中发现如下错误:

FATAL -- : NoMethodError private method `gsub!' called for nil:NilClass: /opt/bitnami/apps/gitorious/htdocs/script/../lib/gitorious/ssh/client.rb:34:in `initialize'

这是什么意思,我该如何解决?怎么只有远程访问才会出现?

【问题讨论】:

    标签: bitnami gitorious


    【解决方案1】:

    我现在相信问题的根本原因是我在 url 中使用了 : 而不是 /。比如我用过:

    git@[domain]:[proj]/[repo.git]
    

    代替:

    git@[domain]/[proj]/[repo.git]
    

    我不知道为什么远程访问时这很重要,而当我在 LAN 中时却没有...

    【讨论】:

      猜你喜欢
      • 2015-08-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-01
      • 2015-06-29
      • 2018-11-02
      • 2017-09-03
      • 2022-01-21
      相关资源
      最近更新 更多