-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your worker created multiple branches of a single stream (for instance, by calling response.clone()
or request.clone()
)
#7032
Comments
I'm getting five copies of this error on
|
I'm using Remix 19.3 and Cloudflare Pages. I'm also getting this message. |
Hit this too. From reading the cloudflare issue, I assume its because of whats happening under the hood to set the arguments for actions and loaders when you don't consume them. Not sure what the fix would look like though. Edit: Is this decision doc related? Seems like a decision that was made specifically because of scenarios like these. Yet it's still happening? The steam does get cloned here but I didn't fully dig in the code to see if it matters. |
Any news on this? or a work around? |
I am getting a similar error:
my setup package json:
remix config:
|
Also running into this issue. Not a huge deal but gets pretty annoying when it's printed every time any action(even a completely empty one) run. |
Any update? |
Having this issue using hono.dev |
I ran into the same issue for all actions/post with Also, found a closed issue/unmerged PR with the same fix
|
Same error for me, looks like it's related to Wrangler |
Same error for me too
|
I've got the same error |
Just want to emphasize here that this problem is not specific to Cloudflare Workers, it's just that only Cloudflare Workers actually warns about it. On all other platforms, this pattern will simply silently burn RAM for no benefit. Workers is happy to do that too -- the message is only a warning but everything still works (as long as you don't exceed your memory limit). |
Oh, except I see the bug is present in code that is only used with Cloudflare Pages. So I suppose that does make the problem here specific to Cloudflare in that sense. But in short, |
What version of Remix are you using?
1.19.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
I am creating a Shopify app by using
@remix-run/cloudflare-pages
and@shopify/shopify-app-remix
. Everything working fine but local log, I am getting this messagesI am not sure how I can debug this ? When I am checking cloudflare page adapter, I see
This is
server.ts
multiple branches of a single stream is created for this ? Any Idea ?
Expected Behavior
Shoud not create multiple branches of a single stream
Actual Behavior
This is the message
The text was updated successfully, but these errors were encountered: