Skip to content

Server crashes with error: Closed already requested. Readable stream is unavailable. #286

Description

@d9k

I have await for request in server.get('*', async (context) => {. at server.tsx.

(I need to obtain Supabase session before SSR rendering start to do SSR routing correctly based on authenticated Supabase user permissions).

If I press [F5] key several times (< 7) in browser then server breaks with error Cannot enqueue chunk when underlying stream is not readable. Readable stream is unavailable. How to fix?!

See

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions