New update has broken WSL

I just updated to the newest version. But now, when I connect to WSL using Cursor, it’s trying to download some update of visual studio. However, it cannot find it (error 404)

Any idea how to fix this? (or revert to previous version ^^)

I tried Connect to WSL on a fresh install of the latest release and it worked with my Ubuntu distro.

Can you share your logs from the error?

This is the error I see. It’s about updating VSCode. So, I’m wondering if Cursor is trying to download a version that is too old or something like this:

P.S: Sorry for the screenshot. But it doesn’t let me copy-paste the text.

I managed to copy the error message. Here it is.

[2024-09-11 11:50:53.913] Extension version: 0.88.2
[2024-09-11 11:50:53.914] L10N bundle: undefined
[2024-09-11 11:50:54.030] authorityHierarchy: wsl+Ubuntu
[2024-09-11 11:50:54.030] WSL extension activating for a local WSL instance
[2024-09-11 11:50:54.055] Resolving wsl+Ubuntu, resolveAttempt: 1
[2024-09-11 11:50:54.056] NodeExecServer run: C:\windows\System32\wsl.exe --status
[2024-09-11 11:50:54.265] WSL feature installed: true (wsl --status)
[2024-09-11 11:50:54.265] NodeExecServer run: C:\windows\System32\wsl.exe --list --verbose
[2024-09-11 11:50:54.599] 1 distros found
[2024-09-11 11:50:54.600] Starting VS Code Server inside WSL (wsl2)
[2024-09-11 11:50:54.600] Windows build: 22631. Multi distro support: available. WSL path support: enabled
[2024-09-11 11:50:54.601] Scriptless setup: false
[2024-09-11 11:50:54.602] No shell environment set or found for current distro.
[2024-09-11 11:50:54.902] WSL daemon log file: 
[2024-09-11 11:50:54.955] Probing if server is already installed: if [ -d ~/.cursor-server/bin/63dae81aea2c3fc079420fe72578a8eef26ba870 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; if [ -s ~/.cursor-server/bin/compatibilty-check ]; then printf 'legacy-'; fi; uname -m;
[2024-09-11 11:50:54.955] NodeExecServer run: C:\windows\System32\wsl.exe -d Ubuntu -e sh -c if [ -d ~/.cursor-server/bin/63dae81aea2c3fc079420fe72578a8eef26ba870 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; if [ -s ~/.cursor-server/bin/compatibilty-check ]; then printf 'legacy-'; fi; uname -m;
[2024-09-11 11:50:55.251] Probing result: legacy-x86_64
[2024-09-11 11:50:55.252] No server install found in WSL, needs linux-legacy-x64
[2024-09-11 11:50:55.252] Getting server from client side
[2024-09-11 11:50:55.254] Downloading VS Code Server stable - 63dae81aea2c3fc079420fe72578a8eef26ba870 into C:\Users\SWISS_~1\AppData\Local\Temp\vscode-remote-wsl\stable\63dae81aea2c3fc079420fe72578a8eef26ba870\vscode-server-stable-linux-legacy-x64.tar.gz.
[2024-09-11 11:50:56.139] Unable to download server on client side: Error: Request downloadRequest failed unexpectedly without providing any details.. Will try to download on WSL side.
[2024-09-11 11:50:56.140] NodeExecServer run: C:\windows\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 63dae81aea2c3fc079420fe72578a8eef26ba870 stable cursor-server .cursor-server --host=127.0.0.1 --port=0 --connection-token=1555010808-373569650-4120998079-1272450748 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2024-09-11 11:50:56.462] Setting up server environment: Looking for /home/glederrey/.cursor-server/server-env-setup. Not found.
[2024-09-11 11:50:56.462] WSL version: 5.15.153.1-microsoft-standard-WSL2 Ubuntu
[2024-09-11 11:50:56.462] Updating VS Code Server to version 63dae81aea2c3fc079420fe72578a8eef26ba870
[2024-09-11 11:50:56.462] Removing previous installation...
[2024-09-11 11:50:56.462] Installing VS Code Server for Linux legacy-x64 (63dae81aea2c3fc079420fe72578a8eef26ba870)
[2024-09-11 11:50:56.462] Downloading:     
[2024-09-11 11:50:57.077] 100%
[2024-09-11 11:50:57.077] Failed
[2024-09-11 11:50:57.078] --2024-09-11 13:50:57--  https://update.code.visualstudio.com/commit:63dae81aea2c3fc079420fe72578a8eef26ba870/server-linux-legacy-x64/stable
[2024-09-11 11:50:57.283] Resolving update.code.visualstudio.com (update.code.visualstudio.com)... 13.107.246.60, 2620:1ec:bdf::60
[2024-09-11 11:50:57.283] Connecting to update.code.visualstudio.com (update.code.visualstudio.com)|13.107.246.60|:443... connected.
[2024-09-11 11:50:57.283] HTTP request sent, awaiting response... 404 Not Found
[2024-09-11 11:50:57.283] 2024-09-11 13:50:57 ERROR 404: Not Found.
[2024-09-11 11:50:57.283] 
[2024-09-11 11:50:57.283] ERROR: Failed to download https://update.code.visualstudio.com/commit:63dae81aea2c3fc079420fe72578a8eef26ba870/server-linux-legacy-x64/stable to /home/glederrey/.cursor-server/bin/63dae81aea2c3fc079420fe72578a8eef26ba870-1726055456.tar.gz
[2024-09-11 11:50:57.283] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2024-09-11 11:55:48.974] Download in background is enabled```
1 Like