getcursor / cursor

The AI Code Editor
https://cursor.com
25.63k stars 1.59k forks source link

Extension host terminated unexpectedly 3 times within the last 5 minutes. #2304

Open cds-1993 opened 1 month ago

cds-1993 commented 1 month ago

When I use chat, it always fails and prompts: Extension host terminated unexpectedly 3 times within the last 5 minutes Even if I don't use chat to open cursor for a while, it will still appear I tried disabling all plugins - invalid I tried reinstalling cursor, but it didn't work

image image image

danperks commented 1 month ago

Hey, could you drop your Cursor install info? If you do File -> About, and just copy and paste that as a comment, that would be a great help!

Also, do you have (or have had) VSCode install in the past? Sometimes, VSCode can leave behind some things that Cursor doesn't like, which could cause this issue.

Hopefully we can narrow down what's going on here!

obie commented 3 weeks ago

Same issue Version: 0.42.4 VSCode Version: 1.93.1 Commit: b1e87884330fc271d5eb589e368c35f14e76dec0 Date: 2024-10-29T17:17:29.347Z (2 days ago) Electron: 30.4.0 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.5.0

I do have VS Code installed... is it worth uninstalling?

Here's the actual exception:

------
 > [app internal] load metadata for docker.io/library/dev_container_feature_content_temp:latest:
------
failed to solve: dev_container_feature_content_temp: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
[10783 ms] Error: Command failed: docker compose --project-name whop -f /Users/obie/projects/whop/docker-compose-devcontainers.yml -f /Users/obie/projects/whop/.devcontainer/docker-compose-devcontainers.yml -f /Users/obie/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1730479664063.yml build
[10783 ms]     at pw (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:427:522)
[10783 ms]     at async L$ (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:427:2493)
[10783 ms]     at async N$ (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:409:3165)
[10783 ms]     at async tAA (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:479:3833)
[10783 ms]     at async CC (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:479:4775)
[10783 ms]     at async NeA (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:612:11107)
[10783 ms]     at async MeA (/Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:612:10848)
[10787 ms] Exit code 1
[10789 ms] Command failed: /Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin) /Users/obie/.cursor/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/obie/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-2b66ea51-d446-4cd1-b15d-3ded72fa83641730479656487 --workspace-folder /Users/obie/projects/whop --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/obie/projects/whop --id-label devcontainer.config_file=/Users/obie/projects/whop/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/obie/projects/whop/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[10789 ms] Exit code 1
cds-1993 commented 3 weeks ago

Version: 0.42.4 VSCode Version: 1.93.1 Commit: b1e87884330fc271d5eb589e368c35f14e76dec0 Date: 2024-10-29T17:17:29.347Z Electron: 30.4.0 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22621

The above is Cursor install info

I did install VSCode and cursor together, can't these two software exist at the same time?

@danperks

aditi0009 commented 1 week ago

I have same issue - Version: 0.42.2 VSCode Version: 1.93.1 Commit: c499aee5f16e67815c7dc795ff338dc8ab3e07f0 Date: 2024-10-12T05:39:54.471Z Electron: 30.4.0 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Linux x64 6.8.0-48-generic

floweringmind commented 1 week ago

I found that this occurred when I installed Cursor on a new computer. I had PHP Intelephense installed on my old machine. Once I reinstalled the module, this error went away.

abed-daloopa commented 6 days ago

I'm facing the same issue, extension host keep crashing and restarting. This is becoming a bit frustrating.

❌ I'm seeing error messages like this in the developer console:

Extension host (LocalProcess pid: 32065) terminated unexpectedly. Code: 6, Signal: unknown

Installed Cursor info:

Version: 0.42.5
VSCode Version: 1.93.1
Commit: 001668006cc714afd397f4ef0d52862f5a095530
Date: 2024-11-14T00:33:36.512Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0

Here are the extensions I have installed:

❯ cursor --list-extensions
akamud.vscode-theme-onedark
anysphere.pyright
austenc.tailwind-docs
benjaminbenais.copilot-theme
bradlc.vscode-tailwindcss
cipchk.cssrem
codezombiech.gitignore
csstools.postcss
dart-code.dart-code
dart-code.flutter
davidanson.vscode-markdownlint
dbaeumer.vscode-eslint
dsznajder.es7-react-js-snippets
eamodio.gitlens
esbenp.prettier-vscode
fabiospampinato.vscode-open-in-github
firsttris.vscode-jest-runner
formulahendry.auto-rename-tag
foxundermoon.shell-format
github.vscode-github-actions
graphql.vscode-graphql
graphql.vscode-graphql-syntax
janisdd.vscode-edit-csv
mechatroner.rainbow-csv
mikestead.dotenv
misq.toggleformatonsave
monosans.djlint
ms-azuretools.vscode-docker
ms-python.autopep8
ms-python.black-formatter
ms-python.debugpy
ms-python.flake8
ms-python.python
ms-python.vscode-pylance
ms-vscode-remote.remote-containers
ms-vscode.cpptools
ms-vscode.cpptools-extension-pack
ms-vscode.cpptools-themes
naumovs.color-highlight
oderwat.indent-rainbow
pkief.material-icon-theme
prisma.prisma
redhat.vscode-yaml
robbowen.synthwave-vscode
streetsidesoftware.code-spell-checker
styled-components.vscode-styled-components
t-akasaki.git-skip-worktree-manager
tamasfe.even-better-toml
techer.open-in-browser
tomoki1207.pdf
viktorqvarfordt.vscode-pitch-black-theme
vscode-icons-team.vscode-icons
vsls-contrib.codetour
wayou.vscode-todo-highlight
wix.vscode-import-cost
wmaurer.change-case
yoavbls.pretty-ts-errors

How can we help narrow down the cause to get this issue fixed?