Someone told me that the problem was caused by a firewall and a VPN, but I disabled the firewall and do not have a VPN.
Asked
Active
Viewed 1,071 times
3 Answers
3
GitHub Copilot could not connect to server. Extension activation failed: "Timed out waiting for authentication provider to register"
You probably have GitHub Authentication disabled.
GitHub Autenthication is an extension that is bundled with Visual Studio Code.
Go to File -> Preferences -> Profiles -> Show Contents
In the left panel, in the "Extensions" group, click in "GitHub Authentication" and enable the extension.

Fede
- 141
- 1
- 6
0
I also got the same problem and I did this:
- Disable the extension from the settings
- Refresh
- Enable again
It worked for me!

SAHIL NAZIR
- 1
- 2
0
It's because network problem.
Edit you hosts
file, and add
140.82.114.4 github.com
140.82.114.6 api.github.com
Reference

Lin Weiye
- 185
- 2
- 13