Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows runner stuck in endless loop when failing to obtain a token #3470

Open
jitran opened this issue Sep 20, 2024 · 1 comment
Open

Windows runner stuck in endless loop when failing to obtain a token #3470

jitran opened this issue Sep 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jitran
Copy link

jitran commented Sep 20, 2024

Describe the bug
Reporting on behalf of a customer:

The actions runner binary seems to end up in an endless loop on windows agents that fail to obtain a token. Unfortunately it retries forever which just hogs an windows instance and never connects. It would be far better to retry a few times and then rethrow the expection, there’s obviously something wrong with the oauth app registration and it’ll never connect.

GitHub.Services.OAuth.VssOAuthTokenRequestException: Registration was not found or is not medium trust.
POST request to https://tokenghub.actions.githubusercontent.com/_apis/oauth2/token/[redacted] failed
AAD Correlation ID for this token request: Unknown
Retriable exception: Registration was not found or is not medium trust. ClientType:
catch exception during create session.
GitHub.Services.OAuth.VssOAuthTokenRequestException: Registration was not found or is not medium trust

This happened to 9 instances at September 19, 2024 15:16:37 AEST.

@jitran jitran added the bug Something isn't working label Sep 20, 2024
@jitran
Copy link
Author

jitran commented Sep 20, 2024

The windows runner version is v2.319.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant