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 1.0.1 Logged in but get authentication failure on push or pull

See original GitHub issue

I am trying to use GitHub Desktop to access a repository that I have been using with Windows Git from Windows 10 64Bit. I am able to log in with GitHub Desktop but get an an authorization failure when I try to do a push or pull. The following is extracted from the log file:

2017-09-22T18:15:15.607Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 6.772s) 2017-09-22T18:15:15.617Z - error: [ui] git -c credential.helper= fetch --progress --prune origin exited with an unexpected code: 128. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

(The error was parsed as 2: Authentication failed. You may not have permission to access the repository. Open options and verify that you’re signed in with an account that has permission to access this repository.)

I read over the documentation but did not see anything about setting up a public key similar to what I did for putty and ssh. Did I miss something?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
gtkprcommented, Oct 24, 2017

@joshaber i’m not even going to bother. already uninstalled it. i’ll just do my stuff via browser.

7reactions
Rodgecommented, Mar 7, 2019

For me it helped by simply logging out and in again (in File -> Options).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication Failure with GitHub Desktop · Issue #8860
I am unable to pull, push for a private repository through the GitHub Desktop interface. However, the commands and work perfectly fine when ......
Read more >
Github Desktop version 1.0.12 Authentication Failed during ...
Open options and verify that you're signed in with an account that has permission to access this repository.) 2018-01-18T15:34:24.143Z - error: ...
Read more >
Unable to push in GitHub desktop · Issue #4181
Today when I went to push my latest commit, I got the following error: Authentication failed. You may not have permission to access...
Read more >
Authentication Failed. Can pull but cannot push to my own repo
Tried all the suggested steps but no changes. Pushing from the console works fine. If I clear stored credentials and push from the...
Read more >
[solved] github desktop does not work - Authentication failed ...
Please make sure you have the correct access rights and the repository exists. (The error was parsed as 2: Authentication failed. Some common ......
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