Extension host terminated unexpectedly 3 times within the last 5 minutes

I have all my extensions disabled. I open up Cursor, i wait 15 maybe 20 seconds and extensions crash and restart .. and eventually after a few restarts i get this message. As you can imagine Cursor is not working.

I tried uninstalling and installing, cleaning the cache, uninstalling, deleting users settings.. any other ideas?

I don’t know what else to do and at this point it’s been 5 days ad it feels like it’s never getting resolved.

Hey, check out this thread, it might match your case.

thank you for taking the time to look into this. but it doesn’t really help. plus as i said i have all my extensions disabled. Even if i try to run bisect it tells me there is nothing to run it on as there are no enabled extensions.

i got the same problem, have u solve this?

it just resolved itself with the latest update. in the end i have no clue what happened.

I have the latest version, but this issue still happens to me. I even uninstalled VS Code, and I don’t have any extension.

I get this:

Extension host terminating: renderer closed the MessagePort

Hey, does this happen with a specific project open, or with any project you open?

Any project. I opened a TS file and waited for a bit.

Hey, this could be an extension is causing this issue. Try starting in safe mode with: cursor --disable-extensions , and check if everything works fine. If it does, try enabling the extensions one by one.

danperks, hello, can you read my post, I’m experiencing a command line bug with cursor, when I open the cursor the command line gets stuck, I’m very sad, can you help me to look at it, dear danperks

danperks, hello, can you read my post, I’m experiencing a command line bug with cursor, when I open the cursor the command line gets stuck, I’m very sad, can you help me to look at it, dear danperks

I just start seeing this so annoying “Extention host terminated” issue since Sunday. I only enabled Cline as extension, but the issue keeps showing up.
I’ve searched many website but none of the site seems to provide any clear cut solution.
Now I was able to enable Cline, after running extension Bisect, but now extension host still get terminated.
I tried VS Code and it shows the identical behavior so I suppose this is not only cursor issue, but funny thing is that there are so many ppl seems to have the same issue. Does anyone know if there’s any link I can look up?

This isn’t exactly a solution, but more of a workaround that worked for me on macOS:
1. Open Cursor
2. Press ⌘ + ⇧ + P
3. Type install cursor and select “Shell command: Install ‘cursor’ command”
4. Quit Cursor completely
5. Open a terminal and type cursor, then hit Enter

This fixed the Extension Bisect issue for me.

I found that this was a self-inflicted wound. The reason the extension was failing was that I was doing a general kill of python tasks and that extension is a python process.
on MacOS, a “pgrep -lf python” shows that extension running. I was doing a ‘pkill -f python main.py” or “pkill -f python” instead of just “pkill -f main.py” (main.py is my entry point).

TLDR; Don’t do a general killall of python tasks. be more specific.

I encountered the same problem, and it worked fine after I rolled back the cursor from version 2.x to version 1.7.

I think this is caused by my macos system version (12.7) being too low.