-
Notifications
You must be signed in to change notification settings - Fork 101
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 #35
Comments
Any movement on this? |
I'm seeing the same issue, any updates? |
Also have this problem. fake_sqs doesn't return this at all:
And when getting the item, the attributes seem to be missing |
Has this project has been abandoned? |
@algorist No, patches are welcome if this is still an issue. |
When is this going to be fixed? This is a critical bug. I cannot use fake-sqs to send events in my development whatsoever. The issue is open from November 2015 but still no changes. People have to look for alternatives. |
Simply when someone decides to take time to fix it. I'm using fake_sqs without hitting this bug. A first good step would be to post code/versions here to re-produce the issue. |
In Java development, it is not possible to not hit this bug. There is no code sample because it is happening behind the scenes when sending an event is prompted to happen typically in the one line of code. By default, and it can not be changed in Java AWS SQS SDK, before sending a message, SQS verifies the checksum. Fake-sqs returns null instead of valid checksum so the exception is thrown preventing to follow a standard SQS workflow. |
I'm in Python land, but I guess this might happen with newer versions of Again, if you want me to help you, I would appreciate a SDK version and a code snippet (even if just one line). This way I don't have to spend time, guessing versions, when I also have to setup a Java environment. |
Does not complain in latest boto3. Fake:
Real:
|
I am getting the same issue with aws-java-sdk-sqs |
FYI: I don't use this library, but I have been struggling with a similar error when using a java client. (I found this by googling my error message). It seems that the java client does two checksums. One for the body and one for the attributes. As I have seen this problem in multiple "SQS Testing Implementations", i'm guessing the java client is doing more work than others? Anyway, calculating the MD5 on the attributes as well as the body seems to be the trick to making the java APIs happy. |
I'm trying to use a java application with fake_sqs but am getting this:
I see that one of the ruby examples uses "apiVersion: '2012-11-05'" - perhaps this is required for all clients?
The text was updated successfully, but these errors were encountered: