Code Monkey home page Code Monkey logo

Comments (12)

hszequel avatar hszequel commented on June 18, 2024 3

After several days unable to use GitHub efficiently, I found a workaround:

Reverted to version 3.3.14 (works perfectly) and renamed Update.exe under the GitHubDesktop folder to disable auto-update until this issue is resolved.

from desktop.

hszequel avatar hszequel commented on June 18, 2024 1

Please see the attached log files. After credentials are entered, it works but they need to be reentered.

2024-05-14.desktop.production.log

The repository does not use LFS.

from desktop.

aolszowka avatar aolszowka commented on June 18, 2024 1

@hszequel

Something to note is to watch the Credential Manager:

image

The behavior I was seeing (prior to removing all OLD credentials and removing any Repositories that were no longer accessible) is that after the initial prompt the credential would be created under the area boxed in red above and then after some set time the credential would disappear.

I am not familiar enough with their code base to know what code path's have the ability to delete/remove credentials from here, but that is where I'd start looking for the bug.

from desktop.

sergiou87 avatar sergiou87 commented on June 18, 2024

Thank you for your report. Could you upload all your log files (after redacting whatever is necessary) so we have more context to diagnose the issue? Thank you! πŸ™

Also, does your repository use LFS?

from desktop.

aolszowka avatar aolszowka commented on June 18, 2024

Dupe of #18586

from desktop.

hszequel avatar hszequel commented on June 18, 2024

#18586 reported a bug that did not allow authentication to non-GitHub hosts like azure devops. After we upgraded from 3.3.14 to 3..3.15, we experienced this issue. Version 3.3.16 fixed #18586 but now that we are using 3.3.17 the issue is that authentication works but it is not persistent. Credentials have to be entered again, particularly when Github Desktop is closed and the operating system is restarted. This also happens when the user switches to a different repository.

from desktop.

aolszowka avatar aolszowka commented on June 18, 2024

Credentials have to be entered again, particularly when Github Desktop is closed and the operating system is restarted. This also happens when the user switches to a different repository.

@hszequel Did you read the comments in there? ( #18586 (comment), #18586 (comment) but most specifically #18586 (comment)) Does that last comment mimic what you're seeing? I can say that it appears to be working, even after relaunching GitHub Desktop and switching repositories.

from desktop.

hszequel avatar hszequel commented on June 18, 2024

Thank you for mentioning these comments. I just read them. Repositories are accessible. We can reproduce the issue with another user (different desktops). Interestingly, a third user accessing the same repos with Github Desktop 3.3.17 has not had the issue. The only difference that we can think of is that this user upgraded directly from 3.3.14 to 3.3.17 while the other two went from 3.3.14 to 3.3.15 (authentication broke). Then, 3.3.17.

Workarounds:

  1. We downgraded to 3.3.14. The issue is resolved. The problem is that GitHub Desktop does not allow you to opt out from upgrading at the next restart :(
  2. Entering the PAT every time that it is requested (big usability issue).
  3. After reading the comments by @aolszowka, I generated a new PAT. So far so good, but we have only used the app for 30 minutes after that. I will update the ticket tomorrow

Based on the above, this should probably be classified as a bug.

from desktop.

aolszowka avatar aolszowka commented on June 18, 2024

Sorry to double post here; but if you look at the log you provided @hszequel you see it helpfully delete the cred right here:

2024-05-14T12:17:58.593Z - info: [ui] askPassHandler: auth failed, deleting dev.azure.com credential

Based on the log you've got 16 repositories; did you go clear out ALL of the old creds? And ALL of those repositories are still valid?

2024-05-14T11:20:16.833Z - info: [ui] [AppStore] loading 16 repositories from store

from desktop.

hszequel avatar hszequel commented on June 18, 2024

All the repositories are valid. Some of these repositories are on GitHub. The ones that are on Azure DevOps haveΒ been replaced.

from desktop.

sergiou87 avatar sergiou87 commented on June 18, 2024

Hello πŸ‘‹

Please, try the latest beta (3.3.19-beta2) from https://desktop.github.com/beta which includes support for multiple git credentials on the same host based on different repository paths and let us know if it works.

After updating, you might need to re-enter your credentials for your Azure DevOps repositories.

For hosts other than dev.azure.com, you might need to set useHttpPath to true for whatever domain your repos are hosted on. For example, for gitlab:

git config --global credential.https://gitlab.com.useHttpPath true

Thank you for your patience πŸ™

from desktop.

sergiou87 avatar sergiou87 commented on June 18, 2024

You can download 3.4.0 now from https://desktop.github.com (auto-updates are rolled out progressively and might take longer)

Closing this now, thank you for your patience πŸ™

from desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.