vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

can't sign in Github Copilot in VS Code when default browser is Chrome

Open furmangg opened this issue 1 year ago • 4 comments

VS Code Version: Version: 1.86.1 (user setup) Commit: 31c37ee8f63491495ac49e43b8544550fbae4533 Date: 2024-02-07T09:08:20.941Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22621

Windows 11

When Chrome is the default browser, the GitHub Copilot sign in protocol doesn't succeed. It never pops up a login window and the logs are the following. But as soon as I change the default browser to Edge, then sign in works fine:

2024-02-13 12:57:51.052 [info] Getting sessions for user:email... 2024-02-13 12:57:51.052 [info] Got 0 sessions for user:email... 2024-02-13 12:57:51.053 [info] Getting sessions for read:user... 2024-02-13 12:57:51.053 [info] Got 0 sessions for read:user... 2024-02-13 12:59:56.774 [info] Reading sessions from keychain... 2024-02-13 12:59:56.774 [info] Getting sessions for all scopes... 2024-02-13 12:59:56.774 [info] Got 0 sessions for ... 2024-02-13 12:59:56.775 [info] Getting sessions for all scopes... 2024-02-13 12:59:56.775 [info] Got 0 sessions for ... 2024-02-13 12:59:56.775 [info] Getting sessions for read:user... 2024-02-13 12:59:56.775 [info] Got 0 sessions for read:user... 2024-02-13 12:59:56.776 [info] Getting sessions for user:email... 2024-02-13 12:59:56.776 [info] Got 0 sessions for user:email... 2024-02-13 12:59:56.781 [info] Getting sessions for read:user,repo,user:email,workflow... 2024-02-13 12:59:56.781 [info] Got 0 sessions for read:user,repo,user:email,workflow... 2024-02-13 12:59:56.956 [info] Getting sessions for read:user,repo,user:email,workflow... 2024-02-13 12:59:56.956 [info] Got 0 sessions for read:user,repo,user:email,workflow... 2024-02-13 12:59:57.081 [info] Getting sessions for user:email... 2024-02-13 12:59:57.081 [info] Got 0 sessions for user:email... 2024-02-13 12:59:57.500 [info] Getting sessions for read:user... 2024-02-13 12:59:57.500 [info] Got 0 sessions for read:user... 2024-02-13 12:59:58.723 [info] Getting sessions for read:user,repo,user:email,workflow... 2024-02-13 12:59:58.723 [info] Got 0 sessions for read:user,repo,user:email,workflow... 2024-02-13 20:39:04.200 [info] Logging in for the following scopes: read:user repo user:email workflow 2024-02-13 20:39:04.208 [info] Trying without local server... (read:user repo user:email workflow) 2024-02-13 20:44:04.226 [error] Timed out

furmangg avatar Feb 14 '24 03:02 furmangg

@furmangg are you still seeing this? I am not able to repro. Chrome works just fine.

TylerLeonhardt avatar Mar 28 '24 19:03 TylerLeonhardt

How can I help debug if this is what's causing me trouble too?

When select this found choice, nothing happens. No browser opens. Nothing.

Command option in vs code

peterbe avatar May 13 '24 18:05 peterbe

@peterbe can you open a new issue? You're probably seeing something different.

TylerLeonhardt avatar May 14 '24 12:05 TylerLeonhardt

@peterbe can you open a new issue? You're probably seeing something different.

Done https://github.com/microsoft/vscode-copilot-release/issues/1217

peterbe avatar May 15 '24 14:05 peterbe

Hey @TylerLeonhardt, this issue might need further attention.

@furmangg, you can help us out by closing this issue if the problem no longer exists, or adding more information.