-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Post Ruby and Rails upgrade: Shoryuken worker polling shows no messages even when messages are present in SQS queue #766
Comments
@avinash8200 I have ran into the same issue. I haven't figured out the root cause but I have determined that bumping the Downgrading to |
@davidrichey I've tried the above, I'm still facing the same, shoryuken is not processing the messages. |
@avinash8200 could you post your shoryuken versions as well as the aws gem versions you are using? FWIW, I debugged my situation from utilizing the SQS UI to view that a message was sent and added pry's in the queue to confirm I wasn't receiving any messages. |
@davidrichey Yeah, I have verified in SQS dashboard and polled from aws cli to check if messages are present in SQS queue and they are present. I have enabled verbose while starting shoryuken and from logs i can see that shoryuken is not receiving it. |
Not sure this will help but here is what we are running:
|
Let me once try that, thanks for the help and time, David. Update: Tried above, still the issue persists. |
I ran into the same problem and found that one of the causes is that it is not getting the list of available queues. Shoryuken::Client.sqs.list_queues This should return the list of queues, but the answer is: #<struct Aws::SQS::Types::ListQueuesResult queue_urls=[], next_token=nil> At the moment I am using a version lower than (3.191.6) in aws-sdk-core where this still works fine. |
Hi Team,
Post upgrading my Ruby from 3.0.4 to 3.3.0 and Rails from 7.0.8 to 7.1.3.2, Shoryuken gem version is same 6.0.0, SQS Workers are not processing any messages in the queue, even when messages are present in the queue.
Upon checking the shoryuken verbose mode, I can see it's triggerring dispatch about , seems like it couldn't find any messages in the queue:
I've checked an other post which suggests to use long polling, I've tried that as well, but it didn't work.
This is my shoryuken.rb file
I've tried with AWS CLI that my worker is able to connect to SQS and send and receive messages and when i downgrade the versions, it is working.
Can you please help me point in the direction where i should debug more?
The text was updated successfully, but these errors were encountered: