recursiveecho
recursiveecho
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
@kewbish turns out our queue handler wasn't await-ed 🫠 thanks again for all of the help
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Hey @kewbish looks like that works, but I did it with a barebones queue set up. Going to replicate our staging env and slowing begin adding/removing things until it doesn't work. Thanks again for all of the help and suggesstions - once I find out what it is, I'll be sure to let you guys know
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Oh gotcha, yeah can definitely try that
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
I can! Not sure what you mean exactly in terms of fetching to a webhook site, sorry
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Yeah, that's what it is lol
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
My consumer/producer are named correctly though...hm
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
So interesting note - I'm running wrangler tail right now and I'm getting API logs - logs about what endpoints are being hit (since the producer/consumer are on a Hono instance) . Guess I'm not tail-ing the correct thing?
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Unless I have to explicitly log it out
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
@kewbish side question - if I am using wrangler tail to watch the logs from my queue, would I see any data that it consumes? I'm getting Unknown Event - Ok, but no message body after it
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
@kewbish apologies for the late response - I can definitely take a look into it and see what I find
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
That makes sense - guess I'm just confused as to how I would have different results with the same logic between environments, but this helps!
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Probably - and that would cause my consumer to never be called? What's weird is that this only seems to be happening on staging/prod builds. Works perfectly on localhost
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Figured that if I see updates on my end, then it's working (lol)
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
Just using wrangler tail to see if the logs are happening
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
The queue itself seems to still be working, in the sense that it's processing and removing items, but that logic is never ran
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
@skye_31 gotcha - outside of that, I have logs directly inside my consumer function that I defined that I'm not getting to
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
I haven't tried different Binding names yet for each environment that I have
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
@skye_31 thanks for jumping in - this was started a few days ago. The last I left off with @kewbish, I had found that I'm getting Unknown Event when I run wrangler tail <worker-name>
24 replies
CDCloudflare Developers
Created by recursiveecho on 8/3/2023 in #queues
Consumer not receiving messages
@kewbish figured we can separate this out to a thread to not clog the main channel
24 replies