GitHub Copilot authentication issues #58876
Replies: 3 comments
-
|
Hi @mp-datafleet , Sorry that you're having trouble using Copilot.
Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
First, I followed the directions to install and set up Github Copilot's VS Code extension up until this point: If you have previously authorized Visual Studio Code in your GitHub account, GitHub Copilot will be automatically authorized.` VS Code did not prompt me to sign in to Github upon installing and activating the extension. I've disabled, uninstalled, reinstalled, and reactivated the extension numerous times, and still no prompt to sign in. Second, the VS Code extension is currently installed AND activated. Third, as far as I know, I am not using any VPN or firewall. I'm on a personal device on my personal internet service. |
Beta Was this translation helpful? Give feedback.
-
|
In case it helps others: TL;DR --> Make sure you have set a value for the "Suggestions matching public code (duplication detection filter)" setting in the Privacy section of the Copilot settings page. I fought with authentication issues in both Visual Studio 2022 and in VS Code for days before emailing GitHub support. In the GitHub Copilot drop menu in my Visual Studio IDE, the "Open Chat Window" option was disabled for me. I tried signing out and signing back in with my GitHub account countless times, and each time when the browser window opened to authorize Visual Studio to access my account, I would always see the "Success!" message, yet the Copilot Chat window or panel kept displaying buttons to "Sign up for Copilot Free" or "Add a different GitHub account" or (eventually) to "Refresh credentials". In VS Code, the Output window logged several messages that didn't point right to the issue, but were symptoms of it:
GitHub support replied back within a matter of hours (thank you!), informing me that one or more of my Copilot settings was not configured properly. I had assumed everything was okay because I was able to use Copilot in a web browser without any issues at all. However, on my Copilot settings page, there was a yellow banner at the top with the message, "Your GitHub Copilot setup is incomplete. Select your preferences below to start using GitHub Copilot." It seemed an odd message to me, since the page showed no other field validation messages. The issue (for me) turned out to be an unset value for the "Suggestions matching public code (duplication detection filter)" setting in the Privacy section of the Copilot settings page. I chose a value and restarted VS Code and Visual Studio 2022. To my great relief, both applications now successfully connect with Copilot and the Copilot Chat Window works now. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Hi guys,
I've been given a license for Github Copilot by my company and after installing the Github Copilot extension in VS Code, I've been unable to connect to my Github account.
In fact, after activating the extension, I'm not given the chance to log in to VS Code. I just get the following error message:
GitHub Copilot could not connect to server. Extension activation failed: "Timed out waiting for authentication provider to register"I haven't seen any other examples of this issue thus far, so I'm hoping someone could provide me with some guidance.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions