ruby - getaddrinfo: No addre ss associated with hostname (SocketError) -


i need help. have trouble when try push sources exist repository on gitlab hosting. when do

ssh -vt git@git.host.org 

or

git push -u origin master #in repository folder 

i see

 /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `initialize': getaddrinfo: no addre ss associated hostname (socketerror)         /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `open'         /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'         /usr/local/lib/ruby/2.0.0/timeout.rb:52:in `timeout'         /usr/local/lib/ruby/2.0.0/net/http.rb:877:in `connect'         /usr/local/lib/ruby/2.0.0/net/http.rb:862:in `do_start'         /usr/local/lib/ruby/2.0.0/net/http.rb:851:in `start'         /home/git/gitlab-shell/lib/gitlab_net.rb:62:in `get'         /home/git/gitlab-shell/lib/gitlab_net.rb:24:in `discover'         /home/git/gitlab-shell/lib/gitlab_shell.rb:77:in `user'         /home/git/gitlab-shell/lib/gitlab_shell.rb:82:in `username'         /home/git/gitlab-shell/lib/gitlab_shell.rb:36:in `exec' 

how can solve it? thanks.

not sure if you're using gitlab/gitlabhq , getting error. got error when using gitlab. in config.yml in /home/git/gitlab-shell/config.yml had typed gitlab_url wrong.


Comments