|
| 1 | +--- |
| 2 | +title: Troubleshooting common issues with GitHub Copilot |
| 3 | +intro: 'This guide describes the most common issues with {% data variables.product.prodname_copilot %} and how to resolve them.' |
| 4 | +versions: |
| 5 | + feature: copilot |
| 6 | +topics: |
| 7 | + - Copilot |
| 8 | +shortTitle: Common issues with GitHub Copilot |
| 9 | +--- |
| 10 | + |
| 11 | + |
| 12 | +For questions about the general use of {% data variables.product.prodname_copilot %}, product impact, human, oversight, and privacy, see the comprehensive list of [{% data variables.product.prodname_copilot %} FAQs](https://github.com/features/copilot#:~:text=Frequently%20asked%C2%A0questions). |
| 13 | + |
| 14 | +If {% data variables.product.prodname_copilot %} stops working, check {% data variables.product.prodname_dotcom %}'s [Status page](https://githubstatus.com) for any active incidents. |
| 15 | + |
| 16 | +## Unable to use the {% data variables.product.prodname_copilot %} extension in the IDE |
| 17 | + |
| 18 | +We recommend you follow the quickstart guide for {% data variables.product.prodname_copilot %} while setting up {% data variables.product.prodname_copilot %} on your machine. For more information, see "[Quickstart for {% data variables.product.prodname_copilot %}](/copilot/quickstart)." |
| 19 | + |
| 20 | +The {% data variables.product.prodname_copilot %} extension is frequently updated to fix bugs and add new features. It's important to keep your extension up to date because older clients cannot communicate with the {% data variables.product.prodname_copilot %} servers. Update your {% data variables.product.prodname_copilot %} extension on all the machines you have it installed. |
| 21 | + |
| 22 | +For more information about configuring {% data variables.product.prodname_copilot %} in a supported IDE, see "[Configuring {% data variables.product.prodname_copilot %}](/copilot/configuring-github-copilot)." |
| 23 | + |
| 24 | +## Error: "{% data variables.product.prodname_copilot %} could not connect to server. Extension activation failed" |
| 25 | + |
| 26 | +This error indicates that you either do not have a {% data variables.product.prodname_copilot %} subscription, or there was an error connecting to the {% data variables.product.prodname_dotcom %} API to request a token to use {% data variables.product.prodname_copilot %}. |
| 27 | + |
| 28 | +To request another token from api.github.com, try signing in and out of {% data variables.product.prodname_copilot %} from your IDE. Once you've logged out, {% data variables.product.prodname_copilot %} will prompt you to sign back in. |
| 29 | + |
| 30 | +If you still cannot connect to the server, you can create a discussion in our [discussion forum](https://github.com/orgs/community/discussions/categories/copilot). You can include log files from your IDE to help us troubleshoot the issue. For more information, see the information about log files in the client-specific articles under "[Troubleshooting {% data variables.product.prodname_copilot %}](/copilot/troubleshooting-github-copilot)." |
| 31 | + |
| 32 | +## Error: "{% data variables.product.prodname_copilot %} could not connect to server. Extension activation failed: "read ETIMEDOUT" or “read ECONNRESET"" |
| 33 | + |
| 34 | +If you use a proxy server in your environment or are connected to a VPN, {% data variables.product.prodname_copilot %} may not be able to connect to the server. |
| 35 | + |
| 36 | +The latest release of {% data variables.product.prodname_copilot %} for {% data variables.product.prodname_vscode %} and {% data variables.product.prodname_copilot %} for IntelliJ contains preliminary support for connecting through HTTP proxy servers. The current version supports basic HTTP proxy setups, with and without basic authentication. For more information, see this [{% data variables.product.prodname_github_community %} discussion](https://github.com/orgs/community/discussions/29127). |
| 37 | + |
| 38 | +## {% data variables.product.prodname_copilot %} not suggesting multiple lines of code |
| 39 | + |
| 40 | +This is a known issue and our team is working towards a fix. For more information, see this comment on a [{% data variables.product.prodname_github_community %} discussion](https://github.com/orgs/community/discussions/40522#discussioncomment-4701470). |
| 41 | + |
| 42 | +## Further reading |
| 43 | + |
| 44 | +- [Troubleshooting {% data variables.product.prodname_copilot %}](/copilot/troubleshooting-github-copilot) |
0 commit comments