ElasticSearch PHP client v2.0 keeps throwing "No alive nodes found in your cluster" -


the elasticsearch runs fine on centos non-service. run "sh bin/elasticsearch". client installed using composer php v2.0. won't used before. used before , search, index documents, make index. right cannot because of error. strangest thing elasticsearch seems running fine, , can call curl like:
curl localhost:9200
please advise on php api failure? tried:
1. opening port 9200 on centos 6 all
2. used every method book in php api: search, index, delete index, etc...always same result , exception thrown in elasticsearch/client class:
“no alive nodes found in cluster”
3. changed owner of directory nodes centos, apache, elasticsearch - no use.

resolved installing fresh latest tarball elasticsearch server , running straight this: sh bin/elasticsearch.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -