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

extenstion download failed, timeout! #80

Closed
dengshenkk opened this issue Aug 28, 2021 · 3 comments
Closed

extenstion download failed, timeout! #80

dengshenkk opened this issue Aug 28, 2021 · 3 comments

Comments

@dengshenkk
Copy link

linuxserver.io

selected any one extension like this :

docker-compose logs

code-server | INFO Installing extension: ecmel.vscode-html-css
code-server | ERR Failed to install extension: ecmel.vscode-html-css connect ETIMEDOUT 172.217.24.208:443
code-server | rejected promise not handled within 1 second: downloading: connect ETIMEDOUT 172.217.24.208:443
code-server | stack trace: downloading: connect ETIMEDOUT 172.217.24.208:443
code-server | at K.downloadInstallableExtension (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:62920)
code-server | at processTicksAndRejections (internal/process/task_queues.js:95:5)
code-server | at async K.doInstallFromGallery (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:60318)
code-server | downloading: connect ETIMEDOUT 172.217.24.208:443
code-server | at K.downloadInstallableExtension (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:62920)
code-server | at processTicksAndRejections (internal/process/task_queues.js:95:5)
code-server | at async K.doInstallFromGallery (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:60318) {
code-server | code: 'downloading'
code-server | }


Expected Behavior

installed any extension

Current Behavior

can't install any extension

Steps to Reproduce

  1. in china, ususl we use vpn proxy connetion [github, gist...like more] domain, in host use proxychains4 to proxy, how use proxy in docker-compose

Environment

OS:
CPU architecture: x86_64/arm32/arm64
How docker service was installed:

ubuntu 18

Command used to create docker container (run/create/compose/screenshot)

docker-compose config
docker-compose.yml

---
version: "2.1"
services:
  code-server:
    image: ghcr.io/linuxserver/code-server
    container_name: code-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/shanghai
      - PASSWORD=password #optional
      - HASHED_PASSWORD= #optional
      - SUDO_PASSWORD=password #optional
      - SUDO_PASSWORD_HASH= #optional
      - PROXY_DOMAIN=my.example.com #optional
    volumes:
      - /path/config:/config
    ports:
      - 8443:8443
    restart: unless-stopped

Docker logs

code-server | INFO Installing extension: ecmel.vscode-html-css
code-server | ERR Failed to install extension: ecmel.vscode-html-css connect ETIMEDOUT 172.217.24.208:443
code-server | rejected promise not handled within 1 second: downloading: connect ETIMEDOUT 172.217.24.208:443
code-server | stack trace: downloading: connect ETIMEDOUT 172.217.24.208:443
code-server | at K.downloadInstallableExtension (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:62920)
code-server | at processTicksAndRejections (internal/process/task_queues.js:95:5)
code-server | at async K.doInstallFromGallery (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:60318)
code-server | downloading: connect ETIMEDOUT 172.217.24.208:443
code-server | at K.downloadInstallableExtension (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:62920)
code-server | at processTicksAndRejections (internal/process/task_queues.js:95:5)
code-server | at async K.doInstallFromGallery (/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/server/entry.js:41:60318) {
code-server | code: 'downloading'
code-server | }

@project-bot project-bot bot added this to To do in Issue & PR Tracker Aug 28, 2021
@dengshenkk dengshenkk changed the title extenstion download failed, reson timeout extenstion download failed, timeout! Aug 28, 2021
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@dengshenkk
Copy link
Author

give me some solution?

@aptalca
Copy link
Member

aptalca commented Sep 2, 2021

It's not an issue with our images, so there is nothing we can do. Sounds like you need to set up your docker service with a forward proxy.

Issue & PR Tracker automation moved this from To do to Done Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants