Run the config file in some yaml checker. Yaml is very picky of 
intendentions if you have one extra space or less that would throw you an 
error. http://yamllint.com

On Saturday, 2 August 2014 22:04:09 UTC+3, Théo FIDRY wrote:
>
> I've got the same issue. The install wen smoothly, the only not working at 
> the test is :
>
> Check GitLab API access: /usr/local/lib/ruby/2.1.0/net/http.rb:879:in 
> `initialize': 
> Connection timed out - connect(2) for "git.mydomain.com" port 80 
> (Errno::ETIMEDOUT)
>
> from /usr/local/lib/ruby/2.1.0/net/http.rb:879:in `open'
> from /usr/local/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
> from /usr/local/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
> from /usr/local/lib/ruby/2.1.0/net/http.rb:878:in `connect'
> from /usr/local/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
> from /usr/local/lib/ruby/2.1.0/net/http.rb:852:in `start'
> from /home/git/gitlab-shell/lib/gitlab_net.rb:76:in `get'
> from /home/git/gitlab-shell/lib/gitlab_net.rb:43:in `check'
> from /home/git/gitlab-shell/bin/check:11:in `<main>'
> gitlab-shell self-check failed
>
>   Try fixing it:
>   Make sure GitLab is running;
>   Check the gitlab-shell configuration file:
>   sudo -u git -H editor /home/git/gitlab-shell/config.yml
>
>   Please fix the error above and rerun the checks.
>
>
> Installed on debian7 with Nginx & MySQL. Nothing found in the logs...
>
> Le jeudi 10 juillet 2014 19:00:41 UTC+2, Peter Zoltan Keresztes a écrit :
>>
>> Hello, 
>>
>> I am trying to push a project via ssh does not work on a brand new 
>> install of gitlab7. Here is the output 
>>
>> git -c diff.mnemonicprefix=false -c core.quotepath=false -c 
>> credential.helper=sourcetree push -v --set-upstream metty develop:develop 
>> master:master 
>>
>> Pushing to [email protected]:/root/vpsie_tools.git
>>
>> /usr/local/lib/ruby/2.1.0/net/http.rb:879:in `initialize': getaddrinfo: 
>> No address associated with hostname (SocketError)
>>
>> from /usr/local/lib/ruby/2.1.0/net/http.rb:879:in `open'
>>
>> from /usr/local/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
>>
>> from /usr/local/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
>>
>> from /usr/local/lib/ruby/2.1.0/net/http.rb:878:in `connect'
>>
>> from /usr/local/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
>>
>> from /usr/local/lib/ruby/2.1.0/net/http.rb:852:in `start'
>>
>> from /home/git/gitlab-shell/lib/gitlab_net.rb:76:in `get'
>>
>> from /home/git/gitlab-shell/lib/gitlab_net.rb:31:in `allowed?'
>>
>> from /home/git/gitlab-shell/lib/gitlab_shell.rb:59: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: Could not read from remote repository.
>>
>>
>> Please make sure you have the correct access rights
>>
>> and the repository exists.
>>
>> Completed with errors, see above
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/f3fa1b13-09cc-44e8-937a-a91953de86f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to