Request ID: 53e085d4-fce7-48af-ad97-21b7480e4a64
Timed out waiting for the agent host bridge to register; please retry.
AgentTurnClassifiedError: Timed out waiting for the agent host bridge to register; please retry.
at blo (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8258:107657)
at async J6o._waitForAgentHostBridgeBoundedInner (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17701:4080)
at async J6o._waitForAgentHostBridgeBounded (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17701:3901)
at async J6o._waitForPushRequestContextProviderRegistration (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17701:3506)
at async cRe (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6917:11698)
at async vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17701:10620
at async cRe (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6917:11698)
at async J6o.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17701:10517)
at async J6o.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:17701:38909)
at async lDe._submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/Administrator/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:8230:4456)
It all passed all Network Diagnostics and Cursor Agent works but only connection error with IDE. What is the reason and how can I fix it?
Hello, I was with this issue this morning and was able to fix it by changing my DNS to Google or Cloudflare.
https://forum.cursor.com/t/none-of-the-agents-are-working-from-this-morning/172359/16
Hey, thanks for the report and for the detailed stack trace. This error happens locally, before the request even leaves Cursor. The background component that Agent needs didn’t start after the last update. That’s why Network Diagnostics shows green, it’s not a network issue and it’s not your setup.
I can see the screenshot with the green Network Diagnostics panel, that confirms it’s a client-side failure, not a connection problem.
First, please try a clean reinstall:
- Close Cursor via File > Exit.
- In Task Manager, end any remaining Cursor processes.
- Download the latest installer from Cursor · Download and reinstall.
- Open your project and send Agent a short hello.
If that doesn’t help, please send:
- Help > Toggle Developer Tools > Console tab, any red lines that include
cursor-agent-host(for exampleActivating extension 'anysphere.cursor-agent-host' failed ...). - View > Output, in the dropdown select Cursor Agent Host, then copy the last lines, or tell me if that option isn’t there.
- Whether this is Windows Server or an RDP VM, or a regular machine, and whether any antivirus or app control is enabled like Defender, Smart App Control, or corporate security software.
This is a known issue and we’re tracking it. I can’t give an exact ETA yet, but the logs above will help narrow down what’s blocking registration on your machine. Let me know how the reinstall goes.
Hey @Leon_0419, an update on the “agent host bridge” timeout error.
This error happens locally, before the request leaves Cursor. That’s why Network Diagnostics is green and the separate Agents app works. The background component that Agent needs in the IDE didn’t start after the update because it depended on the Microsoft Visual C++ runtime. Recent Cursor versions no longer have that dependency.
First, update Cursor to the latest version and send Agent a quick “hello” in the IDE. Our records show you were on 3.21.18, which is from before the fix.
If it still times out, try repairing the Visual C++ Redistributable. This has worked for other users with the same error:
- Download the latest x64 Visual C++ Redistributable from Microsoft: https://aka.ms/vc14/vc_redist.x64.exe
- Run it and choose Repair, or Install if Repair isn’t available.
- Restart your computer, open Cursor, and send Agent a quick “hello”.
If it works, no need to reply. If it doesn’t, please send the red cursor-agent-host lines from Help > Toggle Developer Tools > Console, as mentioned in my previous reply, and I’ll take a closer look. Also, let me know whether this is a regular computer or a Windows Server / RDP VM, and whether you have any antivirus or app control enabled, such as Defender, Smart App Control, or corporate security software.
