Elastic Search Give an error No alive nodes found in your cluster

后端 未结 5 1113
南笙
南笙 2021-01-05 04:53

I am start working with elastic search.I successfully install elastic search on my server(Different from application server).But When I try to call Elatic search from my App

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-05 05:22

    I have found this error and solved it by following steps:

    1. Comments the plugin setting on app/etc/env.php file.

      'system' => [
      'default' => [
        /* 'smile_elasticsuite_core_base_settings' => [
       'es_client' => [
        'servers' => 'node-1:9200,node-2:9200',
        'enable_https_mode' => '0',
        'enable_http_auth' => '0',
        'http_auth_user' => '',
        'http_auth_pwd' => ''
         ]
        ] */
       ]
      ]
      
    2. Start the server.

    3. upgrade magento

      php bin/magento setup:upgrade 
      

提交回复
热议问题