Today this issue started happening where when I try to save a file or get a Cursor completion, I get boxes at the bottom left that say “Waiting for code actions from ‘cursor-retrieval’”. They spin forever and never complete.
This prevents my “save hooks” from running, as well as make it hard to get the completions and help from Cursor that I normally expect.
I’ve tried deleting and recreating my local index, and that seemed to work briefly, but then went back to the old behavior.
I’m using zScaler if that might have something to do with it.
Steps to Reproduce
Open a typescript file and make some edits.
Save the file (to trigger Preitter)
BUG: "Waiting for code actions from ‘cursor-retrieval’ messages display forever at the bottom left.
Expected Behavior
The file should save and run my “post save” hooks.
Hey, this sounds like a network connectivity issue with the cursor‑retrieval service, especially since you mentioned zScaler. The retrieval service needs to connect to our servers to fetch relevant code context.
A few things to try:
Check if zScaler is blocking connections to *.cursor.com domains — you might need to whitelist these
Try temporarily disabling zScaler to see if that resolves it
Go to Settings → Cursor Tab → temporarily disable “Index codebase” to see if that helps
Restart Cursor completely
Clear Cursor’s cache and temporary files — sometimes corrupted cache can cause hanging issues
Disable extensions one by one to check for conflicts (similar to VS Code “Getting code actions” issues)
If the above doesn’t work, delete and recreate your local index
If it’s a corporate network/zScaler issue, you’ll probably need to work with your IT team to whitelist the necessary domains. The retrieval service is essential for Cursor’s core functionality, so blocking it can make the app unusable.
Let me know if disabling indexing or testing without zScaler changes anything — that would help narrow down if it’s a network policy issue.
Thanks for the response! I was quite baffled by this error yesterday, and I tried switching back to regular VS Code, but VS Code had almost the same issue!
I ran the Networking checks in Cursor, and they were fine.
I think the problem ended up being that I had an enormous typescript error in one of my files that generated a huge error output message. I think that it might have overflowed a buffer somewhere and caused something to crash, and that caused “waiting for code actions…” messages to never disappear.
First, I set noTruncatedErrors=false in my tsconfig.json file, so that long errors get truncated. Then I fixed the typescript issue, and the problem went away.
Thanks for your help. I hope this thread helps someone else, too