|
| 1 | +--- |
| 2 | +title: Troubleshoot GitHub Copilot in Visual Studio 2022 |
| 3 | +description: Learn about the copilot status and how to fix issues. |
| 4 | +ms.date: 4/09/2024 |
| 5 | +ms.topic: troubleshooting-problem-resolution |
| 6 | +author: anandmeg |
| 7 | +ms.author: meghaanand |
| 8 | +ms.manager: mijacobs |
| 9 | +ms.subservice: ai-tools |
| 10 | +monikerRange: vs-2022 |
| 11 | +--- |
| 12 | + |
| 13 | +# Troubleshoot GitHub Copilot in Visual Studio |
| 14 | + |
| 15 | +This troubleshooting guide includes instructions to resolve issues with GitHub Copilot in Visual Studio 2022 version 17.10 Preview 3 or later. |
| 16 | + |
| 17 | +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. |
| 18 | + |
| 19 | +:::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"::: |
| 20 | + |
| 21 | +GitHub Copilot could be offline due to one of the following reasons: |
| 22 | + |
| 23 | +## Network issues |
| 24 | + |
| 25 | +Your network is down. |
| 26 | + |
| 27 | +**Action:** Ensure you have a stable internet connection. For more information, see [Troubleshooting network errors for GitHub Copilot](https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-network-errors-for-github-copilot). |
| 28 | + |
| 29 | +## Copilot service is unavailable |
| 30 | + |
| 31 | +The Copilot service is down. |
| 32 | + |
| 33 | +**Action:** In this case, wait. The service will be back shortly. You can check the status of the service on [GitHub Status](https://www.githubstatus.com/). |
| 34 | + |
| 35 | +## Refresh your credentials |
| 36 | + |
| 37 | +Due to the expected timeout, you need to occasionally refresh your credentials. |
| 38 | + |
| 39 | +**Action:** Select **"Refresh your credentials"** from the Copilot badge in the upper-right corner of your Visual Studio environment. |
| 40 | + |
| 41 | +:::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"::: |
| 42 | + |
| 43 | +## Copilot is disabled |
| 44 | + |
| 45 | +Your administrator disables Copilot for individual or any Copilot license. With Visual Studio version 17.10, your [admin can disable Copilot](visual-studio-github-copilot-admin.md#disabling-copilot-for-individual-enterprise-visual-studio-accounts). |
| 46 | + |
| 47 | +**Action:** Contact your IT department to learn if your admin disabled Copilot. |
| 48 | + |
| 49 | +:::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"::: |
0 commit comments