`Connection refused — a firewall or proxy may be blocking it` が出るときに、まず確認したいこと
この症状は、少なくとも報告上は 2 つの顔があります。ひとつは、毎回のコマンドで API への接続が失敗し、`Connection refused — a firewall or proxy may be blocking it (ConnectionRefused)` を 10 回試行しても抜けられないケースです。もうひとつは、サブエージェントのストリームが途中で静かに止まり、`Agent stalled: no progress for 600s (stream watchdog did not recover)` で落ちるケースです。前者は [#93041](https://github.com/anthropics/claude-code/issues/93041)、後者は [#87987](https://github.com/anthropics/claude-code/issues/87987) にまとまっています。 自分のケースかどうかを切り分けるなら、まず見るべきなのは「Claude Code から API に出る通信だけが失敗しているのか」です。[#93041](h
papoo.work