Comments (12)
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.
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.
Something to note is to watch the Credential Manager:
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.
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.
Dupe of #18586
from desktop.
#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.
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.
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:
- 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 :(
- Entering the PAT every time that it is requested (big usability issue).
- 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.
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.
All the repositories are valid. Some of these repositories are on GitHub. The ones that are on Azure DevOps haveΒ been replaced.
from desktop.
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.
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)
- Can't install app HOT 2
- With version 3.4.0, we receive error - git: 'remote-codecommit' is not a git command. It worked on Version 3.3.18. HOT 9
- 3.4 pull / push issue with bitbucket (working in 3.3.18) HOT 7
- Github desktop is not case sensitive with branch names HOT 1
- fatal: Could not write new index file HOT 1
- Git LFS Authentication behaviour change between 3.3.16 and 3.3.17 HOT 2
- IDIOMA HOT 2
- Display commit statistics before push
- Allow users to choose more than one external editor to open a project
- Check in the computer HOT 1
- local hooks stopped working after updating to latest verison. HOT 33
- Ww3 HOT 2
- (Pr) HOT 1
- Guerraart14 HOT 2
- Git Desktop Authentication Issue (Mac OS) HOT 7
- KellyWang HOT 1
- NPM command not found on GitHub desktop HOT 10
- v3.4.0, can't push on windows 10 to azure devops HOT 8
- Please support personal access tokens for GitHub Desktop HOT 1
- Fail to authenticate via browser HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop.