[Conversations Error] [CopilotClient] Failed to talk to Copilot: Bad Request #132067
Replies: 28 comments 5 replies
-
|
I´m getting the following.. when going to https://api.githubcopilot.com/chat/completions I get 405 (Method Not Allowed) a bad deployment? 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
|
Same here. Bad Request at Conversations.Kernel.ConversationBase.AskAsync(CopilotRequest request, ActiveInteractions activeInteractions, IContextProviders context, IReadOnlyList Bad Request at StreamJsonRpc.JsonRpc.d__154 RPC server exception: |
Beta Was this translation helpful? Give feedback.
-
|
Also me: |
Beta Was this translation helpful? Give feedback.
-
|
I didn't make any updates, but today I was suddenly able to use Copilot Chat again. I believe the error 405 might have been caused by a server-side misconfiguration. The detailed error message previously was as follows: |
Beta Was this translation helpful? Give feedback.
-
|
hi Anyone can't use right now? I used vscode copilot and now "Failed to make request" and can't use copilot to generate coding. please help~~~~~~ |
Beta Was this translation helpful? Give feedback.
-
|
i had the same issue earlier today after updating visual studio. go to windows credentials in control panel. (User Accounts, Credential Manager, Manage Windows Credentials) remove all the github credentials in that list. when you restart the IDE you should be signed out of copilot, now remove the github account from here(in the top right). re-add the accountand then restart the ide. this is what did it for me.( i am on 17.10.4 vs) |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
still not fixed |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Still not fixed! |
Beta Was this translation helpful? Give feedback.
-
|
I sometimes get this. It disappears after I restart my IDE. But other times, it doesn't work until I try again in 10 minutes. Annoying. |
Beta Was this translation helpful? Give feedback.
-
|
This is still an issue today (28/Feb/2025) and I get it pretty much every day now, which is very frustrating. All I can do is keep retrying until it eventually works. The errors I see in the Output window are as follows: |
Beta Was this translation helpful? Give feedback.
-
|
Im getting this aslso 13:45:48:767 [Conversations Information] [SemanticContextService] Generating context with reference hops... |
Beta Was this translation helpful? Give feedback.
-
|
I too am getting this error this Monday morning: Conversations Error] [CopilotClient] Failed to talk to Copilot: Bad Request [Conversations Warning] [CopilotClient] Issue with setting up the connection to 'https://api.githubcopilot.com/chat/completions', if you are using a proxy, check if HTTPS_PROXY is set correctly. https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/http/httpclient#http-proxy Is there any information on what is causing this and a resolution? All was working fine on Friday... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Still not fixed! |
Beta Was this translation helpful? Give feedback.
-
|
Same problem here. [CopilotSessionProvider Information] Begin sending message (ConversationId:a2fb626d-a417-404c-add9-dc5cbe64cfc1, CorrelationId:3fc93c03-594d-4069-8a17-1cb5198db9c0, MessageId: e2c0daea-865c-472a-addf-f05478c903e7) [Conversations Warning] [CopilotClient] Issue with setting up the connection to 'https://api.githubcopilot.com/chat/completions', if you are using a proxy, check if HTTPS_PROXY is set correctly. https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/http/httpclient#http-proxy at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 95 at StreamJsonRpc.JsonRpc.d__156 [Conversations Information] [CopilotClient] Copilot Internal User response: Conversations.Abstractions.Auth.CopilotUserData |
Beta Was this translation helpful? Give feedback.
-
|
Starting today I also have now the same Problem |
Beta Was this translation helpful? Give feedback.
-
|
Still not fixed. I am getting this error right now. |
Beta Was this translation helpful? Give feedback.
-
|
I am unable to use GitHub Copilot at all any more because of this issue. Restarting VS doesn't help. Does anyone have a fix? Is Microsoft working on this? Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
i am having same problem |
Beta Was this translation helpful? Give feedback.
-
|
Having same issue, any temporary solutions?? I've tried restarting Visual Studio and removing the associated copilot account but it is still stuck on running get_file even after cancelling the request. Any subsequent request just return the conversation bad request error seen above. I was trying out agent mode in Copilot on Visual Studio Enterprise 2022 |
Beta Was this translation helpful? Give feedback.
-
|
Same problem here. Started some weeks ago when testing an mcp. Now it comes up in copilot agent. |
Beta Was this translation helpful? Give feedback.
-
|
[Conversations Error] [CopilotClient] Failed to talk to Copilot: {"error":{"message":"prompt token count of 269267 exceeds the limit of 128000","code":"model_max_prompt_tokens_exceeded"}} [Conversations Warning] [CopilotClient] Issue with setting up the connection to 'https://api.githubcopilot.com/chat/completions', if you are using a proxy, check if HTTPS_PROXY is set correctly. https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/http/httpclient#http-proxy at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) at StreamJsonRpc.JsonRpc.d__156 [PersistedCopilotSessionRepository Information] Persisted sessions are stored under E:\Factory Yield Viewer dv1\Factory Yield Viewer dv1\Factory Yield Viewer dv1\Factory Yield Viewer dv1.vs\Factory Yield Viewer dv1\copilot-chat\996d44da\sessions |
Beta Was this translation helpful? Give feedback.
-
|
I think I've find a workaround to this problem: uninstall visual studio from your windows, then re install it. done! |
Beta Was this translation helpful? Give feedback.
-
|
I've cleaned the following folder, it worked for me |
Beta Was this translation helpful? Give feedback.
-
|
This is still an issue.... what is the fix? |
Beta Was this translation helpful? Give feedback.
-
|
Hi,this is still an issue [Conversations Error] [Conversations] Unhandled exception in AskInConversationAsync: System.Exception: Error occurred while invoking intent 'Generic'. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
vs 2022 cant use copilot chat
something wrong:
win10 x64 Microsoft Visual Studio Community 2022 17.10.2
[Conversations Information] Copilot chat version 0.2.889-beta+76e081c54a.RR (0.2.889.30432). VS: VisualStudio.17.Release/17.10.2+35004.147. Session: 11edddd8-6993-4a33-b4ed-e9263d36083d.
[ConversationsServiceManager Information] Out-of-process service finished initializing.
[Conversations Error] [CopilotClient] Failed to talk to Copilot: Bad Request
Failed to load resource: the server responded with a status of 405
please help
Beta Was this translation helpful? Give feedback.
All reactions