Using AWS-Java-SDK-S3, return to Inform Error 501 Not Implemented when uploading files
Describe the bug
Upload files to the CEPH object store using AWS-java-SDK-S3, Using AWS-Java-SDK-S3, return to Inform Error 501 Not Implemented when uploading files
Expected Behavior
I hope I can upload the file successfully
Current Behavior
An error is as follows:

Reproduction Steps
s3 client The following code:

AWS-Java-SDK-S3 version:

The code to upload the file is as follows:

Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
1.11.1030
JDK version used
1.8.0_341
Operating System and version
4.19.90-25.16
Hello @fantastic2085 ,
Thank you very much for your message. An error 501 means that a header that you provided implies functionality that is not implemented. Unfortunately, we do not offer support/troubleshooting for error which arise due to the use of third party. If the SDK flags an exception caused by your use of CEPH we do not cover third party compatibility issues.
It seems that CEPH offers documentation on example syntax for S3 with Java SDK . It might be useful to compare your approach if it matches your use case.
Best, Yasmine
documentation on example syntax for S3 with Java SDK , This CEPH website has been seen, you also see the implementation code, basically and CEPH website is the same. It is possible to use s3cmd and Python, but not Java @yasminetalby
Hello @fantastic2085 ,
Thank you very much for your answer. The issue you are encountering is not SDK or service related as the type of request you are attempting successfully complete with AWS endpoints. CEPH being a third-party service, we recommend you to reach out to the CEPH support team for any guidance or troubleshooting.
Best,
Yasmine
COMMENT VISIBILITY WARNING
Comments on closed issues are hard for our team to see. If you need more assistance, please 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.
If CEPH is the problem, why is s3cmd OK? @yasminetalby
this s3cmd http header:

this java s3 http header:

I provide enough information, your answer makes me very helpless @yasminetalby
Hi @fantastic2085 I'm sorry you're feeling frustrated with this, but both s3cmd and CEPH are tools that are not maintained by AWS teams. We guarantee that the AWS SDK for Java clients will work when communicating directly with AWS endpoints, but we cannot guarantee it will work when the communication goes throw a third-party service.
The best thing you can do is to reach out to CEPH support team.