skip to Main Content

I recently got stuck starting vscode on ubuntu 20.04 (on a WSL)

$ code
Updating VS Code Server to version b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a
Removing previous installation...
Installing VS Code Server for x64 (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a)
Downloading:

And then nothing happens.

2

Answers


  1. Chosen as BEST ANSWER

    The problem was with the proxy. And the missing link, that VS Code Server uses wget.

    Solution was to configure a proxy in /etc/wgetrc:

    use_proxy=yes
    http_proxy=12.34.56.78:1234
    https_proxy=12.34.56.78:1234
    

    BTW: just editing ~/.wgetrc was not enough.


  2. For me it worked to remove "update.code.visualstudio.com" line from ~/.wget-hsts.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search