I installed latest ES version too "1.2.1", still getting same error
{
   "error": "RemoteTransportException[[node 
2][inet[/10.211.154.24:9300]][cluster/repository/put]]; nested: 
RepositoryException[[es_repository] failed to create repository]; nested: 
CreationException[Guice creation errors:\n\n1) Error injecting constructor, 
com.amazonaws.AmazonClientException: Unable to load AWS credentials from 
any provider in the chain\n  at 
org.elasticsearch.repositories.s3.S3Repository.<init>()\n  at 
org.elasticsearch.repositories.s3.S3Repository\n  at 
Key[type=org.elasticsearch.repositories.Repository, annotation=[none]]\n\n1 
error]; nested: AmazonClientException[Unable to load AWS credentials from 
any provider in the chain]; ",
   "status": 500
}

Any ideas? I would appreciate some feedback on how to figure out this 
problem because I would like to backup our index to S3.

On Wednesday, July 2, 2014 3:36:58 PM UTC-4, sabdalla80 wrote:
>
> Unfortunately, I tried with and without the region setting, no difference.
>
> On Tuesday, July 1, 2014 7:43:21 PM UTC-4, Glen Smith wrote:
>>
>> I'm not sure it matters, but I noticed you aren't setting a region in 
>> either your config or when registering your repo.
>>
>> On Tuesday, July 1, 2014 7:08:28 PM UTC-4, sabdalla80 wrote:
>>>
>>> I am not sure the version is the problem, I guess I can upgrade from 
>>> V1.1 to latest. 
>>> "Not able to load credential from supply chain", Any idea this error is 
>>> generated, Is there any other place that my credentials need to be besides 
>>> .yml file?
>>> Note, I am able to write/read to S3 remotely, so I don't have any 
>>> priviliges problems that I can think of.
>>>
>>> On Tuesday, July 1, 2014 4:44:17 PM UTC-4, David Pilato wrote:
>>>>
>>>> I think 2.1.1 should work fine as well.
>>>>
>>>> That said, you should upgrade to latest 1.1 (or 1.2)...
>>>>
>>>> --
>>>> David ;-)
>>>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>>>
>>>>
>>>> Le 1 juil. 2014 à 22:13, Glen Smith <[email protected]> a écrit :
>>>>
>>>> According to
>>>> https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.1
>>>> you should use v2.1.0 of the plugin with ES 1.1.0.
>>>>
>>>> On Tuesday, July 1, 2014 9:03:04 AM UTC-4, sabdalla80 wrote:
>>>>>
>>>>> I am having a problem setting up backup and restore part of AWS on S3. 
>>>>> I have 2.1.1 AWS plugin & ElasticSearch V1.1.0
>>>>>
>>>>> My yml:
>>>>>
>>>>> cloud:
>>>>>     aws:
>>>>>         access_key: #########
>>>>>         secret_key: #####################
>>>>>    discovery:
>>>>>         type: ec2
>>>>>
>>>>> When I try to register a repository:
>>>>>
>>>>> PUT /_snapshot/es_repository{
>>>>>
>>>>> "type": "s3",
>>>>>
>>>>> "settings": {
>>>>>
>>>>>   "bucket": "esbucket"
>>>>>
>>>>> }}
>>>>>
>>>>>
>>>>> I get this error, it complains about loading my credentials! Is this 
>>>>> ElasticSearch problem or AWS?
>>>>>
>>>>> Note I am running as root user "ubuntu" on Ec2 and also running AWS 
>>>>> with root privileges as opposed to IAM role, not sure if it's a problem 
>>>>> or 
>>>>> not.
>>>>>    "error": "RepositoryException[[es_repository] failed to create 
>>>>> repository]; nested: CreationException[Guice creation errors:\n\n1) Error 
>>>>> injecting constructor, com.amazonaws.AmazonClientException: Unable to 
>>>>> load 
>>>>> AWS credentials from any provider in the chain\n  at 
>>>>> org.elasticsearch.repositories.s3.S3Repository.<init>(Unknown Source)\n 
>>>>>  while locating org.elasticsearch.repositories.s3.S3Repository\n  while 
>>>>> locating org.elasticsearch.repositories.Repository\n\n1 error]; nested: 
>>>>> AmazonClientException[Unable to load AWS credentials from any provider in 
>>>>> the chain]; ",
>>>>>    "status": 500
>>>>> }ode here...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "elasticsearch" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/elasticsearch/e7db355a-7710-4408-80de-60960fd16d1d%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/elasticsearch/e7db355a-7710-4408-80de-60960fd16d1d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/acc97d08-94c8-4459-b80d-2a32d229e109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to