Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Workspace windows on external volumes consistently lose their Connect transport provider ~3 minutes after startup, making all AI chat features non-functional. The agent/empty windows continue to work fine. This happens on every restart unless all Cursor caches are cleared first.
Symptoms:
- Chat shows “Taking longer than expected…” then “An unexpected error occurred” with a Request ID
- Renderer log floods with
No Connect transport provider registerederrors every 10-30 seconds - Errors include:
Error fetching user pricing info,Error fetching user privacy mode - Only affects workspace windows — agent (empty) windows work normally in the same session
Root cause from logs:
The Connect transport provider (gRPC-based, in workbench.desktop.main.js) fails to register for workspace windows that load from external/mounted volumes. The error originates at:
K9a.transport (workbench.desktop.main.js:43857:702901)
Zk.createSingleServer (workbench.desktop.main.js:43857:704493)
Contributing factors observed:
- Workspace is on an external volume (
/Volumes/Govinda/Firebird/) - File watcher refuses to watch the workspace: “Refusing to watch /Volumes/Govinda/Firebird/… for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable”
globalStorage/state.vscdbgrows to 1+ GB over time due tocursorDiskKVtable accumulating massivebubbleId:*entries (50+ MB each for long chats), further degrading startup performance- Extension host goes unresponsive during startup when
cweijan.vscode-database-client2loads 644KB of global state
Workaround that temporarily fixes it:
Clearing all Cursor caches before launch:
rm -rf ~/Library/Application\ Support/Cursor/CachedData/*
rm -rf ~/Library/Application\ Support/Cursor/Cache/*
rm -rf ~/Library/Application\ Support/Cursor/GPUCache/*
sqlite3 ~/Library/Application\ Support/Cursor/User/globalStorage/state.vscdb \
"DELETE FROM ItemTable WHERE key = 'cursorai/serverConfig';"
open -a Cursor
This works for one session. On the next normal launch (without cache clearing), the bug returns.
Secondary issue: server-side timeout on large chats
Chats with 1000+ messages / 15+ MB of bubble data cause server-side errors (Request ID returned) when attempting to send new messages. The server accepts the request but fails after ~20 seconds with “An unexpected error occurred.” Starting a new chat resolves this.
Steps to Reproduce
- Open a multi-root workspace from an external/mounted macOS volume (
/Volumes/...) - Have the
cweijan.vscode-database-client2extension installed with cached state - Launch Cursor normally (without clearing caches)
- Wait ~3 minutes after startup
- Attempt to use AI chat in the workspace window
- Observe “Taking longer than expected” → “An unexpected error occurred”
- Check renderer.log: continuous
No Connect transport provider registerederrors
Expected Behavior
The Connect transport provider should register successfully for all windows regardless of workspace volume location. AI chat should function identically in workspace windows and agent windows.
Operating System
MacOS
Version Information
Version: 3.0.13
VSCode Version: 1.105.1
Commit: 607fad2793a66e8e63911e3159242a8a0d34eb8890c88cd17e860453065fd35b
Release Track: Stable
Does this stop you from using Cursor
Yes - Cursor is unusable