Hy, I have installed Gitlab. Everything it seems to be working, but I have a problem and I not found a solution.
I have a same problem, if I reinstall the OS and Gitlab furthermore if I install an oldest Gitlab version.
Here is the error:
gitlab-rake gitlab:check
Check GitLab API access: FAILED: Failed to connect to internal API
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /opt/gitlab/embedded/service/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
System information:
gitlab-rake gitlab:env:info
System: Debian 8.7
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Sidekiq Version:4.2.7
GitLab information
Version: 8.16.4
Revision: f32ee82
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://gitlab.hu
HTTP Clone URL: http://gitlab.hu/some-group/some-project.git
SSH Clone URL: git@gitlab.hu:some-group/some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 4.1.1
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
And the log file: /var/log/gitlab/gitlab-shell/gitlab-shell.log
W, [2017-02-09T15:10:34.751945 #43612] WARN – : Failed to connect to internal API <GET http://127.0.0.1:8080/api/v3/internal/check>: #<Net::ReadTimeout: Net::ReadTimeout>
I, [2017-02-09T15:10:34.782563 #43612] INFO – : GET http://127.0.0.1:8080/api/v3/internal/check 10.08692
Any ideas what could be problem?