⚠️Tool call timed out after 25000ms

I always get these tool timeouts:

I’ll remove the FontLoss class and update the remaining references. First, I’ll search for any remaining references to FontLoss:

:warning:Tool call timed out after 25000ms

Let me try a more targeted search:

:warning:Tool call timed out after 25000ms

Let me try a more focused search:

It gives no clue about what is timing out or why. Any idea what it is, and how to fix it?

2 Likes

Yes I get the same thing in mine timing out after 5000ms always related to search. Cursor attempts multiple different types of search on the codebase and each times out.
Version: 0.46.2
VSCode Version: 1.96.2
Commit: 84b9c6d907219bb8c2874f299540eb6a079187a0
Date: 2025-02-23T00:58:36.467Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0

These extensions installed:

Apple M1 Max
Sequoia 15.3.1 (24D70)

Just a quick update on what fixed this for me: I didn’t end up finding the actual culprit but I went with the nuclear option of blowing away my Cursor install by deleting the application file in MacOS Applications and doing:

rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Preferences/com.cursor.app.plist

This solved it for me and Cursor is running waaaaaay faster now. Presumably it had something to do with logs getting too long or developing a massive context window that was slowing everything down, or an extension that was messing something up. Anyways I have a fresh install of Cursor and it’s blazing fast again and it’s able to search and read files with no timeout issues. HTH

So, by using ps, I at least caught the command:

/tmp/.mount_cursorXBEwPl/usr/share/cursor/resources/app/node_modules/@vscode/ripgrep/bin/rg --hidden --no-require-git --ignore-case -g !/.git -g !/.svn -g !/.hg -g !/CVS -g !/.DS_Store -g !/Thumbs.db -g !/node_modules -g !/bower_components -g !**/*.code-search --no-ignore-parent --follow --crlf --engine auto --regexp Box prediction debug --no-config --no-ignore-global --json – .

It’s trying to grep through my entire project directory, including datafiles that the server needs. I can’t hide them from ripgrep with symlinks because it follows the symlinks. I don’t know how to add more exclude commands to it. So… I don’t know what to do :frowning:

Thank you for this suggestion. I appreciate. It resolved the issue on my end.

1 Like