Closed crisidev closed 3 months ago
I believe this was a bug in our implementation of S3 Express. A fix should be released this week. The issue comes because S3Express inadvertently come before Sigv4 in the signing implementation.
To fix it, use .endpoint_url
instead of .endpoint_resolver
. That will ensure that the underlying auth scheme is respected. When you fully replace the endpoint_resolver, you're also removing the chosen authentication scheme.
Thanks Russell!! I'll give it a shot and report back. Nice to be back bothering you 😛
I confirm using .endpoint_url
fixes the issue. Thanks a lot.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
@crisidev 👋 The fix was released today. While we should use .endpoint_url
, the fix ensures that it should not hang even if you use .endpoint_resolver
.
Describe the bug
We upgraded aws-s3-sdk from
1.15.0
to1.20.0
and discovered it silently hangs before even being able to try to connect to specified endpoint.NOTE: we are running against a self hosted minio S3 and thought this was an issue with our infrastructure setup, but tcpdump shows no connection attempts
Reverting to
1.15.0
solves the problem for us.Expected Behavior
The expected behaviour would be for the program to finish and to see an attempt to connect to
localhost:9000
with tcpdump.Since the endpoint is "fake", no real download operation is expected.
Current Behavior
The program hangs at
start download
(see Reproduction Steps) and an attempt to connect should be printed by tcpdump:Reproduction Steps
We managed to reproduce the issue by using this simple main.rs. Please note you don't need a running endpoint on
https://127.0.0.1:9000
to reproduce this.with this Cargo.toml
This code just hangs at "start download":
Possible Solution
No response
Additional Information/Context
No response
Version
Environment details (OS name and version, etc.)
Macos and Linux
Logs
No response