I have been having issues with copilot in VScode, regardless of which model is used. The issues arise especially in agent/edit mode. The error message im getting in the output logs: ConnectTimeoutError: Connect Timeout Error (attempted address: proxy.individual.githubcopilot.com:443, timeout: 10000ms)
My configuration
GitHub Copilot Chat
- Extension Version: 0.31.3 (prod)
- VS Code: vscode/1.104.2
- OS: Linux
- Remote Name: wsl
Network
User Settings:
"github.copilot.advanced.debug.useElectronFetcher": true,
"github.copilot.advanced.debug.useNodeFetcher": false,
"github.copilot.advanced.debug.useNodeFetchFetcher": true
Connecting to https://api.github.com:
- DNS ipv4 Lookup: 140.82.121.5 (25 ms)
- DNS ipv6 Lookup: Error (19 ms): getaddrinfo ENOTFOUND api.github.com
- Proxy URL: None (1 ms)
- Electron fetch: Unavailable
- Node.js https: HTTP 200 (177 ms)
- Node.js fetch (configured): HTTP 200 (174 ms)
Connecting to https://api.individual.githubcopilot.com/_ping:
- DNS ipv4 Lookup: 140.82.112.22 (22 ms)
- DNS ipv6 Lookup: Error (18 ms): getaddrinfo ENOTFOUND api.individual.githubcopilot.com
- Proxy URL: None (0 ms)
- Electron fetch: Unavailable
- Node.js https: HTTP 200 (367 ms)
- Node.js fetch (configured): HTTP 200 (380 ms)
Documentation
In corporate networks: Troubleshooting firewall settings for GitHub Copilot.
some more imfo on my setup: im coding in WSL2 (debian)
I tried pinging the copilot server directly which seems to have variable performance.