Sébastien Morel
Sébastien Morel
Explore posts from servers
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
I understand that @ambergristle , thank you. I get it I would answer the same. Last change I did is that I changed the fetch implementation using WHATHWG, we have a similar api implementation on cloudflare with no error. So we'll see. So far so good, but it's random then not out of the wood yet. I will def, followup if I find something more concrete. Thanks for the proposition.
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
yes I know and understand that... just not really easy to provide something that would make sense. Any idea in the code of Hono where a ReadableByteStreamController.close would be done and not try /catch / handle ?
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
and the trace does not say exactly where it crashes so that does not help
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
I tried to force reproduce it by bombarding our staging env, I killed the container(s) without reproducing this ReadableStream error
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
it's when we have high volume traffic, not connect to resource exhaustion or anything. But we see a correlation with number of api calls
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
I can't reproduce it.
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
We tried to change the fetch implementation but nothing changed really same trace
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
I wonder if resource exhaustion could trigger something that would trigger that
27 replies
HHono
Created by Sébastien Morel on 3/21/2025 in #help
Invalid state: ReadableStream is already closed
it happened 10 times today in our prod
27 replies