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

Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006) #242435

Open
antoniocardim opened this issue Mar 3, 2025 · 1 comment
Assignees
Labels
info-needed Issue requires more information from poster WSL Issue when using WSL

Comments

@antoniocardim
Copy link

Type: Bug

This message keeps apearing in my screen and I can't open my projects, please help, I have work I need to do

VS Code version: Code 1.97.2 (e54c774, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Connection to 'wsl+Ubuntu' could not be established
Connection to 'WSL: Ubuntu' could not be established WebSocket close with status code 1006

System Info
Item Value
CPUs AMD Ryzen 7 5700U with Radeon Graphics (16 x 1797)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.33GB (6.09GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu/home/antoniocardim/Tecnico/24-25/2o-semestre/SDIS/projeto/T35-Tuplespaces-2025 --remote=wsl+Ubuntu --crash-reporter-id 00a9e356-37c1-401d-a439-8d975cc55e82
Screen Reader no
VM 0%

Connection to 'wsl+Ubuntu' could not be established

Connection to 'WSL: Ubuntu' could not be established WebSocket close with status code 1006

Extensions: none
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
jda6j935:31233686
copilothoveron:31248524

@joshspicer joshspicer assigned aeschli and unassigned joshspicer Mar 5, 2025
@joshspicer joshspicer added WSL Issue when using WSL and removed triage-needed labels Mar 5, 2025
@joshspicer
Copy link
Member

joshspicer commented Mar 5, 2025

Is your WSL running (https://stackoverflow.com/a/71374361)? Our documentation could also be useful: https://code.visualstudio.com/docs/remote/wsl

If you're still having issues, please attach your WSL logs so we can better understand your issue.

Lastly, i've noted here in your issue Extensions: none. Please make sure you have the WSL extension installed

@joshspicer joshspicer added the info-needed Issue requires more information from poster label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster WSL Issue when using WSL
Projects
None yet
Development

No branches or pull requests

3 participants