i have a custom s3 server that is not aws and although I write configs in elasticsearch.yml and store keys in elasticsearch keystore still not be able to connect to my s3 bucket
Have you gone through this section in the documentation?
Which version of Elasticsearch are you using? What is the backing technology for your S3 server? What is the error you are getting? What does the configuration look like?
If you answer these questions and provide more detail maybe there is someone around with experience from the same technology that can help you.
yes check it and make all configuration according to s3 configs and my elasticsearch is 8.15
and get error like this
{
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[my_backup] path is not accessible on master node"
}
],
"type": "repository_verification_exception",
"reason": "[my_backup] path is not accessible on master node",
"caused_by": {
"type": "i_o_exception",
"reason": "Unable to upload object [tests-f0L3sYVYTZGmNblB5sa-gQ/master.dat] using a single upload",
"caused_by": {
"type": "sdk_client_exception",
"reason": "Failed to connect to service endpoint: ",
"caused_by": {
"type": "socket_timeout_exception",
"reason": "Connect timed out"
}
}
}
},
"status": 500
}
This seems to be a connection issue.
Please share the configuration you are using.
Also, you need to provide more context about the backing technology of your s3 server.
i could solve it by panel
in this address
..../app/management/data/snapshot_restore/edit_repository/s3
with my client config name is minio but still not in dev tool
........./app/dev_tools
i figure it out in dev-tool i should add
PUT /_snapshot/my_s3_backup
{
"type": "s3",
"settings": {
"client": "minio",
"bucket": "test"
}
}
"client": "minio",
to code part