-
Notifications
You must be signed in to change notification settings - Fork 907
Add support for forcePathStyle to S3CrtAsyncClientBuilder #3817
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
Comments
@almogtavor thank you for reaching out, this is in our backlog. Changing to a feature request, because it's a feature that is missing. |
@debora-ito Thanks. Very appreciated. Can I track the backlog somewhere? I haven't seen this task on the GitHub Projects tab |
We don't have a public backlog unfortunately. |
@debora-ito Thanks. Isn't there a workaround for now, until the implementation be ready? We cannot use the crt client at all right now... |
@zoewangg Any progress here? I really need this |
@akolacca can you tell us more about your use case and why do you need forcePathStyle? Are you also using Ceph? |
@debora-ito yes. and I cannot at all while using the crt client. Its not like a feature request, the whole crt client is not usable to me. For me to use the crt client I have to wait for this feature. No workarounds. Right now I implement the range fetching and the multipart upload myself and I got bugs, so I would really love to see this one gets implemented |
@debora-ito So this is by far the most important feature I ever needed and that I will ever need from this SDK |
@debora-ito @zoewangg I think this is pretty related to the PR of #3824. Do you think it will be hard to implement or will this probably can get released at the next couple of weeks? |
It's also important for us to use the SDK for local development as we're using Minio for both local development and integration test with testcontainers. |
@debora-ito when will this get supported approximately? We really wait for this... |
@zoewangg @debora-ito Sorry for all of the interruptions, but we cannot really progress at using the |
Hi @akolacca, apologies for the delayed response. While we can't share a date, we have prioritized this task and are planning to work on this soon, in the next couple of weeks, if not earlier. Thank you for your patience. As a workaround, can you try with the standard Java s3 client that has forcePathStyle support? |
@akolacca Hi. I'm already using it, but I need to implement the fetch ranges logic and the multipart upload myself (pretty complicated. hard error handling and edge cases) because the |
Same here. pathStyleAccess needs to be implemented. Otherwise we can not test anything against our s3 test container. Beside that, the TransferManager wants us to use the crtBuilder, as it otherwise lacks important features, like the automatic multipart handling, which saves us a lot of code:
|
@okrische Couldn't agree more. @debora-ito @zoewangg @davidh44 what do you think? I would really love to see this happen |
This is the PR to support this: #3880 |
Hey @zoewangg It is released as of 2.20.42 according to the changelog, right? |
Yes, correct, please try with the latest version ( Closing the issue, feel free to open a new issue if you have further questions. |
|
I pulled the new jar 2.20.42 on Monday April 10 and the .forcePathStyle(true) now exists and it works. I can read, but I can't write with the S3TransferManager which uses the crt.Builder as the client even though it writes fine just using the client. The trace log says access denied, but the client itself has no problems, while would the s3transferManager have problems |
@zoewangg Thank you!! |
Describe the bug
As said in #3813, I also agree that the
S3CrtAsyncClientBuilder
is missing a lot of functions available forS3AsyncClientBuilder
. But for me, the case causes a pretty large bug, since I cannot connect to the implementation of the S3 I use (Ceph), while I could do that with theS3AsyncClientBuilder
usingforcePathStyle
.Expected Behavior
I'd expect the AWS CRT SDK to be able to connect to the S3 implementation I use as usual, but in practice, it fails to do so and I get the error of:
software.amazon.awssdk.core.exception.SdkClientException: software.amazon.awssdk.crt.s3.CrtS3RuntimeException: Host name was invalid for dns resolution
. Enabling theforcePathStyle
option would probably make this work.Current Behavior
I cannot migrate to the CRT implementation even though I really want to since I need the multipart uploading logic and I don't want to implement this all by myself just because I'm not able to connect to S3 using the crt client.
Reproduction Steps
Cannot be provided since this error getting thrown only when I connect to the S3 implementation of Ceph.
Possible Solution
Adding the
forcePathStyle
Additional Information/Context
No response
AWS Java SDK version used
2.20.17
JDK version used
17.0.2
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: