microsoft / microsoft/vscode-remote-release

Detect Input/Output error and give more information.

Open
#3,387 3 comments 1 reaction 1 assignee View on GitHub

@aeschli is already working on this.

Since Sep 9, 2020.

feature-request plan-review wsl
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.47.2
  • Local OS Version: Windows_NT x64 10.0.19041
  • Remote OS Version: Ubuntu 20.04 LTS
  • Remote Extension/Connection Type: WSL2

Steps to Reproduce:

  1. open vsc
  2. vsc shows following error:
`[2020-07-17 23:27:41.255] Resolving wsl+ubuntu, resolveAttempt: 1
[2020-07-17 23:27:41.394] Starting VS Code Server inside WSL (Ubuntu)
[2020-07-17 23:27:41.394] Extension version: 0.44.4, Windows build: 19041. Multi distro support: available. WSL path support: enabled
[2020-07-17 23:27:43.190] Probing if server is already installed: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e sh -c "[ -d ~/.vscode-server/bin/17299e413d5590b14ab0340ea477cdd86ff13daf ] && printf found || ([ -f /etc/alpine-release ] && printf alpine-; uname -m)"
[2020-07-17 23:27:43.614] Probing result: x86_64
[2020-07-17 23:27:43.614] No server install found in WSL, needs x64
[2020-07-17 23:27:43.615] Downloading server on client side to C:\Users\Emanuel\AppData\Local\Temp\vscode-remote-wsl\17299e413d5590b14ab0340ea477cdd86ff13daf\vscode-server-linux-x64.tar.gz.
[2020-07-17 23:27:43.615] https://update.code.visualstudio.com/commit:17299e413d5590b14ab0340ea477cdd86ff13daf/server-linux-x64/stable
[2020-07-17 23:27:44.116] Download checksum: 37e3cec28bc974755edf57325f4d34836c321adae5ffba5b649ee1c38a19d79f
[2020-07-17 23:27:45.776] Download checksum verified
[2020-07-17 23:27:45.782] Launching C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 17299e413d5590b14ab0340ea477cdd86ff13daf stable .vscode-server 0  ' in c:\Users\Emanuel\.vscode\extensions\ms-vscode-remote.remote-wsl-0.44.4}
[2020-07-17 23:27:46.054] sh: 1: /mnt/c/Users/Emanuel/.vscode/extensions/ms-vscode-remote.remote-wsl-0.44.4/scripts/wslServer.sh: Input/output error
[2020-07-17 23:27:46.118] VS Code Server for WSL closed unexpectedly.
[2020-07-17 23:27:46.118] For help with startup problems, go to
[2020-07-17 23:27:46.118] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips

tests:

  1. OK - I just closed vsc, and launched it with "Run as Administrator" and run ok, vsc wwas able to connect to my Ubunto WSL2 instance.
  2. NOK - closed vsc again, and launched normally (without run as admin) and got above error.

Any suggestion ?
I also see a lots of updates available on Ubunto, shall I update all ?

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.