pingdotgg / pingdotgg/t3code

[Bug]: Getting error during cursor runs, `RetriableError: [canceled] http/2 stream closed with error code CANCEL (0x8)`

Open
#12,374 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug upstream via-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce

In a long run it eventually gets this error

Expected behavior

Agent keeps running until work is done

Actual behavior
Image Error: RetriableError: [canceled] http/2 stream closed with error code CANCEL (0x8)
Impact

Blocks work completely

Version or commit

0.0.42 (719a76ca1dbf)

Environment

macOs 26.6.1 (25G76)

Logs or stack traces
ProviderAdapterRequestError: Provider adapter request failed (cursor) for session/prompt: Cursor reported a transport failure.
    at Array.<anonymous> (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:146304:98)
    at next (<anonymous>)
    at sendTurn (Alpha)
    at sendTurn (definition) (Alpha)
    at processTurnStartRequested (Alpha)
    at processTurnStartRequested (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:203752:36)
    at processDomainEvent (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:204127:46)
    at processDomainEvent (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:204076:29) {
  [cause]: Error: Error: RetriableError: [canceled] http/2 stream closed with error code CANCEL (0x8)
      at causePrettyError (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/claudeHistoryWorker-CAn1PawV.mjs:9188:17)
}
Screenshots, recordings, or supporting files

No response

Workaround

No workaround, but starts working for a while again if you continue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report identifies apps/web and bundled apps/server/dist/bin.mjs, with the failure surfaced from claudeHistoryWorker and sendTurn. Start by reproducing a long cursor run and tracing the provider adapter request around that path. Done means the agent can complete a long run without the HTTP/2 cancellation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.