Register a GitLab Runner: glrt- tokens, "410 Gone" and other errors

By Melih Toksari, developer of MergeBell · Updated · 5 min read

Short answer

To register a GitLab Runner, create the runner in GitLab first: Settings › CI/CD › Runners › Create project runner in a project, or Build › Runners in a group. GitLab gives you a runner authentication token that starts with glrt-, and you run gitlab-runner register --url https://gitlab.com --token with it. The old registration token, used with --registration-token, is deprecated and scheduled for removal in GitLab 20.0. Where registration tokens are off, registration fails with 410 Gone - runner registration disallowed: GitLab.com turned them off for its existing top-level groups with GitLab 17.0, and administrators and group Owners can turn them off too. 403 Forbidden - invalid token supplied means a wrong or reset registration token. Tags, Run untagged and the other runner settings now belong to the runner in GitLab, not to register's command-line options.

Older guides tell you to copy a registration token from Settings › CI/CD › Runners and paste it into gitlab-runner register. Where registration tokens are turned off, that fails:

ERROR: Registering runner... failed  correlation_id=… runner=… runner_name=… status=POST https://gitlab.com/api/v4/runners: 410 Gone (410 Gone - runner registration disallowed)
PANIC: Failed to register the runner.

The registration token is deprecated, and scheduled for removal in GitLab 20.0. GitLab.com already turned it off for its existing top-level groups with GitLab 17.0. Now you create the runner in GitLab first, and register it with the runner authentication token GitLab gives you, which starts with glrt-. Here’s how, with GitLab and GitLab Runner 19.5, and what each registration error means.

Register with a glrt- token

  1. Create the runner in GitLab. Where depends on who should use it:

    • A project: Settings › CI/CD › Runners › Create project runner, with the Maintainer role.
    • A group: the group’s Build › Runners › Create group runner, with the Owner role.
    • The whole instance: Admin › CI/CD › Runners › Create instance runner, as an administrator.

    Pick the operating system, enter the job Tags or select Run untagged, and select Create runner.

  2. Copy the token. GitLab shows the registration command with a token that starts with glrt-. It’s shown only for a short time, so copy it now.

  3. Register on the runner’s machine:

    sudo gitlab-runner register --url https://gitlab.com --token glrt-…

    On your own instance, use its URL, such as https://gitlab.example.com. GitLab Runner checks the token, prints Verifying runner... is valid, and asks for a name, which is stored only in your config.toml, and an executor, such as shell or docker.

If you start register without --token, it asks for the token with Enter the registration token:. Paste the glrt- token there anyway.

With GitLab Runner in Docker, register through the container, with the same configuration volume:

docker run --rm -it -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner register

In a script, add --non-interactive and the answers as options:

sudo gitlab-runner register \
  --non-interactive \
  --url "https://gitlab.com/" \
  --token "$RUNNER_TOKEN" \
  --executor "docker" \
  --docker-image alpine:latest \
  --description "docker-runner"

To run the same runner on several machines, register each with the same token. Each machine gets its own system ID, and shows up in GitLab as a runner manager under that one runner. If the token is set to expire, only the first machine gets the new one when it rotates, so update the others yourself.

What moved to GitLab

With a glrt- token, these belong to the runner in GitLab, not to register: tags, Run untagged, protected, locked, the maximum job timeout, paused, and the maintenance note. Set them when you create the runner, or edit the runner later. Passing --tag-list, --run-untagged, --access-level, --locked=false, --maximum-timeout, --paused or --maintenance-note with --token stops register:

FATAL: Runner configuration other than name and executor configuration is reserved (specifically --locked, --access-level, --run-untagged, --maximum-timeout, --paused, --tag-list, and --maintenance-note) and cannot be specified when registering with a runner authentication token.

A glrt- token in the old --registration-token option still works, through what GitLab calls the legacy-compatible registration process: the runner registers, and ignores those options with a warning.

The errors

