S3 repository not respecting endpoint param
See original GitHub issueCrateDB version: 3.0.5
Environment description:
Centos 7.latest Openjdk 1.8.0_181
Problem description: When setting up a repository, specifying the endpoint is not being used and the default is only taken into account
Steps to reproduce:
CREATE REPOSITORY mybackup TYPE s3 WITH (bucket='my-backup', endpoint='https://some-endpoint/', protocol='https')
Relevant log message on master:
failed to create repository [s3][mybackup]
com.amazonaws.SdkClientException: Unable to execute HTTP request: mybackup.s3.amazonaws.com
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1114) ~[aws-java-sdk-core-1.11.223.jar:?]
As you can see, it’s still trying to use s3.amazonaws.com
instead of https://some-endpoint/
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
S3 repository | Elasticsearch Guide [master] | Elastic
In-progress snapshot/restore tasks will not be preempted by a reload of the client's secure settings. The task will complete using the client as...
Read more >Best practices for using Amazon S3 endpoints with AWS ...
Navigate to the templates folder of the repository: cd s3-endpoints-and-cfn/templates . · Open the master.template. · Review the conditions and ...
Read more >AWS S3: The bucket you are attempting to access must be ...
However, I am getting the following error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send...
Read more >SDK client exception, when configuring S3 Repository in AWS
When trying to create Repository in S3, the following error appears - ... /_snapshot/my_s3_repository, params: {repository=my_s3_repository}
Read more >Amazon S3 - Fluent Bit: Official Manual
The Amazon S3 output plugin allows you to ingest your records into the S3 cloud ... This option does not affect the normal...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bputt We’ve fixed it by https://github.com/crate/crate/pull/7635, it will be released with the next 3.0 and 3.1 hotfix releases. Thanks a lot for reporting.
Hi @bputt - I have reviewed the issue and since I am able to reproduce it as well, this shall be escalated! I will feedback you any update we have on this here!
Thanks for understanding.