I had a remote ssh proejct. Then I updated and when I open my project again I get this error. failed to download VS Code Server (Server returned 404)
It’s trying to download a new cursor server and the new version doesn’t exist. It tries to download from https://cursor.blob.core.windows.net/remote-releases/906121b8c0bdf041c14a15dac228e66ab5505260/cli-darwin-arm64.tar.gz That url contains the commit hash for my cursor version. So the url looks correct.
Here is the logs:
[20:51:56.666] Got request to download on client for {"artifact":"cli-darwin-arm64","destPath":"/Users/aia/.cursor-server/vscode-cli-906121b8c0bdf041c14a15dac228e66ab5505260.tar.gz"}
[20:51:56.666] server download URL: https://cursor.blob.core.windows.net/remote-releases/906121b8c0bdf041c14a15dac228e66ab5505260/cli-darwin-arm64.tar.gz
[20:51:56.666] Downloading VS Code server locally...
[20:51:56.667] stderr> 100 215 100 215 0 0 829 0 --:--:-- --:--:-- --:--:-- 826100 215 100 215 0 0 828 0 --:--:-- --:--:-- --:--:-- 826
[20:51:56.719] Terminating local server
[20:51:56.720] Exec server for ssh-remote+bigmac failed: Error: Failed to download VS Code Server (Server returned 404)
[20:51:56.720] Error opening exec server for ssh-remote+bigmac: Error: Failed to download VS Code Server (Server returned 404)
[20:51:56.727] Local server exit: 15
I am running cursor on a intel mac. The server I ssh into is an arm mac.
My cursor commit hash is 906121b8c0bdf041c14a15dac228e66ab5505260.
I have tried removing the .cursor-server directory on the server and reinstalling the remote ssh extension. This did not help.
Yeah, come on, guys… This is a recurring issue. I am on an M3 locally and trying to remote to a windows machine through SSH. I get:
[10:28:38.599] Got request to download on client for {"artifact":"cli-win32-x64","destPath":"C:\\Users\\User\\.cursor-server/vscode-cli-3395357a4ee2975d5d03595e7607ee84e3db0f20.zip"}
[10:28:38.599] server download URL: https://cursor.blob.core.windows.net/remote-releases/3395357a4ee2975d5d03595e7607ee84e3db0f20/cli-win32-x64.zip
[10:28:38.599] Downloading VS Code server locally...
[10:28:38.600] > Waiting for C:\Users\User\.cursor-server\vscode-cli-3395357a4ee2975d5d03595e7607ee84e3db0f20.zip.done and vscode-cli-3395357a4ee2975d5d03595e7607ee84e3db0f20.zip to exist
[10:28:38.643] Terminating local server
[10:28:38.644] Exec server for ssh-remote+bumblebee_pc failed: Error: Failed to download VS Code Server (Server returned 404)
[10:28:38.644] Error opening exec server for ssh-remote+bumblebee_pc: Error: Failed to download VS Code Server (Server returned 404)
[10:28:38.648] Local server exit: 15
I’m using 0.46.9, but have had the same issue on several other versions.
This workaround worked… SSH into the remote with your terminal and locate the cursor-<COMMIT>.exe and rename or copy it to a name with the new commit hash.
PS C:\Users\User\.cursor-server> ls
Directory: C:\Users\User\.cursor-server
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 3/5/2025 11:03 AM bin
d----- 2/18/2025 5:05 PM cli
d----- 2/26/2025 11:36 AM data
d----- 3/2/2025 7:03 PM extensions
-a---- 2/1/2025 6:03 AM 19709952 cursor-5af2d34c39df93a39bd54c9b9103cab514b380f0.exe
-a---- 1/30/2025 6:17 PM 19709952 cursor-6ea842450e04c5537da4d83d51823fae13bb30f0.exe
-a---- 2/19/2025 8:20 PM 19709952 cursor-906121b8c0bdf041c14a15dac228e66ab5505260.exe
-a---- 2/7/2025 9:29 AM 19709952 cursor-f5f18731406b73244e0558ee7716d77c8096d150.exe
PS C:\Users\User\.cursor-server> mv .\cursor-906121b8c0bdf041c14a15dac228e66ab5505260.exe .\cursor-3395357a4ee2975d5d03595e7607ee84e3db0f20.exe
I should have copied it, so others with a previous version could still remote in.