Wsl/Service/CreateInstance/CreateVm/ERROR_TIMEOUT

Aperta
#42,239 15 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

The report includes WSL 2 startup logs showing CreateVm/ERROR_TIMEOUT while VS Code probes an Ubuntu distro, but it does not identify a WSL source file or a diagnostic log. Start by checking whether Ubuntu starts directly with wsl.exe -d Ubuntu and review the WSL troubleshooting guidance linked in the report. Done means identifying why VM creation times out and restoring WSL startup; the report provides no specific test or fix path.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-author-feedback wsl2
Windows Version

Microsoft Windows [Version 10.0.22631.7652]

WSL Version

WSL version: 3.0.3.0

Are you using WSL 1, WSL 2, or WSLC?
  • WSL 2
  • WSL 1
  • WSLC
Kernel Version

No response

Distro Version

Ubuntu

Other Software

Version: 1.145.3 (system setup)
Commit: dcd3ad6e368fbe19d03f37054a40dbaf40d676f4
Date: 2026-11-07T00:56:09Z
Electron: 43.8.3
ElectronBuildId: 15784459
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.103.r41379698026.g3219c66
@github/copilot-sdk: 1.0.27.41379698026.g3219c66
OS: Windows_NT x64 10.0.22631
[2026-11-11 15:32:26.339] WSL daemon log file:
[2026-11-11 15:32:26.340] Probing if server is already installed: if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:32:26.340] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu -e sh -c if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:35:20.500] Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 4294967295, , This operation returned because the timeout period expired.
[2026-11-11 15:35:20.500] Error code: Wsl/Service/CreateInstance/CreateVm/ERROR_TIMEOUT
[2026-11-11 15:35:20.500] If this error was unexpected, please consider searching for existing issues or filing a new issue at https://github.com/microsoft/WSL/issues.
[2026-11-11 15:35:20.500]
[2026-11-11 15:35:20.501] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=1148476407-379369397-2808550788-1875895799 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2026-11-11 15:36:26.594] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips

Repro Steps

wsl start is failing
WSL Daemon exited with code 0
Check WSL terminal for more details.
[2026-11-11 15:32:25.514] No shell environment set or found for current distro.
[2026-11-11 15:32:26.339] WSL daemon log file:
[2026-11-11 15:32:26.340] Probing if server is already installed: if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:32:26.340] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu -e sh -c if [ -d ~/.vscode-server/bin/dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2026-11-11 15:35:20.500] Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 4294967295, , This operation returned because the timeout period expired.
[2026-11-11 15:35:20.500] Error code: Wsl/Service/CreateInstance/CreateVm/ERROR_TIMEOUT
[2026-11-11 15:35:20.500] If this error was unexpected, please consider searching for existing issues or filing a new issue at https://github.com/microsoft/WSL/issues.
[2026-11-11 15:35:20.500]
[2026-11-11 15:35:20.501] NodeExecServer run: C:\Windows\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" dcd3ad6e368fbe19d03f37054a40dbaf40d676f4 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=1148476407-379369397-2808550788-1875895799 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2026-11-11 15:36:26.594] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips

Expected Behavior

wsl should run and we should get the terminal on VSCode

Actual Behavior

It stops and no amount of retries help

Diagnostic Logs

No response

Lingua principale
C++
Stelle
34.4k
Fork
1.9k
Merge medio
1g 23h
PR unite (30g)
166

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/WSL

Tutte le issue di microsoft/WSL

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.