cattle-ops / terraform-aws-gitlab-runner

Terraform module for AWS GitLab runners on ec2 (spot) instances
https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws
MIT License
577 stars 326 forks source link

Unable to fetch the jobs and register runners with gitlab-ee self-hosted #1143

Open jaydeeppromact2024 opened 2 months ago

jaydeeppromact2024 commented 2 months ago

Unable to fetch the jobs and register runners with GitLab enterprise edition self-hosted

GitLab enterprise edition - (self-hosted)

Version = v17.1.1-ee

Gitlab Runner

Version = 17.1

Used Runner-default template to deploy

examples/runner-default

Getting errors

1] "level":"error","msg":"Checking for jobs... forbidden","runner":"GR1348941xXzhePNZ","status":"POST https://gitlab.example.com/api/v4/jobs/request: 403 Forbidden"

2] "error","msg":"Runner \"https://gitlab.example.comGR1348941xXzhePNZ\" is unhealthy and will be disabled for 1h0m0s seconds


Screenshots

image

image


please help

qyd159 commented 1 month ago

encountering the same problem

jhelbling commented 1 month ago

still present

kayman-mk commented 1 month ago

Have you checked the config.toml and see the correct Runner token? In case of using own AMIs: try the default ones which are set by the module.