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.

GitHub Desktop: "Authentication failed." error. v2.3.1

See original GitHub issue

Describe the bug

On trying to fetch against the repo, an “Authentication failed. Some common reasons include…” error appears. I am using SSH and it works when using the terminal.

Version & OS

GitHub Desktop v2.2.4 on MacOS Catalina v10.15.2

Steps to reproduce the behavior

  1. Go to the chargebee-app repo.
  2. Click on Fetch orgin
  3. See error.

Expected behavior

The fetch should complete without errors as it does via the terminal.

Actual behavior

The error appears instead.

Screenshots

image

Logs

2020-01-03.desktop.production.log

Additional context

On trying to pull from the terminal using git pull, the operation is successful. The following are the steps:

  1. Go to terminal and navigate to the folder where the repo is.
  2. git pull
  3. The following prompt appears: Enter passphrase for key '/Users/cb-machan/.ssh/id_rsa':
  4. I enter the passphrase.
  5. The pull is successful.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
stevewardcommented, Sep 22, 2020

@cb-machan it sounds like you were able to resolve this so I’m going to close this issue out. Let me know if you are still having problems.

0reactions
cb-machancommented, Aug 5, 2020

@cb-machan are you having issues with this? It sounds like ssh-agent may not be running after a restart which would cause this.

Oh yes, and then I followed the steps here to fix that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication Failed · Issue #6538 · desktop/desktop
Open preferences and verify that you're signed in with an account that has permission to access this repository.
Read more >
GitHub Desktop Authentication Failed · Issue #9090
Go to Publish you branch. Click on Publish Branch button. Enter correct username and password. See error (Authentication Failed). Expected ...
Read more >
gitHub Desktop Authentication Failed. · Issue #10283
(The error was parsed as 3: Authentication failed. Some common reasons include: You are not logged in to your account: see GitHub Desktop...
Read more >
Authentication failed with Github Enterprise Server #15581
I already tryed to relogin in Github Desktop with my Enterprise Server account using the new DNS Name, the Login works, but i...
Read more >
Desktop doesn't ask for my SSH passphrase · Issue #15645
(The error was parsed as 2: Authentication failed. Some common reasons include: - You are not logged in to your account: see GitHub...
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