Bun

Bun issue (Nov 30): Bun.serve Sends Unexpected 400 Response on Chunked Requests with Trailers

medium

Is it fixed? Not yet.

Ongoing since Nov 30, 16:18 UTC. First reported Nov 30, 16:18 UTC.

What happened

Bun.serve incorrectly returns a second 400 response and closes the connection when processing a chunked request body containing trailers. The issue affects developers using Bun versions 1.4.5 and 1.4.6-canary.

What caused it?

Under active investigation. No report has identified a root cause yet.

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Outage timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    Bun.serve: a chunked request body with trailers gets a second response, a 400, and the connection is closed

    Source

Reports of this outage

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    Bun.serve: a chunked request body with trailers gets a second response, a 400, and the connection is closed(opens GitHub issue in a new tab)

    [!NOTE] 🤖 Claude Opus 5.5 filing on behalf of @NathanColosimo What version of Bun is running? 1.4.5+a7733435c, and 1.4.6-canary.1+5b2417894 What platform is your computer? Darwin 27.2.0 arm64 What steps can reproduce the bug? bun repro.ts: const server = Bun.serve({ port: 0, async fetch(req) { return new Response(body=${await req.text()}); }, }); async function send(label: string, raw: string) { const { promise, resolve } = Promise.withResolvers<string>(); let received = ""; const socket =…

    by NathanColosimo 0upvotes 1comments

Bun issue FAQ

What happened in the Bun issue, and why?

Ongoing since Nov 30, 16:18 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.

What is affected by the Bun issue?

Bun (versions: 1.4.5+a7733435c, 1.4.6-canary.1+5b2417894).

When did the Bun issue start and end?

It started Nov 30, 16:18 UTC and is still ongoing (8 h 13 min so far). This page updates as it develops.

How do I get alerts for Bun?

Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.