Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

No push, pull, clone, .. possible #20

phste opened this Issue Mar 21, 2013 · 5 comments


None yet
5 participants

phste commented Mar 21, 2013


I updated GitLab today to 5.0 so I also installed gitlab-shell. But when I do
sudo -u git -H /home/git/gitlab-shell/bin/check
I get this error message.
check GitLab API access: /usr/local/lib/ruby/1.9.1/net/http.rb:762:in initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from /usr/local/lib/ruby/1.9.1/net/http.rb:762:inopen'
from /usr/local/lib/ruby/1.9.1/net/http.rb:762:in block in connect' from /usr/local/lib/ruby/1.9.1/timeout.rb:54:intimeout'
from /usr/local/lib/ruby/1.9.1/timeout.rb:99:in timeout' from /usr/local/lib/ruby/1.9.1/net/http.rb:762:inconnect'
from /usr/local/lib/ruby/1.9.1/net/http.rb:755:in do_start' from /usr/local/lib/ruby/1.9.1/net/http.rb:744:instart'
from /home/git/gitlab-shell/lib/gitlab_net.rb:42:in get' from /home/git/gitlab-shell/lib/gitlab_net.rb:28:incheck'
from /home/git/gitlab-shell/bin/check:11:in `


GitLab itself is working fine

Wattos commented Mar 23, 2013

I just had the exact same problem.

It was a problem with the reverse proxy configuration. I had to remove the listen line:

server {
listen default_server; # e.g., listen; <-- comment this line out

And then it works fine

This error is related with Issue #3384 (gitlabhq/gitlabhq#3384).

djgreg13 commented Apr 2, 2013

I have fixed the #3384 issue but the ssh error still here


Razer6 commented Jun 23, 2013

@phste Is it still an error?

phste commented Jun 23, 2013

I managed to resolve it some time ago, but i don't exactly how and I forgot to close here sorry.

@phste phste closed this Jun 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment