Can't use AI: "The connection stalled. Please try again."

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

“The connection stalled. Please try again.”. Only happens sometimes, depending on what I send to the chat (couldn’t identify any patterns, though)

Steps to Reproduce

Request ID: 0de395a4-4002-46c4-8deb-b8f52d1e669c
Connection stalled
LTe: Connection stalled
at $mf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9096:4764)
at ova.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9096:8170)
at async qyt.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34190:57047)
at async Wpc.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34239:7695)
at async Wpc.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34239:8436)
at async FTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9170:14575)

Expected Behavior

Extract relevant info from a .PDF into a .md

Operating System

MacOS

Version Information

ersion: 2.4.21
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z (5 days ago)
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.1.0

Additional Information

I tried:

  1. changing the HTTP config, as seen on other topics. Didnt work
  2. changing project folder name, as seen on other topics. Didnt work
  3. Running network diagnostic, came back with everything OK

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Hey, thanks for the report. The Connection stalled error in runAgentLoop is a known issue in version 2.4.21, and the team is investigating it. A few users have reported this over the last few days.

Related reports: Connection Error / Stalled Agent requests for hours - #9 by Fares_Bendhiab

Try this workaround that helped other users with the same stack trace:

  • Fully quit Cursor Cmd+Q
  • Rename your project folder in Finder (for example MyProjectMyProject_v2)
  • Open the renamed folder in Cursor

If that doesn’t help, try switching to the Stable channel: Cursor Settings > Beta > Stable > Restart.

Keep an eye on updates in the linked thread.

A post was merged into an existing topic: Connection Error / Stalled Agent requests for hours