fatal: unable to access 'http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@mygitlab.com/project/': Failed to connect to mygitlab.com port 80: Host is unreachable
I'm running local CE and local Runner for CI. Runner is registered and uses latest docker image as environment.
I'm getting this error while trying to commit:
Running with gitlab-runner 11.6.1 (8d829975)
on runner 19b160fc
Using Docker executor with image project/node5protractor:latest ...
Pulling docker image project/node5protractor:latest ...
Running on runner-19b160fc-project-42-concurrent-0 via runner...
Fetching changes...
Removing client-source/grunt/reports/
Removing history.zip
HEAD is now at ac25aa087 agent update
fatal: unable to access 'http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@mygitlab.com/project/': Failed to connect to mygitlab.com port 80: Host is unreachable
ERROR: Job failed: exit code 1
I host two CentOS VMs - mygitlab.com for gitlab-ce and second VM for runner.
Also I added
[runners.docker]
extra_hosts = ["mygitlab.com:192.168.11.23"]
to /etc/gitlab-runner/config.toml
But i get error
Failed to connect to mygitlab.com port 80: Host is unreachable
After restart docker on the runner the problem is solved,after some time the problem reappears.
From VM runner and from docker container mygitlab.com reachable.
Any ideas ?
Edited by pancerbjorn pancerbjorn