posthog
posthog copied to clipboard
[bug] api/ingest/static/recorder-v2: Request cannot have a ReadableStream body and keepalive set to true
Bug description
Getting an error from PostHog recorder-v2 library with a TypeError: Request cannot have a ReadableStream body and keepalive set to true
We are seeing some streams properly being recorded, although no indication of what is causing this.
Currently seeing it on the following devices in our logs
Mac OS X Version:>=10.15.7
iOS Version:17.2
iOS Version:17.3.1
How to reproduce
- None
Environment
- [x] PostHog Cloud US, project ID: 51989
- [ ] PostHog Cloud EU, project ID: [please provide from https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with
docker compose
, version/commit: [please provide] - [ ] PostHog self-hosted with Kubernetes (deprecated, see "Sunsetting Kubernetes support"), version/commit: [please provide]
Additional context
Thank you for your bug report – we love squashing them!
Hey @gregegan
Which version of posthog-js are you using?
You can share individual Sentry issues... can you share that one with me? You can use https://us.posthog.com/#panel=support%3Asupport%3Asession_replay%3Alow to share it privately.
Is the site public and the error easily reproducible? It could be that our wrapping of fetch for payload capture is making an error elsewhere appear to come from our code
Hey @gregegan
Which version of posthog-js are you using?
You can share individual Sentry issues... can you share that one with me? You can use https://us.posthog.com/#panel=support%3Asupport%3Asession_replay%3Alow to share it privately.
Is the site public and the error easily reproducible? It could be that our wrapping of fetch for payload capture is making an error elsewhere appear to come from our code
Submitted via the site, thank you