-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The error message printed by
runner/src/Runner.Listener/Configuration/ConfigurationManager.cs
Lines 848 to 851 in f9c4e17
_term.WriteError($"Http response code: {response.StatusCode} from 'POST {githubApiUrl}' (Request Id: {githubRequestId})"); | |
var errorResponse = await response.Content.ReadAsStringAsync(); | |
_term.WriteError(errorResponse); | |
response.EnsureSuccessStatusCode(); |
To Reproduce
Steps to reproduce the behavior:
- Go to the Add a Runner page in a repo
- Wait over an hour to have the token expire
- Try to register with the old toke and observe that you get a 404 error that doesn't really explain that the token is expired
What's not working?
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
| | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ |
| \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ |
| |
| Self-hosted runner registration |
| |
--------------------------------------------------------------------------------
# Authentication
Http response code: NotFound from 'POST https://api.github.com/actions/runner-registration' (Request Id: D444:167475:34B6912:36005D2:68C956CA)
{"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"}
Response status code does not indicate success: 404 (Not Found).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working