Skip to content

HTTP 499 and "All fibers interrupted without errors" on simple Bun websocket RPC #6037

@jan-wilhelm

Description

@jan-wilhelm

What version of Effect is running?

3.19.15, Bun 1.3.8

What steps can reproduce the bug?

Set up a very simple Bun based RPC server and client, using WebSockets as the protocol.

Follow the very minimal reproduction here: https://github.com/jan-wilhelm/effect-bun-rpc-fiber-interrupted-reproduction

What is the expected behavior?

It should just work without any warning / error logs

What do you see instead?

I see these logs on the server when making a super simple RPC request:

% bun run src/server.ts
[15:33:37.934] INFO (#3): Listening on http://localhost:3000
[15:33:39.316] INFO (#22) http.span.1=4ms: Received Bar RPC call
[15:33:39.323] INFO (#18) http.span.1=11ms:
  All fibers interrupted without errors.
  http.status: 499
  http.method: GET
  http.url: /rpc

Additional information

Note that this log line does not appear when using the NodeHttpServer, NodeRuntime, and running with node

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions