Connection failed. Please try again, or contact support if the issue persists

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:

  1. Close Cursor via File > Exit.
  2. In Task Manager, end any remaining Cursor processes.
  3. Download the latest installer from Cursor · Download and reinstall.
  4. Open your project and send Agent a short hello.

If that doesn’t help, please send:

  1. Help > Toggle Developer Tools > Console tab, any red lines that include cursor-agent-host (for example Activating extension 'anysphere.cursor-agent-host' failed ...).
  2. View > Output, in the dropdown select Cursor Agent Host, then copy the last lines, or tell me if that option isn’t there.
  3. 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.