Op Englesch liesen Editéieren

Deelen iwwer


Troubleshoot GitHub Copilot in Visual Studio

This troubleshooting guide includes steps for resolving GitHub Copilot issues in Visual Studio 2022 version 17.10 or later.

If the GitHub Copilot badge in the upper-right corner of the Visual Studio environment displays the message Copilot is temporarily unreachable, it means GitHub Copilot is currently offline.

Screenshot of copilot unreachable error.

GitHub Copilot may be offline due to one of the following reasons:

  • Network issues
  • Copilot service being unavailable
  • Credentials requiring a refresh
  • Copilot being disabled

Network issues

If your network is down, GitHub Copilot may not be able to connect.

Action: Ensure you have a stable internet connection. For more information, see Troubleshooting network errors for GitHub Copilot.

Copilot service is unavailable

The GitHub Copilot service may be temporarily down.

Action: Wait for the service to come back online. You can check the status on GitHub Status.

Refresh your credentials

Occasionally, you may need to refresh your credentials due to expected timeouts.

Action: Select "Refresh your credentials" from the Copilot badge in the upper-right corner of your Visual Studio environment to reauthenticate your GitHub account and sign in again.

Screenshot of Refresh your credentials option.

Notiz

Known issue: If you don’t see the option to refresh your credentials for the GitHub account in the All Accounts window, you can resolve this by removing and re-adding your GitHub account. For more information, refer to the Dev Community ticket related to this issue.

Copilot is disabled

Your administrator may have disabled GitHub Copilot for individual or any Copilot license. With Visual Studio version 17.10, your admin can disable Copilot.

Action: Contact your IT department to confirm whether your admin has disabled Copilot.

Screenshot of code suggestions in new file in the editor.