-
Notifications
You must be signed in to change notification settings - Fork 331
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: wrangler dev --remote
fails with Error 1104, Script not found when using Queue bindings
#855
Comments
Trace: |
Still a problem in |
+1 in |
Hey! 👋 I tried to reproduce this and noticed |
Thanks for looking into it 🙏 Local definitely works, but doesn't have full-API parity with other offerings like Durable Objects, right? Totally fair if that's a compromise we need to make right now. If it's possible, it'd be great for Wrangler to simply ignore queue config locally for now and let the rest of the architecture run as is. |
Any update? |
It looks like this should work in local mode ( However, I'll transfer this issue to the |
Hey folks! This is a known issue with Queues and Wrangler and is something we're tracking a fix for on our end. For now, we recommend using the local dev wrangler env to test out Queues, as the remote dev environment does not function correctly. Will keep everyone in the loop as this is resolved. |
Hey, @CharlieBurnett what is the current status of that issue do you still work on it? |
Sorry @omarkhairy21 , there have been no changes in our (lack of) support for queues in |
wrangler dev
fails with Error 1104, Script not found when using Queue bindingswrangler dev --remote
fails with Error 1104, Script not found when using Queue bindings
Hey there! Spent hours troubleshooting HonoJS, messing with my setup, even pulled the classic move of deleting and redoing my workers project. Guess what? Turns out Cloudflare queues doesn't support wrangler dev --remote. Just sharing the laughs and lessons learned! But Seriously tho! I'm already sold on the entire ecosystem, of D1, R2, Workers AI and now Queues so simple and beautiful when it all works together! Any update or workaround on how to run Queues locally? Any advice is appreciated! |
Hey! 👋 D1, R2, Workers AI and Queues should be supported when running |
@mrbbot, many many thanks! I relied on --remote to avoid manually setting up everything locally, particularly with R2 and D1. I hadn't realized it became automatic in Wrangler 3! Now that I'm running everything locally, it's much cleaner this way. |
I think (based on the docs and some testing) that Workers AI isn't supported locally. So my challenge is there's no configuration that works with both queues and Workers AI. |
Suffering from the same @KrisBraun, only for me it's |
@AlexDicy @mrbbot @ChristianJacobsen it's easy, you can define two different environments, each with it's own e.g for dev where queues cannot work with --remote, you export everything but queues
// src/_dev.ts
export default {
fetch: router.fetch,
} to run dev on prod env you export all
// src/_prod.ts
export default {
fetch: router.fetch,
queue: browserQueue,
} to run prod |
What version of
Wrangler
are you using?2.6.2
What operating system are you using?
Windows
Describe the Bug
wrangler.toml
, in my case:wrangler dev
▲ [WARNING] worker failed to prewarm: Service Temporarily Unavailable
http://localhost:8787
WRANGLER_LOG=debug wrangler dev
does not output any debug info (apart from a .env error) in my caseThe text was updated successfully, but these errors were encountered: