Getting 403 error: "failed to get runner registration token on refresh" #3402
Unanswered
chen-shapira
asked this question in
Questions
Replies: 1 comment
-
Have same issue. Although it's a bit of a funny one. Error is identical BUT I run against an enterprise server and, when I originally set this up it worked smoothly without this error. Today I changed the name of the runner group and this error materialized. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have installed the gha-runner-scale-set-controller and gha-runner-scale-set on my EKS cluster using Helm.
When the controller tries to get the runner group by name from Github API, I am seeing a 403 error in the controller logs:
I have created a secret with the PAT, after creating a PAT (classic) with org:admin scope permissions.
I have also tested directly with:
Getting this response:
When I change the user's role in the organization to Owner, the API call is working, but I cannot keep it as is.
The 'admin:org' scope permission was a hard pill to swallow alone.
I would love your help with this issue, as the documents clearly state that the 'admin:org' scope on the PAT (classic) should be enough.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions