question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

authentication fails for https://{username}@github.com remote

See original GitHub issue

Description

Can not access my private GitHub repository as the remote syntax isn’t handled by the application.

Version

GitHub Desktop version: 0.5.8 OS version: macOS 10.12.5

Steps to Reproduce

  1. Open Local Repository (private GitHub repository)
  2. Trying to Push
  3. Error: Athentication failed.
  4. Logging out and in again.
  5. Trying to Push
  6. Error: Athentication failed.

screen shot 2017-05-29 at 17 22 13

Expected behaviour: Pushing commit Actual behaviour: Authentication fails Reproduces how often: 100%

Logs

2017-05-29T09:25:29.011Z - info: Opt in reported.
2017-05-29T09:25:29.565Z - info: Stats reported.

Additional Information

This issue does not appear with the current (stable) GitHub Desktop client.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

6reactions
shiftkeycommented, May 29, 2017

Cool, that sounds like we’re on the right track.

Do HTTPS remotes work with two-factor auth?

@EisenbergEffect we handle the 2FA flow when you sign into your GitHub account in the app, and the authorization token we use then is stored locally for use with your Git operations. So if you switch it over to a HTTPS remote we’ll pass that token through to the Git operations.

git remote set-url origin https://github.com/aurelia/logging.git
2reactions
shiftkeycommented, May 29, 2017

@EisenbergEffect yeah, if you run this command from the terminal in the repository you should see the remote URL:

git remote -vv

We haven’t gotten around to proper support for SSH remotes (see #1795 for example) and I wanted to confirm that you’re using a HTTPS remote (which we do default to if you’ve cloned the repository in Desktop)

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub authentication failing over https, returning wrong email ...
The password is alphanumeric. I'll see what 'git remote -v' gives when I'm next at the machine but sounds like I might need...
Read more >
Authentication failed because the remote party has closed the ...
The application is running in IIS and build in VS 2010. [IOException: Authentication failed because the remote party has closed the transport ...
Read more >
Authentication failed for user root@1.2.3.4
Remote execution fails with error: Authentication failed for user root@1.2.3.4. Solution Unverified - Updated February 9 2022 at 10:40 AM -. English.
Read more >
url-open:remote error on -url and authentication failed - Forums
17 Sep 2017 ( 5 years ago ). url-open:remote error on-url. AAA authorization failure. custom authentication failed with (username & pwd),(subject DN).
Read more >
Authentication failed form Bitbucket cloud - Atlassian Community
Logon failed, use ctrl+c to cancel basic credential prompt. remote: Bitbucket Cloud recently stopped supporting account passwords for Git ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found