claude-code - 💡(How to fix) Fix [Bug] Thinking block signature rejection causing repeated strip-and-retry with increased latency

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[WARN] [thinking] server rejected a thinking-block signature; stripping signed blocks and retrying.

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description 【事象】 thinking-block の署名がサーバーにほぼ毎ターン拒否され、署名を剥がして リクエストを再送(strip and retry)する挙動が連続発生し、ターンごとに レイテンシが上乗せされて体感が遅くなります。

【発生ログ】 [WARN] [thinking] server rejected a thinking-block signature; stripping signed blocks and retrying.

【頻度】 約49分の1セッションで25回発生。ほぼ毎ターン(メインスレッドのリクエストで 発生、入力補完 prompt_suggestion でも数回発生)。新規会話(/new)を開始しても 2ターン目以降に再発し、会話のリセットでは解消しません。

【影響】 拒否のたびにリクエストを2回投げ直すため、1ターンあたり概ね0.4〜2秒の 余計な往復が発生します。クライアントが自動回復するためエラーにはなりませんが、 体感速度が安定しません。

【環境】

  • Claude Code バージョン: 2.1.156
  • モデル: claude-opus-4-8[1m](Opus 4.8 は1Mコンテキスト版のみ選択可能)
  • OS: macOS (Darwin 23.6.0)

【補足】

  • レート制限(429)・オーバーロード(529)・タイムアウト・接続エラーは ログ上一切出ておらず、ネットワークやアカウント制限ではありません。
  • 全リクエストが [1m] モデルのため、1M固有か通常モデルでも起きるかは 当方のログだけでは切り分けできていません。
  • first byte レイテンシ自体は中央値1.5秒で正常範囲です。

【期待動作】 正常な署名が毎ターン拒否されることなく受理され、不要な再送が発生しないこと。

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.156
  • Feedback ID: 49b47d34-1ab4-465b-aa71-ae46a45f8cf2

Errors

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Thinking block signature rejection causing repeated strip-and-retry with increased latency