Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Realtime bug: Failed to execute 'enqueue' on ReadableStreamDefaultController #1751

Copy link
Copy link
@ericallam

Description

@ericallam
Issue body actions

To try and reproduce:

  1. Use useRealtimeRunsWithTag()
  2. Wait a little longer (about 5 - 15mins -- not sure about exact timing yet)
  3. Refresh the page, and the error shows
Uncaught TypeError: Failed to execute 'enqueue' on 'ReadableStreamDefaultController': Cannot enqueue a chunk into a closed readable stream
    at stream.ts:154:36
    at ShapeStream.<anonymous> (client.ts:519:17)
    at Generator.next (<anonymous>)
    at 08b5e__pnpm_877455._.js:1450:65
    at new Promise (<anonymous>)
    at __async (08b5e__pnpm_877455._.js:1434:12)
    at client.ts:517:76
    at Array.map (<anonymous>)
    at ShapeStream.<anonymous> (client.ts:517:46)
    at Generator.next (<anonymous>)
    at 08b5e__pnpm_877455._.js:1450:65
    at new Promise (<anonymous>)
    at __async (08b5e__pnpm_877455._.js:1434:12)
    at ShapeStream.publish_fn (client.ts:515:57)
    at ShapeStream.<anonymous> (client.ts:446:17)
    at Generator.next (<anonymous>)
    at fulfilled (08b5e__pnpm_877455._.js:1437:32)
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.