【问题标题】:Connection Timeout at "./rebar get-deps" / compiling EJabberd“./rebar get-deps”处的连接超时/编译 EJabberd
【发布时间】:2015-08-16 04:07:57
【问题描述】:

我正在尝试在 CentOS6 上编译 eJabberd。我正在按照@ [https://www.process-one.net/docs/ejabberd/guide_en.html#htoc12][1]

中提到的步骤进行操作

但是,这会在执行“make”时因连接超时错误而中止。 以下是来自命令提示符的错误片段:

*

[root@CentOS-6-64-EN ejabberd-15.04]# make
rm -rf deps/.got
rm -rf deps/.built
/usr/lib64/erlang/bin/escript rebar get-deps && :> deps/.got
==> rel (get-deps)
==> ejabberd-15.04 (get-deps)
Pulling p1_cache_tab from {git,"git://github.com/processone/cache_tab",
                               "cca096330ce39e8b56fe0e0c478df1ff452e7751"}
github.com[0: 192.30.252.131]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Initialized empty Git repository in /root/Desktop/eJabberd/ejabberd-15.04/deps/p1_cache_tab/.git/
ERROR: git clone -n git://github.com/processone/cache_tab p1_cache_tab failed with error: 128 and output:
github.com[0: 192.30.252.131]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Initialized empty Git repository in /root/Desktop/eJabberd/ejabberd-15.04/deps/p1_cache_tab/.git/
ERROR: 'get-deps' failed while processing /root/Desktop/eJabberd/ejabberd-15.04: rebar_abort
make: *** [deps/.got] Error 1

*

在尝试命令“./rebar get-deps”时,我得到相同的连接超时错误。 我的网络连接很好,似乎 github 链接已损坏。请帮忙!

【问题讨论】:

    标签: ejabberd rebar


    【解决方案1】:

    您应该尝试使用 https:// 而不是 git:// 替换到 Github 的依赖链接

    它应该可以解决您的问题。 我们将检查项目以确保我们所有的依赖项都使用 https url 方案而不是 ssh。

    【讨论】:

      猜你喜欢
      • 2013-07-03
      • 2013-12-26
      • 1970-01-01
      • 2013-12-11
      • 2013-01-03
      • 2012-05-02
      • 2011-10-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多