You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrangler won't respect the no_proxy environment variable.
My proxy could not handle the requests send by wrangler dev. When I try to close the dev server (pressing x in the terminal), a Failed to unregister worker error pop out. See the logs for more details.
I've configured my no_proxy to localhost,127.0.0.1, but wrangler still sends the request through proxy. I'm not sure if this is intended or a bug.
Please provide any relevant error logs
⎔ Starting local server...
[wrangler:inf] GET / 200 OK (7ms)
⎔ Shutting down local server...
✘ [ERROR] Failed to unregister worker TypeError: fetch failed
at fetch
(/nix/store/f02ksxjgilbzz91jq83kd72k6ni5v4sc-wrangler-3.80.1/lib/packages/wrangler/wrangler-dist/cli.js:17227:19)
at async unregisterWorker
(/nix/store/f02ksxjgilbzz91jq83kd72k6ni5v4sc-wrangler-3.80.1/lib/packages/wrangler/wrangler-dist/cli.js:173185:5)
at async Promise.allSettled (index 0)
at async
/nix/store/f02ksxjgilbzz91jq83kd72k6ni5v4sc-wrangler-3.80.1/lib/packages/wrangler/wrangler-dist/cli.js:173271:54
at async Object.devHandler [as handler]
(/nix/store/f02ksxjgilbzz91jq83kd72k6ni5v4sc-wrangler-3.80.1/lib/packages/wrangler/wrangler-dist/cli.js:214205:9)
{
cause: SocketError: other side closed
at Socket.onSocketEnd
(/nix/store/f02ksxjgilbzz91jq83kd72k6ni5v4sc-wrangler-3.80.1/lib/packages/wrangler/wrangler-dist/cli.js:7457:27)
at Socket.emit (node:events:530:35)
at Socket.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'UND_ERR_SOCKET',
socket: {
localAddress: '127.0.0.1',
localPort: 54842,
remoteAddress: '127.0.0.1',
remotePort: 7897,
remoteFamily: 'IPv4',
timeout: undefined,
bytesWritten: 24432,
bytesRead: 625888
}
}
}
The text was updated successfully, but these errors were encountered:
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions are you using?
3.80.1
What operating system and version are you using?
NixOS 24.11
Please provide a link to a minimal reproduction
No response
Describe the Bug
Wrangler won't respect the
no_proxy
environment variable.My proxy could not handle the requests send by
wrangler dev
. When I try to close the dev server (pressingx
in the terminal), aFailed to unregister worker
error pop out. See the logs for more details.I've configured my
no_proxy
tolocalhost,127.0.0.1
, but wrangler still sends the request through proxy. I'm not sure if this is intended or a bug.Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: