New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't sign in with GitHub Desktop #18494
Comments
The problemAfter updating to GitHub Desktop 3.3.14 (x64), GitHub Desktop fails to sign in to GitHub using a web browser. Release versionVersion 3.3.14 (x64) Operating systemWindows 10 Steps to reproduce the behavior
At this point, GitHub Desktop says "Requires authentication" even though I have successfully signed into GitHub in a web browser. Log files
Additional contextNo response |
The problemGitHub Desktop fails to sign in to GitHub using a web browser. Release version Operating systemWindows 11 Home, 64 bits. Steps to reproduce the behaviorClick Open Options and click Sign into GitHub.com Log files
Additional contextIt only happened to me starting yesterday. It's strange. I haven't made any significant changes to my computer. I have not changed antivirus or firewall. |
@artempopereka are you behind a firewall or proxy that could be interfering with your connection to GitHub? @takashiyoshida can you try to reset the app to ensure there isn't a caching issue? Here's how to do that:
You will need to add your repositories again, which can be done quickly in bulk by drag-and-drop. @escmHEX are you behind a proxy server or firewall? If this issue persists it would be helpful to get some information from the Developer Tools window to see if that shows any further information about why the authentication requests are failing. To do this open the Developer tools by selecting the "View" menu and "Toggle Developer Tools". Once opened try signing in again and see if the dev tools console provides any more insight as to why to the requests are failing. |
We have exactly the same issue - two different users on five different machines. We optimistically upgraded to 3.3.14 (Windows 10, x64) and boom, our access to GitHub via GitHub Desktop is gone forever. Nothing else has changed in any of our machines. Since I am unable to find previous versions of GitHub Desktop to install (why? Does it cost you any effort to leave previous versions available somewhere?), the only solution for us was to use the portable version of it, which starts an older - but still acceptable - version of GitHub Desktop (3.3.9). |
@steveward I followed your reset procedures but in the end, GitHub Desktop is unable to sign-in (I am able to sign-in to GitHub web site via a web browser). I am attaching logs from GitHub Desktop though I am not sure if those are helpful. I collected them after I followed your reset procedures. 2024-05-08.desktop.production.log |
As @infinity77 said, if there is a way to install older GitHub Desktop, that would be helpful, though I don't know if the older GitHub Desktop client is able to continue to sign-in. |
@takashiyoshida : it works for us using 3.3.9 (signing in through GitHub Desktop via web page). As far as I can see, 3.3.9 is about 3 months old. |
The problem
Today I can't push commit from GitHub Desktop
fatal: unable to access 'https://github.com/artempopereka/AmusementPark/': Send failure: Connection was reset
After log out i can't login with browser from GitHub Desktop. Please take a look screenshort. But I can login in my browser chrome.
Release version
Version 3.3.14 (x64)
Operating system
Windows 10
Steps to reproduce the behavior
No response
Log files
TypeError: Failed to fetch
at fn (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\lib\http.ts:152:10)
at C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\lib\api.ts:2165:28
at C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\lib\oauth.ts:52:23
at Object.dispatchURLAction (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\ui\dispatcher\dispatcher.ts:1848:30)
at EventEmitter. (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\ui\index.tsx:338:14)
at EventEmitter.emit (node:events:517:28)
at Object.onMessage (node:electron/js2c/renderer_init:2:8536)
2024-04-21T14:48:52.836Z - info: [ui] [SignInStore] error with OAuth flow
Error: Unable to fetch authenticated user.
at Object.dispatchURLAction (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\ui\dispatcher\dispatcher.ts:1852:32)
2024-04-21T14:49:00.384Z - error: [ui]
git -c credential.helper= push origin master:master --progress
exited with an unexpected code: 128.stderr:
fatal: unable to access 'https://github.com/artempopereka/AmusementPark/': Send failure: Connection was reset
2024-04-21T14:50:01.458Z - info: [ui] [SignInStore] initializing OAuth flow
2024-04-21T14:50:01.465Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=de0e3c7e9973e1c4dd77&scope=repo%20user%20workflow&state=9bc47c73-747e-4221-98fe-3ff25b5d916a
2024-04-21T14:50:02.212Z - info: [main] Received possible protocol arguments: 4
2024-04-21T14:50:02.215Z - info: [main] Processing protocol url
2024-04-21T14:50:02.216Z - info: [ui] [Dispatcher] requesting authenticated user
2024-04-21T14:50:02.373Z - warn: [ui] requestOAuthToken: failed with endpoint https://api.github.com
TypeError: Failed to fetch
at fn (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\lib\http.ts:152:10)
at C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\lib\api.ts:2165:28
at C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\lib\oauth.ts:52:23
at Object.dispatchURLAction (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\ui\dispatcher\dispatcher.ts:1848:30)
at EventEmitter. (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\ui\index.tsx:338:14)
at EventEmitter.emit (node:events:517:28)
at Object.onMessage (node:electron/js2c/renderer_init:2:8536)
2024-04-21T14:50:02.373Z - info: [ui] [SignInStore] error with OAuth flow
Error: Unable to fetch authenticated user.
at Object.dispatchURLAction (C:\Users\artyo\AppData\Local\GitHubDesktop\app-3.3.14\webpack:\app\src\ui\dispatcher\dispatcher.ts:1852:32)
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: