ERROR: Registering runner... forbidden (check registration token) on RaspberryPi
Summary
Followed the document installing runner, but got some trouble in register.
Action:
$gitlab-runner register
Response:
ERROR: Registering runner... forbidden (check registration token) runner={my token}
PANIC: Failed to register this runner. Perhaps you are having network problems
Version:
- Runner:9.2.0
- GitLab Server: 9.2.5 6f2e590
Steps to reproduce
$gitlab-runner register
Actual behavior
ERROR: Registering runner... forbidden (check registration token) runner={my token}
PANIC: Failed to register this runner. Perhaps you are having network problems
Expected behavior
In document, it should "Enter the Runner executor:". (step 8) https://docs.gitlab.com/runner/register/index.html
Relevant logs and/or screenshots
ERROR: Registering runner... forbidden (check registration token) runner={my token}
PANIC: Failed to register this runner. Perhaps you are having network problems
Server log:
Started POST "/api/v4/runners" for {my ip} at 2017-06-15 09:13:01 +0000
Environment description
Run with my own GitLab server. First I met x509 issue with self-signed certification. After I added ca.crt into /etc/ssl/certs/ca-certificates.crt, I got this issue.
Machine: Raspberry Pi
OS:
Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie
Used GitLab Runner version
Version: 9.2.0 Git revision: adfc3875 Git branch: 9-2-stable GO version: go1.7.5 Built: Mon, 22 May 2017 16:00:24 +0000 OS/Arch: linux/arm