Snapshot with s3 not working

I am trying to set up a SNAPSHOT BACKUP through S3 on my development Elastisearch (on Centos 7.0) for which i fail to create S3 repo on the VM

I have S3 been set up as a mountpoint as below and i can access the S3 from ELK VM itself

s3fs 256T 0 256T 0% /mnt/s3elk

I am using below curl comamnd to set up the repository

curl -XPUT -u XXXX:XXX 'http://localhost:9200/_snapshot/elkbackup' -d '{
"type": "s3",
"settings": {
"max_retries": 3

which gives me below error eventhough i had made sure i am using correct access/secret key and there is no connectivity issue for to S3

{"error":{"root_cause":[{"type":"repository_exception","reason":"[elkbackup] failed to create repository"}],"type":"repository_exception","reason":"[elkbackup] failed to create repository","caused_by":{"type":"sdk_client_exception","reason":"Unable to load credentials from service endpoint","caused_by":{"type":"socket_timeout_exception","reason":"connect timed out"}}},"status":500}

1 Like

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