Skip to content
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

MD5 returned by SQS does not match the calculation on the original request (ruby aws-sdk-core >= 2.3) #40

Closed
isacaraujo opened this issue May 10, 2016 · 3 comments

Comments

@isacaraujo
Copy link

Hi srs,

I've worked in a project with the ruby gem Shoryuken, and I got a problem:

It always worked well until I update the gem by bundle update shoryuken, updating the aws-sdk-core too.
Since that, I got the error:

Aws::Errors::ChecksumError:
       MD5 returned by SQS does not match the calculation on the original request. (MD5 calculated by the message atributes: 'ff41d67aace8f6c385e8a5071b828b5c', MD5 checksum returned: '')

The error occurs just version >= 2.3 of aws-sdk. I had no problems with versions up to that.

Looking the backtrace, I found this validation:
https://github.com/aws/aws-sdk-ruby/blob/v2.3.2/aws-sdk-core/lib/aws-sdk-core/plugins/sqs_md5s.rb#L75

@isacaraujo
Copy link
Author

Sorry, the same problem of ticket #35

@algorist
Copy link

algorist commented Feb 1, 2017

For anyone else looking into this problem, the fix for me (aws-sdk-core 2.7.3) was:

Aws.config[ :verify_checksums ] = false

@tiwilliam
Copy link
Contributor

Duplicate of #35.

@tiwilliam tiwilliam marked this as a duplicate of #35 Jul 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants