🐛 BUG: fetching bound registered workers in local mode fails with timeout
See original GitHub issueWhat version of Wrangler
are you using?
2.1.6
What operating system are you using?
M1 Pro macOS 12.6
Describe the Bug
When running wrangler pages dev
, after some delay (presumably the timeout mentioned in the error) this error is being output several times per second until the server is stopped.
▲ [WARNING] Failed to get worker definitions TypeError: fetch failed
at Object.processResponse
(/Users/andre/code/wrangler-bug/node_modules/wrangler/wrangler-dist/cli.js:8846:27)
at /Users/andre/code/wrangler-bug/node_modules/wrangler/wrangler-dist/cli.js:9178:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout
(/Users/andre/code/wrangler-bug/node_modules/wrangler/wrangler-dist/cli.js:2870:29)
at /Users/andre/code/wrangler-bug/node_modules/wrangler/wrangler-dist/cli.js:2828:51
at Immediate._onImmediate
(/Users/andre/code/wrangler-bug/node_modules/wrangler/wrangler-dist/cli.js:2859:13)
at process.processImmediate (node:internal/timers:471:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
steps to reproduce:
npx create-remix@latest
- name
- Just The Basics
- Cloudflare Pages
- Typescript
- Y
npm run dev
- wait 10-15 seconds.
Note: I do not have wrangler installed globally, and have tried running this same command after running npx wrangler login
and the error is still output.
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
FetchFailedException or MetadataFetchFailedException when ...
This error is almost guaranteed to be caused by memory issues on your executors. I can think of a couple of ways to...
Read more >Troubleshoot Dataflow errors - Google Cloud
This error occurs if a single operation causes the worker code to fail four times. Dataflow fails the job, and this message is...
Read more >Troubleshooting Connection Issues to Neo4j
Packets are dropped, and so the result is a connection timeout. ... A common reason why this error occurs is that your Neo4j...
Read more >Troubleshooting GitLab Runner
This probably occurs because when the runner is removed, the role bindings are removed. The runner pod continues until the job completes, and...
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
Bug :2 - "How do I attach an ebuild. ... Bug:146 - "imaging python lib ebuild error" status:RESOLVED resolution:FIXED severity:normal · Bug:147 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m encountering this error as well on
2.3.2
I fixed this on my machine by finding the port listening on 6284 (the dev registry server) and force quitting this. I’m on macos and performed the following steps:
This outputted the process name (“node”) and the PID. I then found this process in Activity Monitor and force quit it.
Restarting your machine would probably do a similar job.