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.
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.
This happened to 9 instances at September 19, 2024 15:16:37 AEST.