Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use copilot on remote instance. #3887

Closed
k-qb opened this issue Jan 9, 2025 · 2 comments
Closed

Can't use copilot on remote instance. #3887

k-qb opened this issue Jan 9, 2025 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@k-qb
Copy link

k-qb commented Jan 9, 2025

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

@vs-code-engineering vs-code-engineering bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Jan 9, 2025
@joyceerhl
Copy link

This seems like a duplicate of #3821, could you please try the steps here to provide more info #3821 (comment) and follow up in that issue?

@joyceerhl joyceerhl assigned chrmarti and unassigned joyceerhl Jan 10, 2025
@vs-code-engineering vs-code-engineering bot removed the triage-needed Issues needing to be assigned to the prospective feature owner label Jan 10, 2025
@chrmarti chrmarti added the info-needed Issue requires more information from poster label Jan 10, 2025
Copy link

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!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants