Error "All fibers interrupted without errors" with RPC and Atom package

why I am getting an error of "All fibers interrupted without errors." on a simple atom with rpc? I have understood that this kind of error occurs through being interrupted by something (either in the client or the server). However, the client correctly sends out the request object but the server responds with status code of 499. Moreover, the Tanstack start correctly receives the request in their handlers which I pass onto the HttpLayerRouter.toWebHandler. I feel like this is a problem in the atom package, since vanilla http server and sending out request through RpcClient works in a node application (effect playground url: https://effect.website/play#af9644b34b51). Interestingly, raw http route made with HttpLayerRouter works correctly and returns a response. Any ideas on how to make the rpc route work with atom and react?

reproducible repo: https://github.com/MrGeniusProgrammer/tanstack-effect-rpc-fibers-interrupted-issue
Was this page helpful?