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

Runner stuck in message loop when token invalid #2944

Open
maskati opened this issue Oct 23, 2023 · 0 comments
Open

Runner stuck in message loop when token invalid #2944

maskati opened this issue Oct 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@maskati
Copy link

maskati commented Oct 23, 2023

Describe the bug
Runners can get stuck in a message acquisition loop from which they never recover:

√ Connected to GitHub
Current runner version: '2.310.2'
Listening for Jobs
Runner connect error: The signature is not valid.. Retrying until reconnected.

The error is most likely thrown in the GetNextMessageAsync loop, as a result of a SignatureValidationException.

To Reproduce
Typically occurs when concurrent runner registrations initiated for the same runner name, where one replaces the other. This seems to invalidate the token in GH, resulting in token validation errors.

Expected behavior
Runners should bail on non-transient error conditions, such as invalid tokens.

Runner Version and Platform

Linux 2.310.2.

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