Paulo,
Did you ever figure out your error? I just encountered the exact same
problem and was hoping you had found a solution
Thanks,
Pete
On Friday, April 25, 2014 6:14:38 PM UTC-4, Paulo Correa wrote:
>
> I`ve set up ES v.1.1.1 + AWS-cloud-plugin 2.1.1 on an EC2 instance, using
> a Role to give access to my S3 bucket. Everything seems fine, I can put,
> list and get objects from inside the instance (tested with node.js code),
> but when I try to create an ES snapshot I get the following error message:
>
>
> *$ curl -XPUT
> "localhost:9200/_snapshot/my_snapshot_repo/snapshot1?wait_for_completion=true"*
> {"error":"SnapshotCreationException[[my_snapshot_repo:snapshot1] failed to
> create snapshot]; nested: IOException[Failed to get [snapshot-snapshot1]];
> nested: AmazonClientException[Unable to unmarshall error response (The
> declaration for the entity \"ContentType\" must end with '>'.). Response
> Code: 417, Response Text: Expectation Failed]; nested:
> SAXParseException[The declaration for the entity \"ContentType\" must end
> with '>'.]; ","status":500}
>
> *Full error stack here*: https://gist.github.com/anonymous/11304863
>
>
> *I`ve set up my snapshot repository with:*
>
> $ curl -XPUT 'http://localhost:9200/_snapshot/my_snapshot_repo' -d '{
> "type": "s3", "settings": { "bucket": "mybucket","region": "sa-east"}}'
>
>
> My *elasticsearch.yml* aws config is as follows:
>
> ...
> cluster.name: montadores
> cloud.aws.region: sa-east-1
> discovery:
> type: ec2
>
> discovery.ec2.tag.elasticsearch_cluster: mobile_montadores
> cloud.node.auto_attributes: true
> ...
>
>
> *Discovery seems OK*, as I only have 1 instance running:
>
> ...
>
> [2014-04-25 21:16:53,265][INFO ][cluster.service ] [Cap 'N Hawk]
> new_master [Cap 'N
> Hawk][M013xeCxQSu8QbZzdNucVA][ip-10-152-89-168][inet[/10.152.89.168:9300]]{aws_availability_zone=sa-east-1a},
>
> reason: zen-disco-join (elected_as_master)
>
> ...
>
> [2014-04-25 21:16:56,005][INFO ][node ] [Cap 'N Hawk]
> started
>
>
>
> The only similar thing I found to this error was an old closed issue:
> https://github.com/elasticsearch/elasticsearch/issues/1137
>
>
> Can anybody shed some light if I`m doing something wrong?
>
>
--
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/f86f89fc-6517-4e1b-ae6b-bce9e93d24e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.