Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Proxy answers with 502 Bad Gateway when a server sends a broken response

When an upstream server sends an invalid status or headers through Claude Code's proxy, Claude Code now returns 502 Bad Gateway

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

A proxy passes requests on to another server, called upstream, and relays the answer back. When the upstream server's answer starts with an invalid status code or headers, Claude Code now logs an error and drops that answer. Then:

  • If nothing has been sent back yet, it replies with a 502 "Bad Gateway" error.
  • If a reply has already started, it closes the connection.
Why

A malformed answer from the server now produces a clean 502 error instead of an unhandled failure.

See this entry in the whole of v2.1.299 →

Feedback