tRPCttRPC
Powered by
ChevC
tRPC•2y ago
Chev

subscriptions net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) with httpSubscriptionLink on Bun/Hono

When using the Hono (Bun) middleware as per the instructions and setting up a tRPC subscription, the following error is thrown in the console, and a loop is created that eventually leads to a memory leak at the server:

net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)


I don't see this with the equivalent Node http server. Is anyone else using tRPC subscriptions successfully with Hono?

Repo here to reproduce: https://github.com/samuelgoldenbaum/honojs-middleware-issues-717
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Bun & Hono websocket
David 👾DDavid 👾 / ❓-help
10mo ago
subscriptions on edge
EmilEEmil / ❓-help
14mo ago
Subscriptions
Ahmed EidAAhmed Eid / ❓-help
3y ago
Authorization and Authentication while using unstable_httpSubscriptionLink
NoirLimeNNoirLime / ❓-help
2y ago