-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
AWS SDK Core 3.192.0 broke older SQS gem ability to receive messages #3059
Comments
We were aware of this. Please roll forward to at least sqs 1.67.0 where json protocol is used. |
Are there any plans to address it in the core at some stage? This was deeply surprising behaviour that flew completely under the radar. |
I'm very sorry about this. There was an organizational effort to align all protocol behaviors across AWS SDKs and these changes were not intended to break SQS. SQS has switched from using aws query protocol to using the json 1.0 protocol in version My recommendation will be upgrading the sqs gem, since new features of awk-sdk-autoscaling will require the most recent aws-sdk-core. |
This would not be feasible to fix because it would require a service specific customization in core. Typically we would implement service customizations in the service gems themselves but in this case, the latest sqs is no longer query. I will bubble this issue up to the service frameworks team who provided these tests that SDKs follow, however, I think unfortunately this is just a miss from our side and the best mitigation is just to upgrade, as it should also be backwards compatible and easy to upgrade the sqs gem. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
We're running
aws-sdk-sqs
v1.40.0 andaws-sdk-autoscaling
v1.59.0 both via a loose~> 1
version in the Gemfile.We needed to update the awk-sdk-autoscaling gem to get new functionality, which bumped the version of
aws-sdk-core
to the current latest version (3.200.0). After this, every request to the SQS ReceiveMessage API returned no messages even though it took a message from the queue.Expected Behavior
I expected any one of the following to happen, in order of preference:
bundle update / install
to error with a version conflict caused by my older gems if this error can't be resolved.Current Behavior
It pulls the message, hiding it from the rest of the queue's consumers but does not make the message available for use.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
Here's the HTTP trace from the same request as the repro above, clearly showing there was a message in the response:
Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version
aws-sdk-core 3.192.0+, aws-sdk-sqs 1.40.0
Environment details (Version of Ruby, OS environment)
Ruby 3.2.2
The text was updated successfully, but these errors were encountered: