连接超时时间为" ./ rebar get-deps" /编译EJabberd

时间:2015-06-02 11:28:52

标签: ejabberd rebar

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

提到的步骤进行操作

但是,这会在执行" make"时中止连接超时错误。 以下是来自命令提示符的错误snipet:

*

[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链接坏了。请帮助!

1 个答案:

答案 0 :(得分:0)

您应该尝试使用https://而不是git://

替换依赖链接到Github

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