Skip to content

Investigate server-side Node.js webstreams error #4239

@ncarazon

Description

@ncarazon

We're seeing a lot of server-side crashes in Node.js webstreams code - not in our application code directly.

Sentry: https://metaculus.sentry.io/issues/METACULUS-FRONTEND-1FZ (20,773 events since June)

The error is happening deep in Node.js internals:

TypeError: controller[kState].transformAlgorithm is not a function
  at node:internal/webstreams/transformstream:568:16

This appears to be a Node.js or Next.js compatibility issue rather than a bug in our code. Need to investigate:

  • Whether this is a known issue in Node v24.13.0
  • If upgrading/downgrading Node or Next.js resolves it
  • Whether other projects are seeing similar issues

0 users affected (server-side only), but high event volume.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions