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
{{ message }}
Repository navigation
@sentry/cloudflare 11: instrumented Durable Object stubs drop method, headers and body when init is a Request #26367
The Fetch standard accepts any object as RequestInit, and forwarding a request as stub.fetch(url, request) is a common Workers idiom. A Request's method, headers, body and the
rest are prototype getters, not own properties, so the spread copies none of them. Behind an instrumented
Durable Object namespace the call reaches the object as a bare GET with no headers and no body, so a
WebSocket upgrade (Upgrade: websocket) and every forwarded POST fail. Without Sentry the same call
works.
Activity
linear-code commentedon Nov 13, 2026
JS-4103
andreiborza commentedon Nov 16, 2026
Hi @webbertakken, thanks for filing this. We'll take a look.
fix(cloudflare): Forward method, headers and body when a Request is p…
github-actions commentedon Nov 16, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #26368, which was included in the 11.13.0 release.