403 Error using Turso in local development when running wrangler dev with `--remote` flag
You only get this error when running wrangler dev with --remote flag.
Here's a repo that demonstrates this:
https://github.com/zestsystem/cloudflare-worker-turso/tree/main
GitHub
GitHub - zestsystem/cloudflare-worker-turso: testing turso on cloud...
testing turso on cloudflare worker hono. Contribute to zestsystem/cloudflare-worker-turso development by creating an account on GitHub.
2 Replies
My guess is the fact you are using an IP address. Workers can’t make requests to IP addresses.
@cyb3rjak3 I see so is --remote flag is just not recommended for local development? I use the flag to verify my R2 working and see the file show up on the dashboard. Does wrangler dev without --remote flag persist files being uploaded?