hub
hub copied to clipboard
Not found (404), no matter what
Command attempted:
git pr list
What happened:
-
First I'm asked for my username and password, although git is configured (can pull and push with no trouble). That's new. But then when I enter my Github username and password I get the "not found" error.
-
With more debug, there is this (slightly) more useful error message:
> POST https://api.github.com/authorizations > Authorization: Basic [REDACTED] > Accept: application/vnd.github.v3+json;charset=utf-8 {"note":"hub for vince@LAPTOP-XXX","note_url":"https://hub.github.com/","scopes":["repo","gist"]} < HTTP 404 {"message":"Not Found","documentation_url":"https://docs.github.com/rest"} Not Found
I would guess this is unexpected. Although I gave you the
git pr
command, agit issue
gives me exactly the same result, which is probably not surprising, because it fails on login. Which means it's not using Git's authorization system, since it asks me my username and password, although Git has long since stopped doing so. That's all speculation though.
More info:
- Operating system: Windows 10 (64-bit).
- git version:
2.27.0.windows.1
. - hub version:
2.14.2
.
Thanks,
Sorry for the inconvenience! Workaround here https://github.com/github/hub/issues/2655#issuecomment-735836048