Claude helper resumes repeatedly return Cloudflare 403 in an existing session
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 18/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- backend
调研方向
Start with ClaudeAdapterV2.ts, where the provider's result text is preserved, and trace how a persistent Claude subprocess is reused across resumed helper sessions. The issue has no deterministic reproduction, so first confirm the 403 path by reading the result handling around is_error and api_error_status. Done means a reproducible cause or a clear fix for stale process reuse, with a test covering it.
由索引模型根据 Issue 内容生成。
描述
What happened
During normal work in the T3 desktop app, an existing Claude thread and its two helpers repeatedly failed with: Failed to authenticate. API Error: 403 Attention Required! | Cloudflare. Sending continue resumed the helpers but the error returned. Expected: the existing helpers continue working, or the UI explains how to recover.
Diagnosis
The provider event log records Claude SDK results with is_error=true, api_error_status=403, terminal_reason=api_error and the exact displayed text. T3 preserves this provider text in ClaudeAdapterV2.ts (commit 40526f96f6ae3dfe74ae60ca279e748d7838a691, lines 11075 onward); the UI labels it Provider error. The wording does not establish expired credentials; see PR #15872. Both existing helpers recovered after the persistent Claude process was restarted. This does not distinguish stale process state from a transient upstream Cloudflare block. No deterministic reproduction or confirmed root cause was established.
Steps to reproduce
Observed sequence, not a deterministic reproduction:
- Use an existing Claude Opus 5.5 thread with two helpers in the desktop app against its local server.
- Send continue; the parent resumes the existing helpers with SendMessage.
- Observe repeated Cloudflare 403 errors.
- Restart the affected persistent Claude process and resume the same helpers for diagnostic replies and harmless tool calls; both checks succeed.
Version
0.1.10-nightly.20261112.4580
Environment
Linux x64, kernel 7.2.15-1-omarchy; local desktop-managed server; Node v26.12.1; Claude Code 2.1.322; claudeAgent provider; claude-opus-5-5, high effort. Triage CLI only: 0.1.9 (npx t3 triage).
Evidence
Provider log excerpts/summary, 2026-11-13 UTC:
09:51:49.461 result: subtype=success, is_error=true, api_error_status=403, terminal_reason=api_error
result: Failed to authenticate. API Error: 403 Attention Required! | Cloudflare
09:54:28.668 and 09:54:30.513: both existing helpers replied HELPER_AUTH_OK
09:55:02.098 and 09:55:03.027: both helpers replied HELPER_TOOL_OK after successful Bash tool results
No further Cloudflare error through the inspected log at 09:56:36.219. This is a bounded recovery check, not proof against recurrence.
Related issues
#18554 is analogous process-reuse/auth behavior, but reports Not logged in after re-login rather than Cloudflare 403; not a confirmed duplicate. #15872 explains preserving Claude's 403 text.
Fix applied or workaround
A separate diagnostic session verified that the affected thread had no active run, checked the Claude subprocess owner and session identity, and sent that idle subprocess SIGTERM at 09:54:10 UTC. A new turn resumed the same conversation and helpers. Both passed reply-only and tool-call checks. Recovery after restart does not prove causation. No T3 source patch was applied.
Filed by
Codex GPT-6 Astra
- 主要语言
- TypeScript
- 星标
- 24.8k
- 派生
- 6.4k
- 平均合并
- 59 分钟
- 30 天内合并 PR
- 418
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
via-triage
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 68/100
维护者通常 1 天内回复
-
Question card options show LaTeX as raw source, though the question text renders it可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[Bug]: Settings inheritance popover shows raw slugs for branch naming, default permissions and response streaming可能已有人在做 @juliusmarminge 于 1 天前认领。 未关闭vouch:denounced
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
相似的 Issue
-
bug platform:mobile root-cause:found
难度 2/5 1-3 小时 新手友好度 72/100
openchamber/openchamber#6926 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
push-based/user-flow#356 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
Cygnux-Labs/Tracekit#827 ·
维护者通常 1 天内回复
-
www build: a refused import shows only "ENOENT scandir <outDir>", never the build-audience error未关闭kind:defect
难度 1/5 1 小时以内 新手友好度 91/100
维护者通常 1 天内回复
-
type:bug
难度 2/5 1-3 小时 新手友好度 72/100
nightgauge/nightgauge#3266 ·
维护者通常 1 天内回复