Skip to content

Can't use copilot on remote instance. #3887

Closed as not planned
Closed as not planned
@k-qb

Description

@k-qb

This seems similar to #3366 . However I still have the issue

  • Copilot Chat Extension Version: 0.23.2
  • VS Code Version: 1.96.2
  • OS Version: 5.10.102.1-microsoft-standard-WSL2 1 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Logs:
    2025-01-09 10:16:04.313 [info] Can't use the Electron fetcher in this environment.
    2025-01-09 10:16:04.313 [info] Using the Node fetch fetcher.
    2025-01-09 10:16:04.314 [info] Initializing Git extension service.
    2025-01-09 10:16:05.087 [info] Successfully activated the vscode.git extension.
    2025-01-09 10:16:05.087 [info] Enablement state of the vscode.git extension: true.
    2025-01-09 10:16:05.087 [info] Successfully registered Git commit message provider.
    2025-01-09 10:16:08.504 [info] Logged in as k-qb
    2025-01-09 10:16:21.068 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/home/azhmawo/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at B0.fetchCopilotToken (/home/azhmawo/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:23966)
    at B0.authFromGitHubToken (/home/azhmawo/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:21634)
    at B0._auth (/home/azhmawo/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3023): Failed to get copilot token
    2025-01-09 10:16:21.068 [error] GitHub Copilot could not connect to server. Extension activation failed: "fetch failed"
    2025-01-09 10:16:21.068 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token

Steps to Reproduce:

  1. Start vscode remote
  2. access github chat
  3. login to github (successful)
  4. nothing happens

This used to work a few weeks ago

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions