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

Not found (404), no matter what #2673

Open
vincent-lg opened this issue Dec 15, 2020 · 1 comment
Open

Not found (404), no matter what #2673

vincent-lg opened this issue Dec 15, 2020 · 1 comment
Labels

Comments

@vincent-lg
Copy link

Command attempted:

git pr list

What happened:

  1. 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.

  2. 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, a git 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,

@vincent-lg vincent-lg added the bug label Dec 15, 2020
@mislav
Copy link
Owner

mislav commented Dec 15, 2020

Sorry for the inconvenience! Workaround here #2655 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants