-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix: generate correct AWS SIGv4 signature for compressed requests #1
Conversation
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
Hi @dblock, I tried replicating the issue and using the updated Apache interceptor here. I am still getting the same exception:
|
Hi @dblock, it still fails with the interceptor changes as well,
|
Looks like my changes aren’t working for me anymore either. Not sure why it was intermittently passing, I’ll keep looking. |
Signed-off-by: dblock <[email protected]>
Going to close this, leaving https://github.com/dblock/opensearch-java-client-demo in a state where the problem is reproduced. |
x-Amz-Decoded-Content-Length
to decompressed content.If you can confirm let's figure out what this code should really be. For starters, I think decompressing initially uncompressed content is probably not very efficient, need to find a way to get that content length directly.