What versions & operating system are you using?
macOS 15.5, Wrangler 4.16.0, Bun 1.2.13
Please provide a link to a minimal reproduction
No response
Describe the Bug
Suddenly, after re-installing my node_modules, my Wrangler dev server is crashing randomly when accepting incoming requests of certain nature.
When I initially start the dev server, I can connect at localhost:8787 and get a response for a 404 route.
however, when I try to use a real route, the wrangler dev server crashes, with no error logs, nothing in console to show that it has crashed. the connection to the local dev server simply refuses.
This is the error I'm getting during the request which causes the crash (from a fetch() call from another service running from Bun, not related to wrangler):
Unable to connect. Is the computer able to access the url?
path: "http://localhost:8787/token",
errno: 0,
code: "ConnectionRefused"
As I said, there are no errors or logs whatsoever in the Wrangler Dev server. It just is dead, but unaware it is dead? Like it has somehow unbound from the port?
(Yes, I checked, it is running on localhost:8787, but after that connection refusal it no longer accepts connections at all?)
I'm still debugging, but this is weird, and seems like something on Wrangler's end.
If any more information is needed or would be helpful, let me know. I've tried re-installing everything multiple times. Often my wrangler dev server just becomes unresponsive in my shell entirely.
Could this be compatibility with new macOS? I don't know.
I'll add more information as I find it, any suggestions appreciated as this is blocking me.
Please provide any relevant error logs
No response
What versions & operating system are you using?
macOS 15.5, Wrangler 4.16.0, Bun 1.2.13
Please provide a link to a minimal reproduction
No response
Describe the Bug
Suddenly, after re-installing my node_modules, my Wrangler dev server is crashing randomly when accepting incoming requests of certain nature.
When I initially start the dev server, I can connect at localhost:8787 and get a response for a 404 route.
however, when I try to use a real route, the wrangler dev server crashes, with no error logs, nothing in console to show that it has crashed. the connection to the local dev server simply refuses.
This is the error I'm getting during the request which causes the crash (from a fetch() call from another service running from Bun, not related to wrangler):
As I said, there are no errors or logs whatsoever in the Wrangler Dev server. It just is dead, but unaware it is dead? Like it has somehow unbound from the port?
(Yes, I checked, it is running on localhost:8787, but after that connection refusal it no longer accepts connections at all?)
I'm still debugging, but this is weird, and seems like something on Wrangler's end.
If any more information is needed or would be helpful, let me know. I've tried re-installing everything multiple times. Often my wrangler dev server just becomes unresponsive in my shell entirely.
Could this be compatibility with new macOS? I don't know.
I'll add more information as I find it, any suggestions appreciated as this is blocking me.
Please provide any relevant error logs
No response