Every time I run a job I get the following error:
fatal: unable to access ‘https://gitlab-ci-token:[MASKED]@gitlab.domain.com/group/subgroup/project.git/’: The requested URL returned error: 500
I’ve looked at all the possible solutions I could find, but none of them have worked.
“/etc/gitlab-runner/config.toml” on *nix systems when gitlab-runner is executed as root (this is also path for service configuration)
if GitLab instance is exposed to an URL which can’t be used by the runner, a clone_url can be configured
You may need to configure the “clone_url = “http://<gitalab_IP>”” in the gitlab-runner “/etc/gitlab-runner/config.toml” file.
Unfortunately this did not solve the issue and I still get that error message.
CI has been working fine up until now, and there haven’t been any notable changes to GitLab’s configuration between then and now, so I’m not sure why it’s doing this.
Started GET “/group/subgroup/project.git/info/refs?service=git-upload-pack” for 172.17.0.2 at 2019-07-25 14:19:29 -0400
Processing by Projects::GitHttpController#info_refs as /
Parameters: {“service”=>“git-upload-pack”, “namespace_id”=>“group/subgroup”, “project_id”=>“project.git”}
Completed 500 Internal Server Error in 60ms (ActiveRecord: 14.8ms | Elasticsearch: 0.0ms)