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

None of the hub commands are working somehow (and keep getting prompted username each time) #2807

Closed
tonyxiao opened this issue Jul 13, 2021 · 3 comments
Labels

Comments

@tonyxiao
Copy link

After a fresh install of hub via brew install hub, I go into a github repo and run the following command and get this error.

➜  alka git:(master) HUB_VERBOSE=1 hub browse
$ git rev-parse -q --git-dir
$ git symbolic-ref HEAD
$ git remote -v
$ git config --get-all hub.host
github.com username: tonyxiao
github.com password for tonyxiao (never stored):
> POST https://api.github.com/authorizations
> Authorization: Basic [REDACTED]
> Accept: application/vnd.github.v3+json;charset=utf-8
{"note":"hub for tonyx@tonyx16.local","note_url":"https://hub.github.com/","scopes":["repo","gist"]}
< HTTP 404
{"message":"Not Found","documentation_url":"https://docs.github.com/rest"}
Error in browse: Not Found (HTTP 404)
Not Found
@tonyxiao tonyxiao added the bug label Jul 13, 2021
@tonyxiao tonyxiao changed the title None of the hub commands are working None of the hub commands are working somehow (and keep getting prompted username each time) Jul 13, 2021
@thom-schlereth
Copy link

thom-schlereth commented Aug 24, 2021

Have the same issue. Did this ever get resolved for you?

@marceljay
Copy link

marceljay commented Aug 26, 2021

#2655 (comment)

Paste an Access token with read/write permissions as the password.

@mislav mislav closed this as completed Sep 4, 2021
@miohtama
Copy link

miohtama commented Feb 23, 2022

If somebody stumbles here from Google, using Github cli is a better alternative instead of hub, as the former is maintained.

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

5 participants