Rendering error on routes that fetch data with revalidate
#69971
Labels
bug
Issue was opened via the bug report template.
revalidate
#69971
Link to the code that reproduces this issue
https://github.com/orinokai/test-next-cache-invalidation
To Reproduce
next start
TypeError: Response.clone: Body has already been consumed.
Current vs. Expected behavior
Following the steps above, I would expect the page to render without errors and for the page to be re-rendered ~5s after the last render when continuously reloading in a browser
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 20.9.0 npm: 10.1.0 Yarn: 1.22.22 pnpm: 8.15.5 Relevant Packages: next: 15.0.0-canary.149 // Latest available version is detected (15.0.0-canary.149). eslint-config-next: 15.0.0-canary.149 react: 19.0.0-rc-7771d3a7-20240827 react-dom: 19.0.0-rc-7771d3a7-20240827 typescript: 5.5.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next start (local)
Additional context
I tested my repro against different canary versions and the first one that introduced the bug was
next@15.0.0-canary.135
The text was updated successfully, but these errors were encountered: