We currently have a simple cluster of 3 ES nodes, pretty much installed on
each machine out of the box.
I have some PHP code that pulls documents out of mongodb and using curl
'PUTS' them back into ES, this all works perfectly.
The issue comes about when the same code runs from a remote server outside
of the network, I can communicate with ES and run queries from that
machine, but when I come to either add a new document or remove a document
it fails to do so, but doesn't give me an error message or anything to
suggest it has failed.
Are you running elasticsearch behind a firewall/load-balancer? They might
be configured to filter out POST/PUT/DELETE HTTP requests. Are your queries
GET requests? Try changing them to POST to test out the theory.
We currently have a simple cluster of 3 ES nodes, pretty much installed on
each machine out of the box.
I have some PHP code that pulls documents out of mongodb and using curl
'PUTS' them back into ES, this all works perfectly.
The issue comes about when the same code runs from a remote server outside
of the network, I can communicate with ES and run queries from that
machine, but when I come to either add a new document or remove a document
it fails to do so, but doesn't give me an error message or anything to
suggest it has failed.
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.