Message What happened Fix
410 Gone - runner registration disallowed You used a registration token, and registration tokens are turned off for the instance or the top-level group Create the runner in GitLab and use its glrt- token
Registering runner... forbidden (check registration token), with 403 Forbidden - invalid token supplied The registration token is wrong, was reset, or belongs to another instance, or project or group members aren’t allowed to register runners Copy the token again and check --url, or use a glrt- token
Verifying runner... is not valid, then Failed to verify the runner. GitLab doesn’t accept the glrt- token: a typo, another GitLab instance’s --url, or a runner that was deleted or had its token reset Copy the token again, or create a new runner
If you want to register use the '-r' instead of '-t'., then Failed to verify the runner. You may be having network problems. You passed an old registration token with --token, so the runner took it for the token of a runner that’s already registered Use a glrt- token, or put the old one in --registration-token
Runner configuration other than name and executor configuration is reserved Runner settings on the command line with a glrt- token Remove them, and set them in GitLab
x509: certificate signed by unknown authority The runner doesn’t trust your GitLab’s certificate See GitLab Runner x509 errors

Despite its wording, the “network problems” message usually isn’t about the network.

Turn registration tokens back on

Only as a stopgap, since they’re due to be removed in GitLab 20.0:

  • GitLab Self-Managed: an administrator selects Allow runner registration token under Admin › Settings › CI/CD › Runners, in Runner registration.
  • A top-level group, on GitLab.com too: an Owner turns on Allow members of projects and groups to create runners with runner registration tokens in the group’s Settings › CI/CD › Runners. On GitLab Self-Managed, the instance must allow registration tokens as well.

Helm chart and Kubernetes

Put the glrt- token in runnerToken, or in the runner-token key of the runner’s secret, and leave runnerRegistrationToken, or runner-registration-token, empty. With a glrt- token, the chart’s tags, runUntagged, protected, locked and maximumTimeout values do nothing: set them on the runner in GitLab.

Check it worked

gitlab-runner verify on the runner’s machine prints Verifying runner... is valid for each glrt- runner GitLab accepts, and is alive for runners registered with an old registration token. Once the GitLab Runner service runs, the runner shows as online in GitLab’s runner list, and jobs with matching tags start on it.

On your phone

Once the runner is online, MergeBell shows your pipelines and each job’s log live, so you can check that the first job ran on it, and retry one on the free tier. A job that stays pending usually has no runner that can take it: see GitLab job stuck pending.

Frequently asked questions

How do I register a GitLab Runner in 2026?

Create the runner in GitLab first: in your project, Settings › CI/CD › Runners › Create project runner, with your tags or Run untagged. GitLab shows a runner authentication token that starts with glrt-. On the runner's machine, run gitlab-runner register --url https://gitlab.com --token with that token, or your own instance's URL instead, then choose an executor.

Is the GitLab runner registration token deprecated?

Yes. Registration tokens, and register options such as --tag-list and --locked that go with them, were deprecated in GitLab 15.6 and are scheduled for removal in GitLab 20.0. GitLab.com turned them off for its existing top-level groups with GitLab 17.0, in May 2024, and administrators and top-level group Owners can turn them off too. Use the runner authentication token, which starts with glrt-, of a runner you create in GitLab.

What does "410 Gone - runner registration disallowed" mean?

You registered with a registration token, and registration tokens are turned off for the GitLab instance or for the top-level group. Create the runner in GitLab and register with its glrt- token instead. To keep the old token for now, an administrator can allow it under Admin › Settings › CI/CD › Runners, and a top-level group Owner in the group's Settings › CI/CD › Runners.

Why does gitlab-runner register say "forbidden (check registration token)"?

GitLab answered 403 Forbidden - invalid token supplied. The registration token is wrong, was reset, or belongs to another GitLab instance, or the administrator doesn't let project or group members register runners. Copy the token again, check the --url, or switch to the glrt- token of a runner you create in GitLab.

Why can't I use --tag-list with a glrt- token?

With a runner authentication token, tags, Run untagged, protected, locked, the maximum timeout, paused and the maintenance note belong to the runner in GitLab, so gitlab-runner register stops with "Runner configuration other than name and executor configuration is reserved". Set them when you create the runner, or edit the runner in GitLab later.

Sources

Checked against these pages on 18 November 2026. GitLab changes quickly — if something here no longer matches, tell us and we will fix it.

Do this from your phone with MergeBell

Free for the whole review loop: the To-Do inbox, diffs and line comments, approve and merge, pipelines with retry, and push alerts for your To-Dos. Works with gitlab.com and self-managed GitLab 16.0+.

Get MergeBell for iPhoneGet MergeBell for Android

On the App Store for iOS 26 or later and on Google Play for Android 12 or later. An independent app, not affiliated with GitLab Inc.