-
Notifications
You must be signed in to change notification settings - Fork 335
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: warning always received about multiple bind addresses #1408
Comments
Same here. Multiple ips provided, but no one seems to be working. [EDIT] Starting it with 'npm create cloudflare@latest' made that work despite the errors, but not loading env vars to Astro.locals.runtime. |
Found a quick fix of the above for win10. Use wrangler with parameter: |
I still get the error, but its acting like there is only one address, so rebuilds work now. Thanks 👍 |
I suspect this is because This isn't a big deal in practice because everything trying to connect to "localhost" will almost certainly use the first address first, which is the one workerd bound to, so things will just work fine. That said, it turns out I actually fixed this on the Unix side a while ago: capnproto/capnproto@f812158 But I didn't update async-io-win32.c++. If someone makes the same change to async-io-win32.c++ as was made to async-io-unix.c++ in that commit, it should allow workerd to bind to both IPs at once. |
This should be fixed in the next release. |
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.8.0
What version of Node are you using?
18.17.1
What operating system are you using?
Windows 10
Describe the Bug
Every time that you start
![](https://camo.githubusercontent.com/2550a30b562b6aa35a11163cac85302b80e3123c4da48f0c7decfc961b8b3e86/68747470733a2f2f75702e6a726f73732e6d652f6c367a6b6e6c6a75)
wrangler dev
, you get a large red error like so (fromworkerd
it would seem):It's possible that this only occurs in Windows, or when a machine has multiple network adapters. Hitting
b
still works fine, and opening uphttp://127.0.0.1:8787/
is fine too, so perhaps the error should just be hidden?Reproduction steps
cd
into worker dir and runnpm start
The text was updated successfully, but these errors were encountered: