fatal: unable to access 'http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx/': The requested URL returned error: 403
Summary
When using [Shell executor], the below error will occur sometimes, but the error has disappeared when the retry is re executed. Do not know that there is no one met Very strange, please help to solve.
Running with gitlab-ci-multi-runner 1.6.1 (c52ad4f) Using Shell executor... Running on c71bf9ce4f2a... Cloning repository... Cloning into '/home/gitlab-runner/builds/xxxx/0/overall-view/micro-service'... fatal: unable to access 'http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@172.16.xxxxx.git/': The requested URL returned error: 403 ERROR: Build failed: exit status 1
Results of GitLab application Check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)
root@172:/# gitlab-rake gitlab:check SANITIZE=true Checking GitLab Shell ...
GitLab Shell version >= 3.6.1 ? ... OK (3.6.1) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 52/35 ... ok 42/36 ... ok 49/42 ... repository is empty 49/43 ... repository is empty 49/44 ... repository is empty 51/45 ... repository is empty 42/47 ... repository is empty 49/51 ... repository is empty 54/52 ... ok 55/54 ... ok 56/55 ... ok 56/56 ... ok 54/58 ... ok 38/59 ... ok 38/61 ... ok 46/63 ... ok 54/67 ... ok 49/68 ... ok 49/70 ... ok 55/73 ... ok 63/74 ... repository is empty 56/75 ... repository is empty 55/76 ... ok 49/78 ... ok 56/79 ... ok 51/80 ... ok 54/82 ... ok 55/83 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 52/35 ... yes 42/36 ... yes 49/42 ... yes 49/43 ... yes 49/44 ... yes 51/45 ... yes 42/47 ... yes 49/51 ... yes 54/52 ... yes 55/54 ... yes 56/55 ... yes 56/56 ... yes 54/58 ... yes 38/59 ... yes 38/61 ... yes 46/63 ... yes 54/67 ... yes 49/68 ... yes 49/70 ... yes 55/73 ... yes 63/74 ... yes 56/75 ... yes 55/76 ... yes 49/78 ... yes 56/79 ... yes 51/80 ... yes 54/82 ... yes 55/83 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.1) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.7.4) Active users: 20
Checking GitLab ... Finished
root@172:/#
Results of GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info)
root@172:/# gitlab-rake gitlab:env:info
System information System: Current User: git Using RVM: no Ruby Version: 2.3.1p112 Gem Version: 2.6.6 Bundler Version:1.13.1 Rake Version: 10.5.0 Sidekiq Version:4.1.4
GitLab information Version: 8.12.4 Revision: ba8aeb7c Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: http://172.16.3.5 HTTP Clone URL: http://172.16.3.5/some-group/some-project.git SSH Clone URL: git@172.16.3.5:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 3.6.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