can't sign in Github Copilot in VS Code when default browser is Chrome
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 are you still seeing this? I am not able to repro. Chrome works just fine.
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.
@peterbe can you open a new issue? You're probably seeing something different.
@peterbe can you open a new issue? You're probably seeing something different.
Done https://github.com/microsoft/vscode-copilot-release/issues/1217
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.