Skip to content

Auth error after upgrade #9641

Closed
Closed

Description

@tierninho

I am having the same issue as the author of the initial post. Tried all recommended steps (logged out/logged in, removed all files from AppData and LocalAppData, reinstalled, generated and activated new SSH key, used HTTPS and SSH), and still getting the same error. I can push/pull from the command line but not from GitHub Desktop. It worked fine a couple weeks ago (new update issue?)

Annotation 2020-04-27 130505

My log file:
2020-04-27.desktop.production.log

Environment:
Windows 10 Home

Anything else I could try?

Originally posted by @bartek2101 in #7982 (comment)

Activity

  1. changed the title [-]I am having the same issue as the author of the initial post. Tried all recommended steps (logged out/logged in, removed all files from AppData and LocalAppData, reinstalled, generated and activated new SSH key, used HTTPS and SSH), and still getting the same error. I can push/pull from the command line but not from GitHub Desktop. It worked fine a couple weeks ago (new update issue?)[/-] [+]Auth error after upgrade[/+] on Apr 27, 2020
  2. bartekrdz commented on Apr 27, 2020

    @bartekrdz

    Edit: Third-party clients work just fine.

  3. tierninho commented on Apr 28, 2020

    @tierninho
    ContributorAuthor

    @bartek2101 Thanks for notifying us of this issue. It looks like their are two things going on:

    1. Auth error
    2. fatal: refusing to merge unrelated histories error from your log.

    Hopefully if we solve number one, we can avert number 2, which is not resolved fully by us as evidenced by #1484.

    As for the auth error -- Please refer to our help document for steps about how to resolve this issue on your machine. One of the more common causes has been the modified Autorun registry entry.

    Let me know if you have any questions.

  4. added
    more-info-needed
    on Apr 28, 2020
  5. tierninho commented on May 4, 2020

    @tierninho
    ContributorAuthor

    @bartek2101 As we have not heard back from you on this issue, we are closing it for now. Should you have any more details or questions, please reach out and we will be happy to help. Thank you.

  6. rubenheymans commented on May 9, 2020

    @rubenheymans

    I have the same issue, created new ssh keys, logged in/out etc., command line works just fine. Github for windows doenst work at all with ssh keys.

  7. ArthurAndrews commented on May 13, 2020

    @ArthurAndrews

    I'm not a frequent user, but I believe I am experiencing the same issue. I am trying to clone from my company's gitlab. Github Desktop isn't asking for my login information, and is just displaying an authentication error.

  8. tierninho commented on May 13, 2020

    @tierninho
    ContributorAuthor

    @ArthurAndrews Thanks for the note. This is a known bug and will be fixed very soon! Please follow along here: #9776

    @rubenheymans Thanks for reaching out. Please fill a new issue here: https://github.com/desktop/desktop/issues/new?template=bug_report.md

  9. SuperHarmony910 commented on Aug 10, 2020

    @SuperHarmony910

    I'm a new user to GitHub Desktop, this issue is bugging me. I've tried Git, solved a publickey issue but the app is just not letting me commit. I've tried everything from SSH to HTTPS, would anyone help please? Private repo unable to commit, auth invalid.

  10. steveward commented on Aug 10, 2020

    @steveward
    Contributor

    @SuperHarmony910 could you open a new issue and fill out the template? Please be sure to also upload a log file so that we can take a closer look at any errors you are encountering.

  11. SuperHarmony910 commented on Aug 11, 2020

    @SuperHarmony910

    #10363 is my issue @steveward.

  12. ziadoz commented on Oct 22, 2020

    @ziadoz

    I saw this dialog after I'd accidentally removed gihtub.com from my ~/.ssh/known_hosts. Once I added it back the dialog went away and things worked again.

  13. steveward commented on Oct 22, 2020

    @steveward
    Contributor

    @ziadoz thanks for sharing that. This is a known issue we are tracking in #2579. There's no way to trust unknown host keys in GitHub Desktop at this time.

  14. DAbidou commented on Jul 25, 2021

    @DAbidou

    This answer https://stackoverflow.com/a/29380765/2849383 saved my entire life
    Please, write it everywhere to save as many lives as possible XD

    $ eval "$(ssh-agent -s)"
    $ ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    more-info-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions