Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
ericallam opened this issue Mar 4, 2025 · 0 comments

Comments

@ericallam
Copy link
Member

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)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant