Chris
Hono SSE Stream Closing Unexpectedly After 10 Seconds
Title: Hono SSE Stream Closing After 10 Seconds
Issue: Using Hono's
streamSSE
, the SSE connection closes after ~10 seconds, regardless of client (curl/browser). A minimal Node.js SSE server works fine.
Environment: Debian, localhost
Code snippet:
Logs show:
Any ideas why Hono's SSE implementation might be closing the connection prematurely? Tried error handling and abort detection, issue persists. Thanks for any help!16 replies