-
Hi, when I updated to the latest gems my application could no longer retrieve files from our Ceph Rados Gateway. It seems it was trying to use sigv4 even though I had specified the signature_version as 's3'. This worked OK up to 1.116.0. I was able to get it to work by patching the Aws::S3::Plugins::Endpoints::Handler class with this line:
This doesn't seem quite right, as 'v4' is passed if I don't specify a signature_version parameter. Basically the signature version doesn't seem to get passed through. Has something changed in the way a custom endpoint should be configured that I have missed? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Thanks for opening up a discussion. We've recently changed endpoint calculation to be model driven per request invocation. These modeled rules do not include sigv2, however, I did test and verify the sigv2 case when explicitly provided. What aws-sdk-core version are you using? When using the latest aws-sdk-core and aws-sdk-s3, I can seemingly make a request against a custom endpoint using sigv2:
|
Beta Was this translation helpful? Give feedback.
-
Thanks. This was using aws-sdk-core 3.168.2. With 1.116.0 the request looks like:
Which works. But with 1.117.2 using the same parameters I get
This results in an access denied.
The authSchemes seem to be set to sigv4 in the endpoint passed through. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
https://tracker.ceph.com/issues/57094