Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 2.45 KB

visual-studio-github-copilot-troubleshoot.md

File metadata and controls

49 lines (30 loc) · 2.45 KB
title description ms.date ms.topic author ms.author ms.manager ms.subservice monikerRange
Troubleshoot GitHub Copilot in Visual Studio 2022
Learn about the copilot status and how to fix issues.
4/09/2024
troubleshooting-problem-resolution
anandmeg
meghaanand
mijacobs
ai-tools
vs-2022

Troubleshoot GitHub Copilot in Visual Studio

This troubleshooting guide includes instructions to resolve issues with GitHub Copilot in Visual Studio 2022 version 17.10 Preview 3 or later.

The GitHub Copilot badge in the upper-right corner of the Visual Studio environment showing the message Copilot is temporarily unreachable indicates GitHub Copilot is offline.

:::image type="content" source="media/vs-2022/copilot-inbox/copilot-error.png" alt-text="Screenshot of copilot unreachable error." lightbox="media/vs-2022/copilot-inbox/copilot-error.png":::

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

Network issues

Your network is down.

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

Copilot service is unavailable

The Copilot service is down.

Action: In this case, wait. The service will be back shortly. You can check the status of the service on GitHub Status.

Refresh your credentials

Due to the expected timeout, you need to occasionally refresh your credentials.

Action: Select "Refresh your credentials" from the Copilot badge in the upper-right corner of your Visual Studio environment.

:::image type="content" source="media/vs-2022/copilot-inbox/copilot-refresh-credentials.png "alt-text="Screenshot of Refresh your credentials option." lightbox="media/vs-2022/copilot-inbox/copilot-refresh-credentials.png":::

Copilot is disabled

Your administrator disables Copilot for individual or any Copilot license. With Visual Studio version 17.10, your admin can disable Copilot.

Action: Contact your IT department to learn if your admin disabled Copilot.

:::image type="content" source="media/vs-2022/copilot-inbox/copilot-disable-badge.png "alt-text="Screenshot of code suggestions in new file in the editor." lightbox="media/vs-2022/copilot-inbox/copilot-disable-badge.png":::