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

Problem authing #498

Closed
timlesallen opened this issue Feb 24, 2014 · 3 comments
Closed

Problem authing #498

timlesallen opened this issue Feb 24, 2014 · 3 comments

Comments

@timlesallen
Copy link

Hi,
I have just installed hub and am looking forward to the awesome features, but can't seem to be authentication working.

This sort of thing is happening:

tim@tim-laptop ~/tmp $ git clone timothylesallen/phone_number_translator
github.com password for timothyleslieallen (never stored): 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2105:in `error!': 401 "Unauthorized" (Net::HTTPServerException)
        from /usr/local/bin/hub:529:in `obtain_oauth_token'
        from /usr/local/bin/hub:510:in `apply_authentication'
        from /usr/local/bin/hub:673:in `oauth_token'
        from /usr/local/bin/hub:573:in `fetch_value'
        from /usr/local/bin/hub:572:in `fetch'
        from /usr/local/bin/hub:572:in `fetch_value'
        from /usr/local/bin/hub:672:in `oauth_token'
        from /usr/local/bin/hub:509:in `apply_authentication'
        from /usr/local/bin/hub:548:in `apply_authentication'
        from /usr/local/bin/hub:441:in `perform_request'
        from /usr/local/bin/hub:406:in `get'
        from /usr/local/bin/hub:289:in `repo_info'
        from /usr/local/bin/hub:1688:in `clone'
        from /usr/local/bin/hub:1487:in `send'
        from /usr/local/bin/hub:1487:in `run'
        from /usr/local/bin/hub:2396:in `initialize'
        from /usr/local/bin/hub:2400:in `new'
        from /usr/local/bin/hub:2400:in `execute'
        from /usr/local/bin/hub:2451

Any ideas?

@hkdobrev
Copy link

@timlesallen Any chance you have 2FA enabled? See #435.

@mislav
Copy link
Owner

mislav commented Feb 24, 2014

Why did hub think your username is "timothyleslieallen", when it's in fact "timlesallen"? Do you have GITHUB_USER environment variable set by chance?

It seems that authentication failed because of the wrong username.

@timlesallen
Copy link
Author

That's it, thanks for noticing that! I did indeed have GITHUB_USER set
to my old git username. This issue can probably be closed.

On 24 February 2014 20:16, Mislav Marohnić [email protected] wrote:

Why did hub think your username is "timothyleslieallen", when it's in fact
"timlesallen"? Do you have GITHUB_USER environment variable set by chance?

It seems that authentication failed because of the wrong username.


Reply to this email directly or view it on GitHubhttps://github.com//issues/498#issuecomment-35868785
.

@mislav mislav closed this as completed Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants