Domanda

hi whenever i run reindex command in my console it keeps giving me following error : pleaae give me suggestion how can i resolve it ,

Elasticsearch\Common\Exceptions\NoNodesAvailableException: No alive nodes found in your cluster in C:\xampp\htdocs\chase\vendor\elasticsearch\elasticsearch\src\Elasticsearch\ConnectionPool\StaticNoPingConnectionPool.php:51

enter image description here

È stato utile?

Soluzione

If you are using Magento and getting 'No alive nodes found in your cluster' error while reindexing.

Make sure you have updated following :

  1. Your Host and port : '[host]:[port]'. Eg: 'es-node1.fqdn:9200, es-node2.fqdn:9200' or 'localhost:9200' in System -> Configuration -> Elastic Configuration.
  2. Update your indices alias name and indices name pattern in admin configuration same as above.

Try this, and clear cache and reindex. It will solve your issue.

enter image description here

Altri suggerimenti

If you are using Magento and getting 'No alive nodes found in your cluster' error while reindexing

Please make sure you have install Elastic Search into your system.

if you are using ubantu then please run following command

sudo apt-get install elasticsearch

Then Goto Admin -> Store -> configuration -> catalog -> catalog

then configure as follow

enter image description here

I have found the perfect solution for this issue.

Edit config/elasticsearch.yml
Please, change the network.host: 0.0.0.0
After changing the config pls restart the apps
Don't forget to uncomment network host

Enjoy!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top