I’m running GitLab 11.5.0 on Ubuntu bionic 18.04.1 LTS and I’m now attempting to set up GitLab Runner but without success.
I’ve followed the instructions and installed the latest version:
When I attempt to register a runner, the registration process fails after asking for “gitlab-ci tags”:
sudo gitlab-runner register Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): http://my.gitlab.domain Please enter the gitlab-ci token for this runner: <token here> Please enter the gitlab-ci description for this runner: Shell Runner 1 Please enter the gitlab-ci tags for this runner (comma separated): <left blank> ERROR: Registering runner... failed runner=27wu5r7- status=couldn't execute POST against http://my.gitlab.domain/api/v4/runners: Post http://my.gitlab.domain/api/v4/runners: dial tcp: lookup my.gitlab.domain on 127.0.0.53:53: server misbehaving PANIC: Failed to register this runner. Perhaps you are having network problems
I can confirm that GitLab is fully functional at the http://my.gitlab.domain location (I’ve replaced the real domain with this) and works normally. I’ve also tried using PostMaster to POST to the URL specified in the ERROR message, passing in the runner registration token and this seems to also work fine.
Any pointers in the right direction would be appreciated. Thanks.