Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Connection errors now suggest what to check

When Claude Code cannot reach Anthropic's API, the error now points to your proxy, your ANTHROPIC_BASE_URL gateway, or a VPN or firewall

You'll notice Improvements
JSON All of v2.1.311
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release
What

When Claude Code fails to connect to Anthropic's API, the error message used to show only the raw error. It now adds a hint:

  • If you have set a proxy, or a gateway through ANTHROPIC_BASE_URL, it tells you to check that.
  • Otherwise it says: "A VPN, firewall, or security software can cause this. Check those or switch networks, then try again."

A gateway is a server placed between Claude Code and the API. The hint is added to general connection errors when Claude Code talks to Anthropic directly. It is not added when Claude Code connects through a Unix socket, which is a local connection between programs on the same machine.

Why

A bare connection error gives you nothing to act on. The hint names the likely causes, so you know where to look first.

See this entry in the whole of v2.1.311 →

Feedback