Skip to content
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

[BUG] TypeError: Body has already been used #586

Open
psteinroe opened this issue May 25, 2024 · 1 comment · May be fixed by #745
Open

[BUG] TypeError: Body has already been used #586

psteinroe opened this issue May 25, 2024 · 1 comment · May be fixed by #745

Comments

@psteinroe
Copy link

Describe the bug
We are seeing error logs coming from Inngest thrown in getResponseError because the body has already been used. I do not know what the root error is, and is happening rarely, but I am a bit afraid this can lead to loss of data because we rely on inngest to be accepting events at all times. The full error is:

TypeError: Body has already been used. It can only be used once. Use tee() first if you need to read it twice. at Gl.getResponseError (index.js:25:50970) at Gl._send (index.js:25:53022) at async index.js:25:315335 at async Promise.all (index 0) at async index.js:25:315291 at async Promise.all (index 0) at async index.js:25:315244 at async i (index.js:25:229977) at async i (index.js:25:229977) at async index.js:25:246409

To Reproduce
Repeatedly send events to inngest. We are running in cf worker.

Copy link

linear bot commented May 25, 2024

@jpwilliams jpwilliams linked a pull request Nov 28, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant