Connecting to WSL Remote Host fails due to missing files on Cursor servers

Hi there

I was using Cursor with WSL just fine (connecting to a Ubuntu 24.02 distro) earlier today. But suddenly after I restart the IDE, I am unable to start a WSL session. I have turned on WSL.debug mode and below is the log.

Essentially, Cursor gets a 404 while trying to retrieve: https://cursor.blob.core.windows.net/remote-releases/b6fb41b5f36bda05cab7109606e7404a65d1ff30/vscode-reh-linux-legacy-x64.tar.gz

[2025-03-23 15:33:59.041] Setting up server environment: Looking for /home/imran/.cursor-server/server-env-setup. Not found.
[2025-03-23 15:33:59.041] WSL version: 5.15.167.4-microsoft-standard-WSL2 Ubuntu-24.04
[2025-03-23 15:33:59.041] Updating VS Code Server to version b6fb41b5f36bda05cab7109606e7404a65d1ff30
[2025-03-23 15:33:59.041] Removing previous installation...
[2025-03-23 15:33:59.041] Installing VS Code Server for Linux legacy-x64 (b6fb41b5f36bda05cab7109606e7404a65d1ff30)
[2025-03-23 15:33:59.041] Downloading:     
[2025-03-23 15:33:59.043] + CODE_PROFILE=/home/imran/.cursor-server/server-env-setup
[2025-03-23 15:33:59.043] + printf Setting up server environment: Looking for %s.  /home/imran/.cursor-server/server-env-setup
[2025-03-23 15:33:59.043] + [ -f /home/imran/.cursor-server/server-env-setup ]
[2025-03-23 15:33:59.043] + echo Not found.
[2025-03-23 15:33:59.043] + VSCODE_REMOTE_BIN=/home/imran/.cursor-server/bin
[2025-03-23 15:33:59.043] + uname -r
[2025-03-23 15:33:59.043] + WSL_VERSION=5.15.167.4-microsoft-standard-WSL2
[2025-03-23 15:33:59.043] + echo WSL version: 5.15.167.4-microsoft-standard-WSL2 Ubuntu-24.04
[2025-03-23 15:33:59.043] + dirname /mnt/c/Users/gizmo/.cursor/extensions/ms-vscode-remote.remote-wsl-0.88.2/scripts/wslServer.sh
[2025-03-23 15:33:59.043] + /mnt/c/Users/gizmo/.cursor/extensions/ms-vscode-remote.remote-wsl-0.88.2/scripts/wslDownload.sh b6fb41b5f36bda05cab7109606e7404a65d1ff30 stable /home/imran/.cursor-server/bin
[2025-03-23 15:33:59.043] + [ ! -d /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30 ]
[2025-03-23 15:33:59.043] + [ -f /etc/alpine-release ]
[2025-03-23 15:33:59.043] + [ -d /home/imran/.cursor-server/bin ]
[2025-03-23 15:33:59.043] + echo Updating VS Code Server to version b6fb41b5f36bda05cab7109606e7404a65d1ff30
[2025-03-23 15:33:59.043] + echo Removing previous installation...
[2025-03-23 15:33:59.043] + rm -rf /home/imran/.cursor-server/bin/????????????????????????????????????????
[2025-03-23 15:33:59.043] + rm -rf /home/imran/.cursor-server/bin/????????????????????????????????????????-??????????
[2025-03-23 15:33:59.043] + rm -rf /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742743905.tar.gz
[2025-03-23 15:33:59.043] + mkdir -p /home/imran/.cursor-server/bin
[2025-03-23 15:33:59.043] + [  ]
[2025-03-23 15:33:59.043] + [ !  ]
[2025-03-23 15:33:59.043] + date +%s
[2025-03-23 15:33:59.043] + SERVER_TAR_FILE=/home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz
[2025-03-23 15:33:59.043] + download /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz
[2025-03-23 15:33:59.043] + command -v wget
[2025-03-23 15:33:59.043] + [ ! /usr/bin/wget ]
[2025-03-23 15:33:59.043] + local_name=/home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz
[2025-03-23 15:33:59.043] + [ -f /etc/alpine-release ]
[2025-03-23 15:33:59.043] + uname -m
[2025-03-23 15:33:59.043] + PLATFORM=x64
[2025-03-23 15:33:59.043] + [ -s /home/imran/.cursor-server/bin/compatibilty-check ]
[2025-03-23 15:33:59.043] + PLATFORM=legacy-x64
[2025-03-23 15:33:59.043] + echo Installing VS Code Server for Linux legacy-x64 (b6fb41b5f36bda05cab7109606e7404a65d1ff30)
[2025-03-23 15:33:59.043] + printf Downloading:     
[2025-03-23 15:33:59.043] + local_url=https://cursor.blob.core.windows.net/remote-releases/b6fb41b5f36bda05cab7109606e7404a65d1ff30/vscode-reh-linux-legacy-x64.tar.gz
[2025-03-23 15:33:59.043] + set +x
[2025-03-23 15:33:59.664] 100%
[2025-03-23 15:33:59.665] Failed
[2025-03-23 15:33:59.665] + [ ! -s /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz ]
[2025-03-23 15:33:59.665] + echo Failed
[2025-03-23 15:33:59.665] + set +e
[2025-03-23 15:33:59.665] + wget -O /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz https://cursor.blob.core.windows.net/remote-releases/b6fb41b5f36bda05cab7109606e7404a65d1ff30/vscode-reh-linux-legacy-x64.tar.gz
[2025-03-23 15:33:59.665] --2025-03-23 16:33:59--  https://cursor.blob.core.windows.net/remote-releases/b6fb41b5f36bda05cab7109606e7404a65d1ff30/vscode-reh-linux-legacy-x64.tar.gz
[2025-03-23 15:33:59.665] Resolving cursor.blob.core.windows.net (cursor.blob.core.windows.net)... 20.209.35.129
[2025-03-23 15:33:59.665] Connecting to cursor.blob.core.windows.net (cursor.blob.core.windows.net)|20.209.35.129|:443... 
[2025-03-23 15:33:59.976] connected.
[2025-03-23 15:33:59.976] HTTP request sent, awaiting response... 
[2025-03-23 15:34:00.248] 404 The specified blob does not exist.
[2025-03-23 15:34:00.248] 2025-03-23 16:34:00 ERROR 404: The specified blob does not exist..
[2025-03-23 15:34:00.248] 
[2025-03-23 15:34:00.248] + local_rc=8
[2025-03-23 15:34:00.248] + echo ERROR: Failed to download https://cursor.blob.core.windows.net/remote-releases/b6fb41b5f36bda05cab7109606e7404a65d1ff30/vscode-reh-linux-legacy-x64.tar.gz to /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz
[2025-03-23 15:34:00.248] ERROR: Failed to download https://cursor.blob.core.windows.net/remote-releases/b6fb41b5f36bda05cab7109606e7404a65d1ff30/vscode-reh-linux-legacy-x64.tar.gz to /home/imran/.cursor-server/bin/b6fb41b5f36bda05cab7109606e7404a65d1ff30-1742744038.tar.gz
[2025-03-23 15:34:00.248] + [ 8 -eq 5 ]
[2025-03-23 15:34:00.248] + exit 13
[2025-03-23 15:34:00.248] + RC=13
[2025-03-23 15:34:00.248] + [ 13 -ne 0 ]
[2025-03-23 15:34:00.248] + exit 13

I “fixed” the problem by rm -rf the .cursor-settings directory