neenhouse (chris)
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
I also raised a support ticket to look at this issue, in case its something specific to our account
12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
request/response
objects are passed around to make logging properties of those objects convienent, but nothing is reading / consuming requests for the sake of these requests, just reading headers.12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
Typically, in the additional outgoing requests, the function signature passed to
ctx.waitUntil
is pretty consistent, it's an async function that returns await fetch(...)
so that the promise returned to waitUntil
is from the fetch function12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
In the above issue-
const response = await fetchOrigin(request, env);
this response is the one that is truncated. It's going to be the first outbound subrequest from the worker12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
Top Level Handler:
12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
Top level entry:
12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker

12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
I should mention that when this behavior happens, it totally breaks the HTML page we are serving (we putting workers in front of nextJS applications)
12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 5/7/2025 in #workers-help
responseStreamDisconnected errors when making 6+ sub requests in worker
This all happens in actually happens in less than 1 second. I've attached a CF log (with some fields redacted)
12 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 10/15/2024 in #general-help
logpush + workers
One more question- do you expect the RayID from the worker trace log to match the RayID in the parent access log record?
10 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 10/15/2024 in #general-help
logpush + workers
Thank you!
10 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 10/15/2024 in #general-help
logpush + workers
So, I'll end up with 3 events total, 2 access log events (parent, sub request) and one worker trace log event (which I opted my worker into).
10 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 10/15/2024 in #general-help
logpush + workers
Yes- do they also have 1 other event for the parent request?
10 replies
CDCloudflare Developers
•Created by neenhouse (chris) on 12/14/2023 in #r2
Question about serving JS and CSS assets
I'm specifically referencing this message: https://discord.com/channels/595317990191398933/940663374377783388/1139730745544421429
1 replies