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

Undici fetch hangs forever when concurrently fetching many requests, using node-fetch works #1721

Open
1 task done
remorses opened this issue Feb 6, 2025 · 0 comments
Open
1 task done

Comments

@remorses
Copy link

remorses commented Feb 6, 2025

Describe the bug

Using unframer a tool that fetches js modules and bundles them with esbuild, hangs forever in Stackblitz because fetch calls never finish

From my testing this is caused by fetch, if i switch to using node-fetch, the command ends succcessfully.

Link to the blitz that caused the error

https://stackblitz.com/edit/8rmjs6tg-o7esuv4p?file=package.json&showSidebar=0

Steps to reproduce

  1. install
  2. pnpm framer

Expected behavior

fetch finishes successfully

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 132.0.0.0
Major version = 132
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 105070955,
  "usedJSHeapSize": 100419475,
  "jsHeapSizeLimit": 4294705152
}
Hash = d20a0a75

Additional context

No response

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

No branches or pull requests

1 participant