code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Can't install remote extensions

Open bdkuhman opened this issue 9 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox 125.0.2

  • Local OS: Windows 10

  • Remote OS: Ubuntu

  • Remote Architecture: amd64

  • code-server --version:

    1.88.1 9a28bc29dbddb6886dfe03dc1c31320249a901ce x64

  • Running in Kubernetes k3s v1.28.7+k3s1

  • Node is Ubuntu 22.04.1 kernel 6.5.0-28

  • Image (latest) docker.io/codercom/code-server@sha256:897b358eed18114061b371f2b2f1416bc7acbed9442877428ecc0855523031ad

  • I do not have persistence setup

Steps to Reproduce

  1. Open code-server
  2. Attempt to install extensions (seems like most of them, Tried python and kubernetes, among others)

Expected

Extension installs

Actual

Install hangs indefinitely

Logs

coder@code-server-5f58c85dcc-gp7h4:~$ code-server --verbose --install-extension ms-python.python
{
  "type": "extensionManagement",
  "install": [
    "ms-python.python"
  ],
  "force": false
}
^C
coder@code-server-5f58c85dcc-gp7h4:~$ code-server --verbose --install-extension does-not-exist
{
  "type": "extensionManagement",
  "install": [
    "does-not-exist"
  ],
  "force": false
}
Installing extensions on code.cluster.local...
Extension 'does-not-exist' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
Failed Installing Extensions: does-not-exist

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • [X] I am using a secure context.

Notes

It seems that browser extensions do install. (k--kato.intellij-idea-keybindings works) but only by clicking install, not through the command line.

bdkuhman avatar May 02 '24 04:05 bdkuhman