Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Long agent turns intermittently fail with:
Error: RetriableError: [canceled] http/2 stream closed with error code CANCEL (0x8)
Seen twice. Turn runs ~15–20 minutes, then the HTTP/2 stream is canceled and the agent stops. Partial file changes from before the drop remain. Looks like a transport cancel between the local agent runtime and Cursor backend, not a model refusal.
Steps to Reproduce
- Open a Cursor agent session (here via T3 Code on a local Mac mini checkout).
- Select model: Cursor Grok 4.5 (High / Full access / Build).
- Start a multi-step agent task that runs for ~15–20+ minutes.
- Wait until the turn ends with RetriableError: [canceled] http/2 stream closed with error code CANCEL (0x8).
Reproduced twice on similar long turns. Not every short turn fails.
Expected Behavior
The agent turn should complete, or Cursor should retry/resume the stream without ending the turn on CANCEL (0x8).
Operating System
MacOS
Version Information
IDE: Cursor 3.14.7 (a758f2241ca99fecf380180b6cbdbbce0f1f42c0)
CLI / agent: cursor-agent 2026.07.23-e383d2b
Hosted via: T3 Code (app.t3.codes) → local Cursor Grok agent lane on Mac mini
For AI issues: which model did you use?
Cursor Grok 4.5 (High)
Additional Information
- Error surfaces in T3 Code UI, but the RetriableError / HTTP/2 CANCEL shape matches Cursor agent transport failures reported on the forum (stream drop mid-request).
- Happens after long runtimes (~18m in one case), so idle/proxy timeout is possible.
- Partial progress survived (example: 2 files changed, +8/-0) before the stream died.
- Happy to attach Network Diagnostics output if useful.
Does this stop you from using Cursor
No - Cursor works, but with this issue