ARC listener pod logs `failed to get runner registration token ... 401 Bad credentials`.
AdvancedTroubleshootingRunners, Self-hosted & ARC
Answer
Likely causes → The GitHub App private key, app ID or installation ID in the secret is wrong, the app is not installed on the org or repo in githubConfigUrl, or the PAT expired.
Diagnose →
kubectl logs -n arc-systems -l app.kubernetes.io/component=runner-scale-set-listener --tail=50
kubectl get secret gh-app -n arc-runners -o jsonpath='{.data.github_app_installation_id}' | base64 -d
Fix → Recreate the secret with correct values; install the app with Actions and Administration permissions required by ARC.
Prevent → Manage the secret via External Secrets with alerts on listener restarts.
More on Runners, Self-hosted & ARC
Job stuck at `Waiting for a runner to pick up this job...`Beginner`This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.`Beginner`Must not run with sudo` when running `./config.sh`.Beginner`Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration'` during `config.sh`.BeginnerSelf-hosted runner logs: `Runner version v2.311.0 is deprecated and cannot receive messages.`Intermediate`fatal: detected dubious ownership in repository at '/__w/app/app'` in a container job on a self-hosted runner.Intermediate