я недавно обновил GitLab до версии 7.14, и когда я бегуGitLab доступа API неудачу после обновления
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Я получаю следующую ошибку
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 /home/git/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Я gitlab работает за обратный прокси-сервер с установлены следующие правила:
DNAT net loc:192.168.122.38:22 tcp 2227 - <externalip>
DNAT net loc:192.168.122.38:80 tcp 2280 - <externalip>
DNAT net loc:192.168.122.38:443 tcp 2443 - <externalip>
и gitlab-shell/config.yml выглядит как
GitLab user. git by default
user: git
# Url to gitlab instance. Used for api calls
gitlab_url: "https://<external_url>:2443/"
# Repositories path
repos_path: "/home/git/repositories"
# File used as authorized_keys for gitlab user
auth_file: "/home/git/.ssh/authorized_keys"
ssh_port: 2227
self_signed_cert: true
Вы когда-нибудь разрешали это? – ceebreenk