Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

anyone else run into problems with

anyone else run into problems with queues today? we hit a bunch of "Queue send failed: Service Temporarily Unavailable" around 2025-01-14T19:51:06.333Z

yes, and through the dashboard - the

yes, and through the dashboard - the config seems correct, it's similar to a prod dlq queue in that same account which works fine - it's just that queue 8c720189e5c54eefa03f53eefb7162f1 that gives messages cannot be pulled unless http_pull mode is enabled. I even tried previewing and deleting the 3 messages in there, didn't help

I currently have a queue setup where the

I currently have a queue setup where the consumer worker initiates a CSV download from an API, continues to poll the API until the CSV is available, downloads the CSV, and then stores it in R2. Right now only 2 messages are getting sent to the queue at a time (via a cron job at the top of every hour), but only the first one ever gets processed (it's processed to completion). Could this be a CPU limit issue? I don't see any error logs. These are my current .toml settings:...

guys i got over an hour of consumer

guys i got over an hour of consumer delay, is this normal?
No description

optimally, you'd be able to specific a

optimally, you'd be able to specific a key when writing a message.

is the best way to segregate HTTP access

is the best way to segregate HTTP access for queues to manage secrets within a worker? eg: client calls a normal worker rest endpoint and passes the secret, then the worker does a switch statement to correctly forward the message to a queue while checking the secret against that queue name using a map?...

Is there something wrong with Queues?

Is there something wrong with Queues? Most of my messages are failing to deliver for what they normally works.

Hey, I have a app which uses browser

Hey, I have a app which uses browser rendering and queues in the same worker. So far I used wrangler dev --remote to develop the browser part, I wanted to add the queue but ran into the issue, that queues are not supported in remote dev. What is a possible solution here?

and this is what I mean by the dashboard

and this is what I mean by the dashboard crashing. This happens after clicking on the queue. I see the queue metrics page start to load, then it switches to this less than a second later
No description

Local Development · Cloudflare Queues

Hey, is there any timeline when you plan to support running separate producer and consumer Workers bound to the same Queue locally? Usually you use queues to decouple your application therefore it is quite uncomfortable to not have the same level of local development on queues then on other Cloudflare components. And yes I'm already aware that I can trick this by "wiring" the consumer handler into the worker into the handler of the producer worker using the queue handler function out of the othe...

I thought queues was not working

I thought queues was not working reliably because I was seeing some unprocessed rows in my database from time to time. Actually, I had a try/catch on my consumer worker so I was swallowing the errors myself haha. Turns out I was the unreliable one and queues works great 😂...

Hi, is there a way to find how many

Hi, is there a way to find how many outstanding items/messages are present in a queue? Especially, to use with pull-workers.

I can basically confirm it is *some*

I can basically confirm it is some issue with browser rendering + queues. The only thing I changed was moving the browser rendering logic to a DO and calling that instead of it just being a function in my consumer. The rest of the logic is the same, and I have not had the issue since making that change

hi, i trying to set the cpu ms limit for

hi, i trying to set the cpu ms limit for the worker that run as consumer of a queueu, based on the documentation, it suppose can set a max limit of 15 minutes of cpu run limit, but when i try to set via wrangler or even using the dashboard, both i got is max 30,000 ms only

i suspect this has something to do with

i suspect this has something to do with some request not being completed for some reason, which I was having issues with in the past. Is there a way to tell what it is waiting for?

What does "average backlog" mean? How to

What does "average backlog" mean? How to see the current backlog? I have a queue that can't stop increasing the average backlog no matter what I do, and I'm concerned. It's at concurrency 1 for some reason.
No description

It looks like your consumer Worker is

It looks like your consumer Worker is running into CPU time limits (documented here)

Queues

Multiple queues?

my main app is a pages project, and i

my main app is a pages project, and i have a separate worker for consuming the queue, on the qworker, i have a fetch which accepts the same payload as the queue send. if the origin worker is the same as the consumer worker, the queue works as expected locally, i only send to the fetch if my env is local, otherwise my pages app sends directly to the queue
Next