You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logs we get in Cloudflare don't give us anything, so you have to debug it locally using wrangler dev to see more detailed errors.
tl;dr here is that cloudflare will cancel the request if it finds that you are not planning to return something. i've seen this happen before when promises are involved (spoiler: we have a ton of promises involved).
It seems likely that a change in #758 caused this, though I remember @frandiox had it working in CF before 🤔 Maybe it was some other recent change.
Red herrings to avoid: The Cloudflare Deployment GH Action is currently failing, but it's due to an update in wrangler clearing out stale files. The actual deploy itself is fine.
Describe the bug
https://template-default.hydrogen-devs.workers.dev/
The logs we get in Cloudflare don't give us anything, so you have to debug it locally using
wrangler dev
to see more detailed errors.tl;dr here is that cloudflare will cancel the request if it finds that you are not planning to return something. i've seen this happen before when promises are involved (spoiler: we have a ton of promises involved).
It seems likely that a change in #758 caused this, though I remember @frandiox had it working in CF before 🤔 Maybe it was some other recent change.
Red herrings to avoid: The Cloudflare Deployment GH Action is currently failing, but it's due to an update in wrangler clearing out stale files. The actual deploy itself is fine.
To Reproduce
I started a branch here: https://github.com/Shopify/hydrogen/tree/jl-wip-cf-debugging
You'll want to run yarn and then inside the template, run wrangler dev (install wrangler first if you don't have it).
v1.x-2022-07
branchThe text was updated successfully, but these errors were encountered: