runner not able to update registration token #1790
Unanswered
saikovvuri
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello ,
Scenario :
Issue: Post request from runner to get new registration token fails with 401
2022-09-08T20:57:44Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "azure-runners-wrzfp-7z4fz", "error": "failed to create registration token: Post "https://api.github.com/repos/owner/repo/actions/runners/registration-token\": could not refresh installation id 28970473's token: received non 2xx response status "401 Unauthorized" when fetching https://api.github.com/app/installations/11111111/access_tokens"}
Tests using direct curl are successful
curl
-X POST
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer "
https://api.github.com/repos/OWNER/REPO/actions/runners/registration-token
Regards
Beta Was this translation helpful? Give feedback.
All reactions