Skip to content

Language Model Unavailable when connected to Google Cloud VM via Remote SSH #3714

@spencer411

Description

@spencer411

This used to work fine but upon updating to the new version the "language model is unavailable" when attempting to use the chat. Note that I have attempted reinstalling the latest version on both the VM and Mac with no success, as well as reinstalling github co-pilot and remote ssh extensions:

  • GitHub Copilot Chat v0.23.2
  • Remote - SSH v0.116.1
  • VS Code Version: 1.96.2 (Universal)
  • OS Version: Mac - 15.2 (24C101)
  • OS Version (Remote): GCP VM - Ubuntu 22.04.5 LTS
  • Logs:

2025-01-02 17:16:58.462 [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/my_name/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
at _p._fetchModels (/home/my_name/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2213:11405)
at _p.getChatModelFromFamily (/home/my_name/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2213:10055)
at WO.getChatEndpoint (/home/my_name/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2213:14751)
at Object.A [as task] (/home/my_name/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:488:834)
at xC._processQueue (/home/my_name/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:487:1101): [LanguageModelAccess] FAILED to update language models

Steps to Reproduce: Remote SSH to Ubuntu GCP VM and try to use copilot chat feature.

Note I get the following when I attempt to curl -I https://copilot-proxy.githubusercontent.com

HTTP/2 404
content-security-policy: default-src 'none'; sandbox
content-type: text/plain; charset=utf-8
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
content-length: 19
date: Thu, 02 Jan 2025 16:48:27 GMT
x-github-backend: Kubernetes
x-github-request-id: ECD6:DED46:999A9:9EAF0:6776C35B

Metadata

Metadata

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