title: Snapshot of elasticsearch using Curator failing
body: <p>I am trying to take a snapshot of ES Index having name of the type <code>reincarnation.2015.07.21</code>and store it in Amazon S3 with the below <a href="https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html" rel="nofollow">curator</a> command:-</p>
  
  <pre><code>curator --host locahost --port 9200  snapshot --repository walle_elk_archive indices --older-than 10 --time-unit days --timestring %Y.%m.%d --prefix reincarnation
  </code></pre>
  
  <p>But I am getting the below error:-</p>
  
  <pre><code>2015-09-03 17:18:14,938 INFO      Job starting: snapshot indices
  2015-09-03 17:18:14,938 WARNING   Overriding default connection timeout.  New timeout: 21600
  ERROR: Connection failure.
  </code></pre>
  
  <p>I have added the aws keys in elasticsearch.yaml as shown below. Restarted elasticsearch after that.</p>
  
  <pre><code>################################## AWS Cloud  ################################
  cloud.aws.access_key: &lt;SomeMixofNumbersandLetters&gt;
  cloud.aws.secret_key: &lt;CanOnlyBeObtainedUponCreationOfAccessKeyDon'tLose&gt;
  </code></pre>
  
  <p>AWS Plugin has also been added to ES node and restarted the node after that.</p>
  
  <p>I have created the repo using the below command and it was successful</p>
  
  <pre><code>$ curl -XPUT '&lt;hostname&gt;:9200/_snapshot/walle_elk_archive' -d '
  {
    "type": "s3",
    "settings": {
       "bucket": "my_bucket_name",
       "region": "your_aws_region",
       "access_key": "your_access_key", 
       "secret_key": "your_secret_key" 
    }
  }'
  </code></pre>
  
  <p>Can some one let me know </p>
  
  <ol>
  <li>What I am doing wrong ? </li>
  <li><p>What this Connection Failure mean? Is it curator failing to connect to elasticsearch or elasticsearch failing to connect to S3? I could not find anything in elasticsearch logs.</p>
  
  <ul>
  <li>Curator Version 3.3.0 </li>
  <li>ES Version 1.5.1</li>
  </ul></li>
  </ol>