Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
On 2026-10-26, between 18:20 and 19:10 UTC, our agent Runs stopped getting any frames from Cursor’s agent API, a whole HTTP/2 connection at a time, and 7 turns failed with “Cursor Run sent no frames for 30000ms”. The client log covers about 20 hours around that window, and all 31 stalls in it fall between 18:23 and 19:07.
Load was low: 8 to 11 Runs open, spread over 2 to 3 connections (at most 4 per connection). Uploads weren’t backing up: per 10 minutes, the p90 time to flush a write stayed between 0.17 and 0.47 s.
The clearest example (UTC):
- 18:53:23: we opened a new connection, replacing one we had rotated after 15 minutes.
- 18:53:37: two retries (claude-opus-5-5, each resuming from a checkpoint) went to that 14-second-old connection. Neither got response headers or any frame for 30 s.
- 18:54:07: before reusing the connection we sent an HTTP/2 PING. No ack within 5 s (timeout at 18:54:12).
- 18:54:13: on a fresh connection the same two Runs got headers in 0.2 s and first tokens in 1 to 3 s. That connection got a GOAWAY (NO_ERROR, last stream 5) at 18:54:27, 15 s after it opened.
Reuse PINGs also timed out at 18:38:03 and 18:41:16. Across the whole log those were the only 3 failures out of 74 PINGs.
We get NO_ERROR GOAWAYs all day (10 to 20 an hour, sometimes within a minute of connecting), and there were no more of them during the burst, so the GOAWAY on its own doesn’t look like the problem. The connections that go silent are.
We saw the same pattern on 2026-10-22 (18:33 to 19:35 UTC) and 2026-10-25 (17:20 to 19:28 UTC). On 10-25 about 20 to 35 Runs were uploading at once and writes took 12 to 33 s to flush (p90), which looked like per-connection throttling. Since then we spread Runs over several connections. The 10-26 burst happened with that in place and far less load.
Steps to Reproduce
We can’t trigger it on demand. Keep about 10 long agent Runs going in parallel over HTTP/2 to the agent API, a few per connection. So far it has come in 40 to 60 minute bursts in the early evening UTC (times above).
Expected Behavior
A connection either answers, or gets closed (GOAWAY or a stream reset) before new streams go to it. A Run that can’t be served fails quickly with an error the client can retry, not after 30 s of silence.
Operating System
Linux
Version Information
Not the official CLI: cursor-opencode-provider, a public open-source third-party client that speaks the CLI’s agent protocol (Run over Connect on HTTP/2), running in OpenCode 2.1.4 on NixOS 26.11. The installed Cursor CLI is 2026.10.22-27dcf5f.
For AI issues: which model did you use?
claude-opus-5-5 (context=1m, effort xhigh or high, fast=true) and gpt-5.6-sol (context=1m, reasoning high), max mode on. The stalls hit both.
For AI issues: add Request ID with privacy disabled
Privacy mode was on. We don’t have Cursor request IDs for these: our client generates a random request ID per request and didn’t log it. We do have the conversation ID each Run was sent with, for the two 18:53:37 retries and the 7 failed turns (18:26:54, 18:34:12 on gpt-5.6-sol, 18:37:11, 18:37:44, 18:39:55, 18:45:35, 18:55:46 UTC), and can share them privately with staff if that helps.
Additional Information
On our side we already spread Runs over up to 8 connections at 4 Runs each, rotate connections after about 15 minutes, and PING a connection before reusing it once it has left a Run unanswered for 10 s. That routes around one bad connection, but it doesn’t help when a 14-second-old connection goes silent too and it keeps happening for 40 minutes.
What we’d like to know:
- Is something on Cursor’s side closing or idling connections in bursts (an edge or load balancer draining, for example)? Was anything going on around 18:20 to 19:10 UTC on 10-26?
- Is there a recommended reconnect or backoff for this: drop every connection and wait, cap Runs per connection, or something else?
- Should a client handle GOAWAY in a particular way, for example by retrying straight away on a new connection any stream above the last stream ID? And is a NO_ERROR GOAWAY 15 s after connecting expected?
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor