Claude helper resumes repeatedly return Cloudflare 403 in an existing session

Đang mở
#36,121 3 bình luận 11 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

via-triage
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:

  1. Use an existing Claude Opus 5.5 thread with two helpers in the desktop app against its local server.
  2. Send continue; the parent resumes the existing helpers with SendMessage.
  3. Observe repeated Cloudflare 403 errors.
  4. 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

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
59 phút
Pull request đã merge (30 ngày)
418

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.