GitHub Copilot fails to connect in proxy environment on Visual Studio 2022 Community

Hikaru 0 Reputation points
2025-06-11T04:29:20.12+00:00

I am experiencing an issue using GitHub Copilot with Visual Studio 2022 Community Edition in a corporate proxy environment.

Here are the symptoms:

  • Upon launching Visual Studio, GitHub Copilot remains in a "waiting for connection" state.
  • If I manually open the "Manage Extensions" window, Copilot suddenly connects and becomes usable.
  • The environment uses an authenticated HTTP/HTTPS proxy.
  • I have set the HTTP_PROXY and HTTPS_PROXY environment variables.
  • Visual Studio is launched with administrator privileges.
  • No specific errors appear in the logs under %APPDATA%\GitHub Copilot\logs, but it seems the initialization timing is affected.

I would appreciate your guidance on the following:

  1. When exactly does Copilot attempt to authenticate/connect during startup?
  2. How can I ensure stable initialization in a proxy environment?
  3. Is there a way to make Copilot connect automatically without opening the Manage Extensions window?
Microsoft Copilot Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.