os:ubuntu 12
gitlab:5.3.0
error info:
/usr/local/lib/ruby/2.0.0/net/http.rb:878:in `initialize': No route to host - connect(2) (Errno::EHOSTUNREACH) from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `open' from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `block in connect' from /usr/local/lib/ruby/2.0.0/timeout.rb:52:in `timeout' from /usr/local/lib/ruby/2.0.0/net/http.rb:877:in `connect' from /usr/local/lib/ruby/2.0.0/net/http.rb:862:in `do_start' from /usr/local/lib/ruby/2.0.0/net/http.rb:851:in `start' from /home/git/gitlab-shell/lib/gitlab_net.rb:62:in `get' from /home/git/gitlab-shell/lib/gitlab_net.rb:17:in `allowed?' from /home/git/gitlab-shell/lib/gitlab_shell.rb:60:in `validate_access' from /home/git/gitlab-shell/lib/gitlab_shell.rb:23:in `exec' from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>' fatal: The remote end hung up unexpectedly内网服务器在搬迁之前是能正常提供服务,但是搬迁之后,修改了IP地址,其他都没有变化
服务启动之后,web的访问没有任何问题,但是客户端远程git clone工程就会报错。
我遇到的错误跟你差不多,求解答
root@AY13102515245237131fZ:/home/git/gitlab-shell#./bin/checkCheckGitLabAPIaccess:/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`initialize':Connectionrefused-connect(2)(Errno::ECONNREFUSED)from/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`open'from/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`blockinconnect'from/usr/local/lib/ruby/2.0.0/timeout.rb:52:in`timeout'from/usr/local/lib/ruby/2.0.0/net/http.rb:877:in`connect'from/usr/local/lib/ruby/2.0.0/net/http.rb:862:in`do_start'from/usr/local/lib/ruby/2.0.0/net/http.rb:851:in`start'from/home/git/gitlab-shell/lib/gitlab_net.rb:62:in`get'from/home/git/gitlab-shell/lib/gitlab_net.rb:29:in`check'from./bin/check:11:in`<main>'我遇到的错误跟你差不多,求解答
root@AY13102515245237131fZ:/home/git/gitlab-shell#./bin/checkCheckGitLabAPIaccess:/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`initialize':Connectionrefused-connect(2)(Errno::ECONNREFUSED)from/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`open'from/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`blockinconnect'from/usr/local/lib/ruby/2.0.0/timeout.rb:52:in`timeout'from/usr/local/lib/ruby/2.0.0/net/http.rb:877:in`connect'from/usr/local/lib/ruby/2.0.0/net/http.rb:862:in`do_start'from/usr/local/lib/ruby/2.0.0/net/http.rb:851:in`start'from/home/git/gitlab-shell/lib/gitlab_net.rb:62:in`get'from/home/git/gitlab-shell/lib/gitlab_net.rb:29:in`check'from./bin/check:11:in`<main>'我找到原因,就是需要把所有需要修改IP的地方都修改一次搜索git安装目录下面的所有文件,查询可能有的以前服务器IP地址的文件,全部替换,即可!我遇到的错误跟你差不多,求解答
root@AY13102515245237131fZ:/home/git/gitlab-shell#./bin/checkCheckGitLabAPIaccess:/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`initialize':Connectionrefused-connect(2)(Errno::ECONNREFUSED)from/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`open'from/usr/local/lib/ruby/2.0.0/net/http.rb:878:in`blockinconnect'from/usr/local/lib/ruby/2.0.0/timeout.rb:52:in`timeout'from/usr/local/lib/ruby/2.0.0/net/http.rb:877:in`connect'from/usr/local/lib/ruby/2.0.0/net/http.rb:862:in`do_start'from/usr/local/lib/ruby/2.0.0/net/http.rb:851:in`start'from/home/git/gitlab-shell/lib/gitlab_net.rb:62:in`get'from/home/git/gitlab-shell/lib/gitlab_net.rb:29:in`check'from./bin/check:11:in`<main>'版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。