getcursor / cursor

The AI Code Editor
https://cursor.com
23.21k stars 1.47k forks source link

[Version 0.40.1] Failed to download VS Code Server: 404 Not Found #1714

Open GabrielDrapor opened 2 weeks ago

GabrielDrapor commented 2 weeks ago

Cannot open in devcontainer

1) If you can, please include a screenshot of your problem

image
Support for ARM64 is in preview.

[654 ms] Start: Run in container: test -d '/home/vscode/.cursor-server/bin/58b91712431381a1b75817cd3437cee35dddcb30'
[654 ms] 
[654 ms] 
[654 ms] Exit code 1
[654 ms] Start: Run in container: test -d '/vscode/cursor-server/bin/linux-arm64/58b91712431381a1b75817cd3437cee35dddcb30'
[656 ms] 
[656 ms] 
[656 ms] Exit code 1
[656 ms] Installing VS Code Server for commit 58b91712431381a1b75817cd3437cee35dddcb30
[656 ms] Start: Run in container: /bin/sh
[657 ms] Start: Downloading VS Code Server
[657 ms] 58b91712431381a1b75817cd3437cee35dddcb30 linux-arm64 stable
[1225 ms] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:58b91712431381a1b75817cd3437cee35dddcb30/server-linux-arm64/stable): HTTP 404 - Not Found
[1225 ms] Retrying to download VS Code Server.
[1727 ms] Error: Server returned 404
    at l (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1179:48659)
    at v.download (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1180:1878)

2) Please include the name of your operating system

Version: 0.40.1
VSCode Version: 1.91.1
Commit: 58b91712431381a1b75817cd3437cee35dddcb30
Date: 2024-08-24T02:52:24.035Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.3.0

3) If you can, steps to reproduce are super helpful

rebuild & reopen in devcontainer or attach to the running container

hktxt commented 2 weeks ago

+1, same issue.

pankajbatra commented 2 weeks ago

+1, same issue

GabrielDrapor commented 2 weeks ago

Solved by downgrade devcontainer extension to v0.327.0

christine-sb commented 1 week ago

Solved by downgrade devcontainer extension to v0.327.0

When I try to do this in cursor then I get an error claiming "This extension has no other versions." On vscode then I have the option to use any previous version that I want, but does anyone else have this issue on cursor?

Screenshot 2024-08-31 at 4 30 23 PM
sdepablos commented 1 week ago

Thanks @GabrielDrapor, it worked for me too.

@christine-sb you need to download it manually:

  1. Uninstall the current version of dev containers
  2. Download it manually from https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-vscode-remote/vsextensions/remote-containers/0.327.0/vspackage (I just copied a URL from version history in the official extension page https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers and change the version number
  3. Open VS Code.
  4. Go to the Extensions view (Ctrl+Shift+X).
  5. Click on the three-dot menu (•••) in the upper right corner of the Extensions view.
  6. Select Install from VSIX.... and install it
GabrielDrapor commented 1 week ago

@christine-sb Thanks for the additional information!

Some extensions can not be found in Cursor's marketplace but can only be imported from VS Code.

@christine-sb you can also: remove it in Cursor -> back to VS Code, right click the dev containers extension and select 'install another version' to downgrade -> import again in Cursor Settings