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

Installing extensions from local filesystem times out #7242

Open
1 of 2 tasks
hutch3232 opened this issue Mar 1, 2025 · 0 comments
Open
1 of 2 tasks

Installing extensions from local filesystem times out #7242

hutch3232 opened this issue Mar 1, 2025 · 0 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@hutch3232
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows 11
  • Remote OS: ubuntu 20.04
  • Remote Architecture: amd64
  • code-server --version: code-server 4.97.2 34b8d2e with Code 1.97.2

Steps to Reproduce

  1. Download python extension (I happened to rename the file)
  2. Run:
ubuntu [/mnt/code]: code-server --install-extension ms-python-release.vsx -vvv
[2025-02-28T22:28:22.636Z] debug Found VS Code arguments; spawning VS Code CLI
[2025-02-28T22:28:22.638Z] debug Running Code CLI
Installing extensions...
Error while installing extensions: connect ETIMEDOUT  <ip>:443
connect ETIMEDOUT <ip>:443

Expected

It should install to the extensions directory.

Actual

Nothing happens for a few minutes, then it throws a timeout error.

Logs

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?

  • I am using a secure context.

Notes

I am behind a firewall (no outside internet access), which is why I am not installing from the open registry directly. I suspect the install is trying to contact the registry or something.

Looks to be related to this old issue: #2355

I tried other things too like explicitly indicating it is a file:

ubuntu [/mnt/code]: code-server --install-extension file://mnt/code/ms-python-release.vsx -vvv
[2025-02-28T22:35:30.693Z] debug Found VS Code arguments; spawning VS Code CLI
[2025-02-28T22:35:30.695Z] debug Running Code CLI
Installing extensions...
Extension 'file://mnt/code/ms-python-release.vsx' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
Failed Installing Extensions: file://mnt/code/ms-python-release.vsx
@hutch3232 hutch3232 added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant