cloudflare / cloudflare/workerd
🐛 Bug Report — failed: connect(): Cannot assign requested address; address = [::1]:44563
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
This bug is preventing me from being able to send multiple requests to a wrangler dev instance. The first one goes through fine, but any further requests are blocked by this error.
Along with this bug, the workerd process will be stuck using all of the CPU avalible.

Heres some logs in case these are useful:
```
workerd/jsg/util.c++:274: error: e = kj/async-io-unix.c++:1510: failed: connect(): Cannot assign
requested address; address = [::1]:44563
stack:
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d9f673
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d9c6f5
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d9cf60
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d9d750
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@21e5345
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d90b00
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d925e0
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@34b764c
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@34b7aa4
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d794a0
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@4d854c0
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@21c1230
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@21cbea0
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@2a35390
/home/codespace/.npm/_npx/dbdf2178844b3cf0/node_modules/@cloudflare/workerd-linux-64/bin/workerd@29380d0;
sentryErrorContext = jsgInternalError
```
Contributor guide
Assessment
This issue has not been assessed yet.