Skip to content
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] Request to DO gives 'TypeError: Fetch API cannot load' #371

Open
1 task done
buchgr opened this issue Aug 10, 2023 · 0 comments
Open
1 task done

[BUG] Request to DO gives 'TypeError: Fetch API cannot load' #371

buchgr opened this issue Aug 10, 2023 · 0 comments

Comments

@buchgr
Copy link

buchgr commented Aug 10, 2023

Is there an existing issue for this?

  • I have searched the existing issues

What version of workers-rs are you using?

0.0.18

What version of wrangler are you using?

3.5.0

Describe the bug

I created the simplest possible worker that fetches from a durable object and every request from worker to durable object fails with:

Error: TypeError: Fetch API cannot load: /get_cached - Cause: TypeError: Fetch API cannot load: /get_cached

I verified that he durable object is available and that the error happens at fetch_with_str. I also put the durable object into a separate module. I have billing for durable objects enabled. Here's the reproducer: https://github.com/buchgr/workers-repro

Steps To Reproduce

$ git clone https://github.com/buchgr/workers-repro.git
$ npx wrangler dev

[b] open a browser

Error: TypeError: Fetch API cannot load: /get_cached - Cause: TypeError: Fetch API cannot load: /get_cached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant