WSL extension not working on 0.49.5

Version: 0.49.5 (user setup)
VSCode Version: 1.96.2
Commit: fd861c8a80c0f9e4e35294b1915ee8a7b29ae850
Date: 2025-04-24T03:08:53.546Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631 (Windows 11 Pro x64)

It was happening in the 0.47 updated to 0.49, still happened, uninstalled and removed the extension, rebooted, and re-installed the extension, and it worked again.

Tried this. Not working. I’m on 0.50 and I can’t get it to work. Tried everything.

Between all the latest issues I’ve been having with Cursor I might just consider going back to VS Code. Nothing works reliably lately.

I also see there’s a new “WSL” extension by Anysphere, but it’s in preview and there’s anything information about it. It also doesn’t work…

Hi @empz, happy to take a look – would you be able to share the logs from the “Remote - WSL” output window when using the Anysphere Remote WSL extension? Attaching a screenshot for where to find this. Thanks!

Hi,I’m using cursor version 0.50 and I cannot connect to wsl2. Tried uninstalling all extensions and only installed Anysphere remote wsl, but it still doesn’t work.

Logs:
[Trace - 07:30:00.384] WSL stdout: Downloading server from https://cursor.blob.core.windows.net/remote-releases/0781e811de386a0c5bcb07ceb259df8ff8246a50/vscode-reh-linux-x64.tar.gz

[Trace - 07:30:00.701] WSL stderr: Unable to establish SSL connection.

[Trace - 07:30:00.704] WSL stdout: Error downloading server from https://cursor.blob.core.windows.net/remote-releases/0781e811de386a0c5bcb07ceb259df8ff8246a50/vscode-reh-linux-x64.tar.gz
d9b01fc0cb5dcefae14b578a: start
exitCode==1==
listeningOn====
connectionToken====
arch==x86_64==
platform==Linux==
d9b01fc0cb5dcefae14b578a: end

[Error - 07:30:00.712] Server install exited with code 1
[Error - 07:30:00.712] Failed to install Cursor server. Installer script returned code 1. Retrying.
[Trace - 07:30:00.712] Downloading server from https://cursor.blob.core.windows.net/remote-releases/0781e811de386a0c5bcb07ceb259df8ff8246a50/vscode-reh-linux-x64.tar.gz to C:\Users\irene\AppData\Local\Temp\cursor-server-1747726200712.tar.gz
[Error - 07:30:00.981] Failed to download and copy server:
v: request to https://cursor.blob.core.windows.net/remote-releases/0781e811de386a0c5bcb07ceb259df8ff8246a50/vscode-reh-linux-x64.tar.gz failed, reason: Client network socket disconnected before secure TLS connection was established
at ClientRequest. (c:\Users\irene.cursor\extensions\anysphere.remote-wsl-1.0.0\dist\main.js:2:89833)
at ClientRequest.emit (node:events:530:35)
at emitErrorEvent (node:_http_client:101:11)
at TLSSocket.socketErrorListener (node:_http_client:504:5)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 07:30:00.982] Error installing Cursor server
Error: ENOENT: no such file or directory, unlink ‘C:\Users\irene\AppData\Local\Temp\cursor-server-1747726200712.tar.gz’
at async Object.unlink (node:internal/fs/promises:1070:10)
at async c:\Users\irene.cursor\extensions\anysphere.remote-wsl-1.0.0\dist\main.js:2:109625
at async c:\Users\irene.cursor\extensions\anysphere.remote-wsl-1.0.0\dist\main.js:2:107799

Managed to get it working after a lot of uninstall, rebooting and such…

Hi @Irunnn, from the logs, it looks like there was a network error when downloading the remote server:

Client network socket disconnected before secure TLS connection was established

Are you using a proxy? And can you double check whether downloading the server manually through the link above (https://cursor.blob.core.windows.net/remote-releases/0781e811de386a0c5bcb07ceb259df8ff8246a50/vscode-reh-linux-x64.tar.gz) works?

Yes, I used a proxy yesterday,but I can download the server today even when I am using the proxy. Everything looks fine now :ok_hand: