Chat shows Sign In even though I'm signed in to GitHub
Type: Bug
Recently started seeing Copilot Chat window showing Sign In button even though I'm signed in
The Output shows GitHub login failed
Extension version: 0.16.1 VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:34:26.404Z) OS version: Windows_NT x64 10.0.22631 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 5950X 16-Core Processor (32 x 3394) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | undefined |
| Memory (System) | 63.92GB (18.86GB free) |
| Process Argv | --folder-uri file:///c%3A/Users/viktordikov/OneDrive%20-%20Microsoft/Documents/Docs --crash-reporter-id 20eadb33-7708-475b-ab95-b7740165afae |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelc:31048052
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
impr_priority:31082723
It may have something to do with multiple github accounts ,mine worked after i set a preferred account under extension settings
I have the same issue but nothing is helping.
I signed in but yet is keep failing with this outpot
I keep having this issue.
2024-07-02 11:27:24.272 [error] [auth] Retrying auth 2024-07-02 11:27:57.618 [error] [auth] The operation was aborted.
2024-07-02 11:35:32.376 [error] [default] Error sending telemetry AbortError: The operation was aborted. at fetch (/home/yadinbk/.vscode-server/extensions/github.copilot-1.208.963/node_modules/@adobe/helix-fetch/src/fetch/index.js:96:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at cachingFetch (/home/yadinbk/.vscode-server/extensions/github.copilot-1.208.963/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16) at Dq.fetch (/home/yadinbk/.vscode-server/extensions/github.copilot-1.208.963/lib/src/network/helix.ts:88:22) { type: 'aborted', _name: 'AbortError' } 2024-07-02 11:35:46.017 [error] [auth] The operation was aborted. 2024-07-02 11:35:47.714 [error] [auth] Retrying auth 2024-07-02 11:36:43.297 [error] [auth] The operation was aborted. 2024-07-02 11:38:11.617 [error] [auth] Retrying auth 2024-07-02 11:38:45.398 [error] [auth] The operation was aborted. 2024-07-02 11:38:53.789 [error] [auth] Retrying auth 2024-07-02 11:40:29.488 [error] [auth] The operation was aborted.
It may have something to do with multiple github accounts ,mine worked after i set a preferred account under extension settings
Ah yep that worked for me. Once I set the github.copilot.preferredAccount to the account that has the Copilot subscription it started working.
It would be nice if there was an option in the chat window when it is showing the sign in button to let you choose an account to use.
This is a duplicate of https://github.com/microsoft/vscode-copilot-release/issues/1444#issuecomment-2299464817
It's a bug and I have a fix for this Insiders & Pre-release of Copilot Chat.