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 Failed Error - Repos still downloads - Can open but not push or commit

See original GitHub issue

Description

I have a GHE server in use, I am able to clone and commit/push to repos but not an org repo. When I clone the repository from the web page, the progress bar gets to 100% then I receive a “Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you’re signed in with an account that has permission to access this repository.” error message. The repository still clones locally and I can open it in the app, but cannot push to it

Version

  • GitHub Desktop: 1.1.0
  • Operating system: MacOS High Sierra 10.13.3 (17D102)

Steps to Reproduce

  1. Open repo page in Google Chrome
  2. Click “Clone or Download” then “Open in Desktop”
  3. GitHub app opens and progress bar starts moving, at ~100% - the error appears.
  4. Open repo from within github by pointing to directory, when trying to commit code - “Commit failed - exit code 1 received”

Expected Behavior

Repo clones successfully, code can be commited

Actual Behavior

“Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open preferences and verify that you’re signed in with an account that has permission to access this repository.” “Commit failed - exit code 1 received”

Additional Information

Logs

Cleared logs when reinstalling, no logs yet

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shiftkeycommented, Mar 6, 2018

I have to switch away from Desktop because I can’t gpg sign,

That’s #78

0reactions
sethmccombscommented, Mar 6, 2018

That was the issue! Thanks @shiftkey - I have to switch away from Desktop because I can’t gpg sign, 😦 back to CLI for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git push results in "Authentication Failed" - Stack Overflow
In the terminal I cloned a repository, worked on a file and then I used git add to add the file to the...
Read more >
Cannot push origin on github desktop · Discussion #24076
The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
Read more >
GitHub Error: Authentication Failed from the Command Line
After setting up 2 Factor Authentication on GitHub, I couldn't push my remote repositories from the command line anymore. The error stumped me...
Read more >
Git clone or Git push fails to an Azure DevOps repository
Solution: Reset the Git credentials manager (GCM) · Run the git config --list command, and then check if you're using Git Credentials Manager...
Read more >
Getting started with Git and AWS CodeCommit
In this step, you push the commit from your local repo to your CodeCommit repository. Run git push to push your commit through...
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