i'm trying configure new runner gitlab ci , keep getting error
error: registering runner... forbidden (check registration token) runner=4pzd2efb
panic: failed register runner. perhaps having network problems
this command run
gitlab-ci-multi-runner register please enter gitlab-ci coordinator url (e.g. https://gitlab.com/ci): https://gitlab.com/ci please enter gitlab-ci token runner: xxxxxxxxxxxx please enter gitlab-ci description runner: [gitlab-test]: runner please enter gitlab-ci tags runner (comma separated): docker
it happens when run command
sudo gitlab-runner register
with same parameters.
any advice on how solve appreciated!
this arise multitude of reasons. gitlab instance running on gitlab.com?
could post last few lines of logs mention above problem - can these admin panel -> logs -> production.log
.
a simple network test try hitting coordinator url using wgets
terminal tried install runner. might not have localhost loopback configured properly.
if wgets
doesn't return 200 status code add/check localhost loopback:
in /etc/hosts
file should be
127.0.0.1 localhost
other potential problems and/or solutions depend on logs say...
Comments
Post a Comment