microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
322 stars 29 forks source link

CoPilot chat no longer works in VS #996

Closed chuckcuro closed 7 months ago

chuckcuro commented 7 months ago

Type: Bug

Try to load CoPilot chat in VS gives following error in Output Window:

Logging to: C:\Users\CharlesHarkins\AppData\Local\Temp\VSGitHubCopilotLogs\20240301_153531.035_VSGitHubCopilot.chat.log [Conversations Information] Copilot chat version 0.2.584-beta+b218379f84.RR (0.2.584.45592). VS: VisualStudio.17.Release/17.9.2+34622.214. Session: b76c0336-d7bc-45e0-89c3-d033df876704. [Conversations Information] Need to get an auth token. [Conversations Error] Copilot token request failed: System.IO.FileNotFoundException: Could not load file or assembly 'Polly, Version=7.0.0.0, Culture=neutral, PublicKeyToken=c8a3ffc3f8f825cc' or one of its dependencies. The system cannot find the file specified. File name: 'Polly, Version=7.0.0.0, Culture=neutral, PublicKeyToken=c8a3ffc3f8f825cc' at Microsoft.VisualStudio.Copilot.Common.HttpClientFactoryProvider.<>cDisplayClass0_0.<<-ctor>b0>d.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.VisualStudio.Copilot.Common.HttpClientFactoryProvider.<>cDisplayClass0_0.<.ctor>b0() at Microsoft.VisualStudio.Threading.AsyncLazy1.<>c__DisplayClass16_0.<<GetValueAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Copilot.Common.HttpClientFactoryProvider.<GetHttpClientFactoryAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Copilot.Common.CopilotTokenManagerImpl.<>c__DisplayClass21_1.<<GetCopilotIdentityAsync>b__2>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask1.get_Result() at Microsoft.VisualStudio.Threading.ReentrantSemaphore.NotAllowedSemaphore.<>c__DisplayClass3_01.<<ExecuteAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter1.GetResult() at Microsoft.VisualStudio.Threading.ReentrantSemaphore.NotAllowedSemaphore.d3`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Copilot.Common.CopilotTokenManagerImpl.d21.MoveNext()

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Extension version: 0.13.0 VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:41:44.469Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)| |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)|15.79GB (1.31GB free)| |Process Argv|--crash-reporter-id 1f2433d1-60f6-4fa1-a6e7-e053a62c9f00| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 2e7ec940:30968132 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:30973185 d34g3935:30971562 edj9j583:30969295 fegfb526:30973843 8f97e687:30977000 ccp1r6:30958156 dsvsc020:30976470 ```
roblourens commented 7 months ago

Hi, this is the repo for VS Code, it looks like you are describing Visual Studio, you can open a discussion here: https://github.com/orgs/community/discussions?discussions_q=is%3Aopen+

chuckcuro commented 7 months ago

Thanks, I only did that because “Report a Problem” is also broken in VS and I couldn’t find an alternate place to post my issue 😊

From: Rob Lourens @.> Sent: Monday, March 4, 2024 10:20 AM To: microsoft/vscode-copilot-release @.> Cc: Charles Harkins @.>; Author @.> Subject: Re: [microsoft/vscode-copilot-release] CoPilot chat no longer works in VS (Issue #996)

Caution: This email was sent from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi, this is the repo for VS Code, it looks like you are describing Visual Studio, you can open a discussion here: https://github.com/orgs/community/discussions?discussions_q=is%3Aopen+

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-copilot-release/issues/996#issuecomment-1976826214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7LGGPXU4TTQEOJJY4M5WHDYWSGLDAVCNFSM6AAAAABEFKXVDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZWHAZDMMRRGQ. You are receiving this because you authored the thread.Message ID: @.**@.>>