microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
334 stars 32 forks source link

Copilot sign in not working [certificates] Removed 3 expired certificates #1512

Closed AMABK closed 1 month ago

AMABK commented 2 months ago

My co-pilot stopped working a few weeks back. I have tried to completely uninstall it and install it again but that is not working. Copilot chat diagnostics

## GitHub Copilot Chat

- Extension Version: 0.18.2 (prod)
- VS Code: vscode/1.92.2
- OS: Linux
- Remote Name: wsl

## Network

User Settings:
json
  "github.copilot.advanced": {
    "debug.useElectronFetcher": false,
    "debug.useNodeFetcher": false
  }

Connecting to https://api.github.com:
- DNS Lookup: 20.87.245.6
- Electron Fetcher: Unavailable
- Node Fetcher: Error: 
- Helix Fetcher (configured): Error: 

Connecting to https://api.githubcopilot.com/_ping:
- DNS Lookup: 140.82.112.22
- Electron Fetcher: Unavailable
- Node Fetcher: Error: 
- Helix Fetcher (configured): Error: 

## Documentation

In corporate networks: [Troubleshooting firewall settings for GitHub Copilot](https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-firewall-settings-for-github-copilot).

On opening VScode, it throws the below error. 2024-08-31 06:26:53.883 [info] [certificates] Removed 3 expired certificates 2024-08-31 06:26:56.035 [error] [auth] auth: FetchError: at fetch (/home/user/.vscode-server/extensions/github.copilot-1.224.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:99:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at cachingFetch (/home/user/.vscode-server/extensions/github.copilot-1.224.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16) at bae.fetch (/home/user/.vscode-server/extensions/github.copilot-1.224.0/lib/src/network/helix.ts:93:22) at fetchCopilotToken (/home/user/.vscode-server/extensions/github.copilot-1.224.0/lib/src/auth/copilotToken.ts:196:16) at authFromGitHubToken (/home/user/.vscode-server/extensions/github.copilot-1.224.0/lib/src/auth/copilotToken.ts:129:22) at auth (/home/user/.vscode-server/extensions/github.copilot-1.224.0/extension/src/auth.ts:40:25) at authShowWarnings (/home/user/.vscode-server/extensions/github.copilot-1.224.0/extension/src/auth.ts:131:25) at GX.getCopilotToken (/home/user/.vscode-server/extensions/github.copilot-1.224.0/extension/src/auth.ts:174:33) at attemptAuthentication (/home/user/.vscode-server/extensions/github.copilot-1.224.0/extension/src/auth.ts:58:9) { type: 'system', _name: 'FetchError', code: 'ETIMEDOUT', errno: undefined, erroredSysCall: undefined }

2024-08-31 06:26:56.642 [error] [default] Error sending telemetry FetchError: at fetch (/home/amab/.vscode-server/extensions/github.copilot-1.224.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:99:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at cachingFetch (/home/amab/.vscode-server/extensions/github.copilot-1.224.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16) at bae.fetch (/home/amab/.vscode-server/extensions/github.copilot-1.224.0/lib/src/network/helix.ts:93:22) { type: 'system', _name: 'FetchError', code: 'ETIMEDOUT', errno: undefined, erroredSysCall: undefined }

I have signed in with my GitHub Account but am unable to sign in into Copilot and Copilot Chat

chrmarti commented 1 month ago

Does it work with a Windows folder (seeing that you are connected to WSL)?

Maybe related to https://github.com/microsoft/vscode-copilot-release/issues/1577.

vs-code-engineering[bot] commented 1 month ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!