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

The error I'm seeing is a failed get

The error I'm seeing is a failed get with a 504 error on the bottom

The Queues tab says I need the paid plan

The Queues tab says I need the paid plan in order to use it, but I am already on the paid plan. Clicking create queue just redirects me the the main queue page. Any one come across this issue before and how do I fix it?
No description

I am running in to the same issues as @

I am running in to the same issues as @tom.owen had here My consumer does a lot of work - spinning up @cloudflare/puppeteer to screenshot html, calling external apis that are sensitive to rate limiting, at etc. The primary purpose of the queue is to give me a central place to avoid rate limiting without rolling complex state management. So far I'm close to a week in in trying to get my messages to stop instantly dumping in to the dead letter queue after only a handful get processed every hour. It's clear to me from logs that those that are sent to the DLQ are not sent to the primary consumer at all....

Hi, Team

Hi, Team We're facing an interesting problem with Cloudflare Queues. We're getting up to 22 minutes of wait time until the queue decides to send the message to a consumer 💀 Each job could take more time ~5 minutes, and the scaling algorithm of queues waits for the batch to finish to decide if it should scale more consumers based on the backlog and growth rate. ...
No description

Although <https://developers.cloudflare.

Although https://developers.cloudflare.com/queues/configuration/javascript-apis/#messagesendrequest says that you can pass anything supported by the structuredClone algorithm, when I try to send a nodejs Buffer, it doesn't seem to work identical to structuredClone producer (worker a): ```js await env.QUEUE.send({...

Any known issue with queues on wranger

Any known issue with queues on wranger locally and react router apps? Can create a repro just wanted to check if it's something obvious first. ✘ [ERROR] Uncaught Error: Handler does not export a queue() function Got this in my workers/app.ts ``` export default {...

Yes. I just added logging and its

Yes. I just added logging and its
saving to queue time is 294ms
saving to queue time is 294ms
...

Does anyone else have any ideas about my

Does anyone else have any ideas about my issue here? I would be so greatful if there is any other insight into what might be causing this

sendBatch - Message cannot be undefined

Hey all, I'm having a major issue with the sendBatch API. It's consistently throwing an error Message body cannot be undefined . But I log out the array and there are no undefined objects in the array 🧵

Execute multiple queues locally

@harshil1712 Yes but I have more than one producer. I have use it and it's working but I have two producer. for test purpose I have created one API in both workers to send message in queue but the thing is at a time only one path is getting call another is throwing error of 404 and is depend on the sequence of producer i use in the comman to run workers it is like below in producer-one there is api with endpoint http://host:port/producer-one-test in producer-two there is api with endpoint http://host:port/producer-two-test ...

Unable to save dead letter queue

Unable to save dead letter queue
No description

hello everyone I have a doubt related to

hello everyone I have a doubt related to the Cloudflare queues, so currently we host a platform where we automate multiple applications by receiving Webhooks on our platform. Our domain is hosted via Cloudflare. Recently we have been facing downtime due to server maintenance. So I had thought of a approach that before going into downtime, we will enable a worker that would have a queue connected to it and in the worker we would have setup our route e.g. https://{{domian_name}}/* as soon as we enable this our system of the worker is up and captures webhooks and stores them into a queue. The issue that I am facing is while processing the queues for around 300 webhooks the API is taking about 75 seconds to process those webhooks and send them to the respective destination. I have tried them in sync with but still the time is approximately same. ...

One message is not going to hold up the

One message is not going to hold up the entire queue, you should continue onwards.

Hey team ! I'm trying to edit the

Hey team ! I'm trying to edit the concurrency on some of my queues, but the option doesn't exist anymore:
No description

Is the queues product actually

Is the queues product actually production-ready? I added around 200k records for processing, and it lagged for almost 20 hours — jobs barely got picked up and it was completely unreliable. It’s been days and those records still never processed, so I ended up purging the queue. Because of this, I’ve stopped using workers/queues altogether — my VPS handles the load way better. But if anyone from the queues/workers team wants to dig into this, let me know and I can share all the details....

Will you add these new metrics to the

Will you add these new metrics to the prometheus Cloudflare exporter?

I’m not sure I understand exactly, but

I’m not sure I understand exactly, but can you call your function unconditionally from your queue() handler to do this?

Message queue, if workers are not used,

Message queue, if workers are not used, can only use HTTP polling to check if messages exist?

Feeling like alone on the problem here

Feeling like alone on the problem here 🙂 At the end I finally found that I can reproduce my problem locally with cloudflare only, so I guess I will switch to another queue system, except if someone can help me, I lost my message after a weird delay, I can't see why with current API or UI on cloudflare
Next