Skip to content

🐛 BUG: Failed to register worker in local service registry TypeError: fetch failed #6955

@ajay0180

Description

@ajay0180

I can run the worker no problem from the browser at localhost:8787, but not the tests.### Which Cloudflare product(s) does this pertain to?

Workers Runtime

What version(s) of the tool(s) are you using?

3.80.4

What version of Node are you using?

20.14.0

What operating system and version are you using?

MacOS sonoma

Describe the Bug

Observed behavior

Please describe.

Expected behavior

Please describe.

Steps to reproduce

Please provide the following:

  • A minimal working subset of your worker code
  • A minimal working subset of your wrangler.toml
  • Commands used to start your local dev server, including custom env and cli args
  • Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time)

A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

I can run the worker no problem from the browser at localhost:8787, but not the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions