I have bizarre problem after installing ES 5.6.2 on AWS EC2 instance for the first time.
Request: http://34.207.177.92:9200/_cluster
Response: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [_cluster]"}],"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [_cluster]"},"status":400}
When I'm calling ES from EC2 instance itself I'm getting valid JSON data
I'm using standard ECS AMI and role.
Another observation:
I can get valid result for http://ip:9200/index_name/_count
{"count":1,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0}}
But http://ip:9200/index_name/_search?q=whatever failes because ES doesn't return anything at all
Browser says The connection to the website was reset.
Error Code: INET_E_DOWNLOAD_FAILURE
I can successfully curl both requests from any ES node though
So it's only affecting access from outside of the cluster
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.