GitHub Copilot could not connect to server. "getaddrinfo ENOTFOUND api.github.com" #7704
Replies: 11 comments 12 replies
-
|
Hello, I'm sorry you are having difficulties. We've found that the copilot icon may not show up if copilot is not able to contact our servers. Are you behind a firewall, vpn, or other technology that may be intercepting your network connections? |
Beta Was this translation helpful? Give feedback.
-
|
So, does anyone has a workaround for this until @github solves this issue? |
Beta Was this translation helpful? Give feedback.
-
|
I have the exact same issue when behind a corporate proxy "getaddrinfo ENOTFOUND api.github.com" :
The error is really odd, since dns resolution works fine on the host. |
Beta Was this translation helpful? Give feedback.
-
|
I have the same issue, both on my home network as well as on the vpn. Might be happening since I upgraded macOS to Monterey last week. VS code version 1.62.3 (Universal)
|
Beta Was this translation helpful? Give feedback.
-
|
Reinstalling the extension fixed it for me though! |
Beta Was this translation helpful? Give feedback.
-
|
I get the same issue when I lose the internet connexion. I have to restart the workspace/editor to make Copilot work again. |
Beta Was this translation helpful? Give feedback.
-
|
means most of the problem is internet connection |
Beta Was this translation helpful? Give feedback.
-
|
I went to try reinstalling the extension and noticed it had a pending update, after the update it started working again. |
Beta Was this translation helpful? Give feedback.
-
|
It happens to me each time after I've used VScode offline. |
Beta Was this translation helpful? Give feedback.
-
|
I had the same issue. I tried to reproduce it and it only happens when an internet connection is absent. In my case restarting VSCode fixed the issue. |
Beta Was this translation helpful? Give feedback.
-
|
It happens when you start the VS Code and if there is some issue with the internet in the beginning so for that if you think your net is working fine not just restart the VS Code. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
I get big issue with github copilot.I get an message "GitHub Copilot could not connect to server. Extension activation failed: "getaddrinfo ENOTFOUND api.github.com" when install new extension github copilot for vs code
Beta Was this translation helpful? Give feedback.
All reactions