Skip to content
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

Failure to log into gh enterprise account from vscode #6602

Open
luisxcam opened this issue Jan 21, 2025 · 1 comment
Open

Failure to log into gh enterprise account from vscode #6602

luisxcam opened this issue Jan 21, 2025 · 1 comment

Comments

@luisxcam
Copy link

  • Extension version: 0.102.0
  • VSCode Version: 1.96.4
  • OS: Microsoft Windows 11 Enterprise (Version: 10.0.22631 Build 22631)
  • Repository Clone Configuration (single repository/fork of an upstream repository): fork of an upstream repository
  • Github Product (Github.com/Github Enterprise version x.x.x): Enterprise

Steps to Reproduce: N/A
This just started happening recently, it started by asking me every time (almost every 10 min) to Log In to GitHub. Since, I re-installed my entire ecosystem (git, gcm, vscode, etc.)

This is what I am seeing when trying to log in using the option under my user icon

GitHub Pull Request output

2025-01-20 19:03:21.305 [warning] C:\Users\<username>\.ssh\config: ENOENT: no such file or directory, open 'C:\Users\<username>\.ssh\config'
2025-01-20 19:03:21.305 [info] Activation> Extension version: 0.102.0
2025-01-20 19:03:21.457 [info] Looking for git repository
2025-01-20 19:03:21.457 [info] Found 0 repositories during activation
2025-01-20 19:03:21.457 [info] Git repository found, initializing review manager and pr tree view.
2025-01-20 19:03:21.459 [info] Registering git provider
2025-01-20 19:03:21.635 [info] Repository file:///c%3A/<org>/<repo_folder> has been opened
2025-01-20 19:03:31.987 [info] Git initialization state changed: state=initialized
2025-01-20 19:03:31.988 [info] Review+0> Validate state in progress
2025-01-20 19:03:31.988 [info] Review+0> Validating state...
2025-01-20 19:03:31.989 [info] Found GitHub remote for folder c:\<org>\<repo_folder>
2025-01-20 19:03:31.991 [info] Trying to use globalState for assignableUsers.
2025-01-20 19:03:32.006 [info] GlobalState does not exist for assignableUsers.
2025-01-20 19:03:32.182 [info] Review+0> Queuing additional validate state
2025-01-20 19:03:32.182 [info] Repo state for file:///c%3A/<org>/<repo_folder> changed.
2025-01-20 19:03:32.182 [info] Repo file:///c%3A/<org>/<repo_folder> has already been setup.
2025-01-20 19:03:32.208 [info] Review+0> No matching pull request metadata found locally for current branch master
2025-01-20 19:03:32.209 [info] Review+0> No matching pull request metadata found on GitHub for current branch master
2025-01-20 19:03:32.260 [info] Review+0> Validating state...
2025-01-20 19:03:32.265 [info] Found GitHub remote for folder c:\<org>\<repo_folder>
2025-01-20 19:03:32.266 [info] Using in-memory cached assignable users.
2025-01-20 19:03:32.457 [info] Review+0> No matching pull request metadata found locally for current branch master
2025-01-20 19:03:32.457 [info] Review+0> No matching pull request metadata found on GitHub for current branch master

GitHub Enterprise Authentication output

2025-01-20 19:06:15.066 [info] Logging in with 'any' account...
2025-01-20 19:06:15.066 [info] Logging in for the following scopes: read:user repo user:email workflow
2025-01-20 19:06:15.079 [info] Trying device code flow... (read:user repo user:email workflow)
2025-01-20 19:06:21.080 [info] Getting user info...
2025-01-20 19:06:21.177 [error] Getting account info failed: Not Found
2025-01-20 19:06:21.181 [error] Error: Not Found
	at a.GitHubServer.getUserInfo (c:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:1:235939)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async a.GitHubAuthenticationProvider.tokenToSession (c:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:1:229458)
	at async a.GitHubAuthenticationProvider.createSession (c:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\github-authentication\dist\extension.js:1:228799)
	at async pw.$createSession (file:///c:/Users/<username>/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:3467)
@luisxcam
Copy link
Author

Image
Adding additional screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant