Bun

Bun issue (Dec 4): Bun node:http Request with Aborted Signal Leaks Pooled Sockets

medium

Is it fixed? Not yet.

Ongoing since Dec 4, 17:26 UTC. First reported Dec 4, 17:26 UTC.

What happened

Bun 1.4.4 on Linux encounters a socket leak when an http.request uses an already aborted signal, failing with ABORT_ERR and failing to free the pooled socket. Subsequent requests using the agent then pick up this leaked socket and fail with ECONNRESET.

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.

Official fix

Outage timeline

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

    node:http request with an already aborted signal leaks a pooled socket, & later requests get ECONNRESET

    Source

Reports of this outage

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    node:http request with an already aborted signal leaks a pooled socket, & later requests get ECONNRESET(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.4 (Linux x64) What platform is your computer? Linux 7.0.0 x86_64 What steps can reproduce the bug? http.request with a signal that has already aborted fails with ABORT_ERR and never connects. It still leaves a socket in http.globalAgent's pool for that host and port, and Bun never frees it. Once a later server listens on the same port, the next request through the agent takes that socket and fails with ECONNRESET. import { readdirSync } from 'node:fs';…

    by burak-bayir 0upvotes 0comments

Bun issue FAQ

What happened in the Bun issue, and why?

Ongoing since Dec 4, 17:26 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.4).

When did the Bun issue start and end?

It started Dec 4, 17:26 UTC and is still ongoing (3 h 24 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.