Snapshot on S3, unable to change protocol from https to http

Hi I am getting below error while creating repository, the endpoint is http so probable reason looks like protocol i have tried changing with below command
./elasticsearch-keystore add s3.client.default.protocol

also, i have tried below as well

PUT _snapshot/xxl_s3_repo
{
"type": "s3",
"settings": {
"endpoint":"xxss-xxdev.xxxxx.com",
"protocol": "http",
"bucket": "bucket01"

}
}

but error remains the same

"error": {
"root_cause": [
{
"type": "sdk_client_exception",
"reason": "sdk_client_exception: Unable to execute HTTP request: Connect to bucket01.xxxxxx.xxxxxxxx.com/:443 [bucket01.xxxxxx.xxxxxxxx.com/xx.x.9x.x9] failed: Connection refused (Connection refused)"
}
],
"type": "repository_exception",
"reason": "[bl_s3_repo] failed to create repository",
"caused_by": {
"type": "sdk_client_exception",
"reason": "sdk_client_exception: Unable to execute HTTP request: Connect to bucket01.xxxxxx.xxxxxxxx.com/:443 [bucket01.xxxxxx.xxxxxxxx.com/xx.x.9x.x9] failed: Connection refused (Connection refused)",
"caused_by": {
"type": "i_o_exception",
"reason": "Connect to bucket01.xxxxxx.xxxxxxxx.com/:443 [bucket01.xxxxxx.xxxxxxxx.com/xx.x.9x.x9] failed: Connection refused (Connection refused)",
"caused_by": {
"type": "i_o_exception",
"reason": "Connection refused (Connection refused)"
}
}
}
},
"status": 500

have done to complete configuration again and it worked...

i followed below document ... and copying it for others reference.....

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.