Agents need to manually resumed a lot when opening up many agent tabs at once

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

when i start running a lot of agents in parralel, i am constantly getting error “connection failed. Please try again, or contact support if the issue persists” and playing whack-a-mole where resuming one agent gives another agent that error.

Steps to Reproduce

open up lots of agents and run them in parralel

Expected Behavior

there should be no api limiting so that i can run as many agents in parralel as i want.

Screenshots / Screen Recordings

Operating System

Linux

Version Information

see previous posts

For AI issues: which model did you use?

composer 2.5 fast, but i imagine the same issue happens for every model

For AI issues: add Request ID with privacy disabled

Request ID: 5c1ea503-6795-44d5-8429-c8268610678e
[unavailable] PING timed out
Rpe: [unavailable] PING timed out
at Rw1 (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35723:27646)
at kog (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35723:26375)
at qw1 (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35724:7469)
at Pog.run (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35724:12367)
at async Ule.runAgentLoop (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:48124:2927)
at async M7g.streamFromAgentBackend (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:48195:12809)
at async M7g.getAgentStreamResponse (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:48195:21573)
at async sut.submitChatMaybeAbortCurrent (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:35854:1949)
at async to (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:47078:33305)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @HEMgreen!

Thanks for the report.

How many is a lot?

It doesn’t look like you’re running into any rate limiting. [unavailable] PING timed out is connectrpc’s Http2SessionManager killing the agent-backend stream when its keepalive PING isn’t ACKed in time.

It would be great to know if you still face the issue when you toggle Cursor Settings > Network > HTTP Compatability Mode to HTTP 1.1!

more than 10 agents at once. thanks ill try that and update with the results