首页 > 其他 > 详细

gitlab push时报错

时间:2014-05-30 04:03:02      阅读:470      评论:0      收藏:0      [点我收藏+]

1、报错信息:

  

bubuko.com,布布扣
Counting objects: 3, done.
Writing objects: 100% (3/3), 205 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in `initialize: getaddrinfo: No address associated with hostname (SocketError)
remote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in `openremote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in `block in connectremote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/timeout.rb:55:in `timeoutremote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/timeout.rb:100:in `timeoutremote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in `connectremote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/net/http.rb:756:in `do_startremote:     from /opt/gitlab-6.9.0-0/ruby/lib/ruby/1.9.1/net/http.rb:745:in `startremote:     from /opt/gitlab-6.9.0-0/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:76:in `getremote:     from /opt/gitlab-6.9.0-0/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:31:in `allowed?remote:     from /opt/gitlab-6.9.0-0/apps/gitlab/gitlab-shell/lib/gitlab_update.rb:39:in `execremote:     from hooks/update:13:in `<main>remote: error: hook declined to update refs/heads/master
To http://gitlab.ishopex.cn/gitlab/test3.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to http://gitlab.ishopex.cn/gitlab/test3.git
bubuko.com,布布扣

修改gitlab服务器的/etc/hosts

127.0.0.1 gitlab.ishopex.cn  #修改成自己的域名
127.0.1.1 gitlab.ishopex.cn  #修改成自己的域名

 

gitlab push时报错,布布扣,bubuko.com

gitlab push时报错

原文:http://www.cnblogs.com/jrsun/p/3757745.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!