• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Elasticsearch error: all shards failed

Nirjonadda

Well-known member
#1
I am getting server error log about Elasticsearch error: all shards failed.

Code:
XFES\Elasticsearch\RequestException: Elasticsearch error: all shards failed src/addons/XFES/Elasticsearch/Api.php:375

Generated by: Unknown account Dec 2, 2017 at 5:20 AM

Stack trace

#0 src/addons/XFES/Elasticsearch/Api.php(312): XFES\Elasticsearch\Api->request('get', 'nadda_forumdata...', '{\n    "sort": [...')
#1 src/addons/XFES/Elasticsearch/Api.php(216): XFES\Elasticsearch\Api->requestFromIndex('get', '_search', Array)
#2 src/addons/XFES/Search/Source/Elasticsearch.php(149): XFES\Elasticsearch\Api->search(Array)
#3 src/XF/Search/Search.php(164): XFES\Search\Source\Elasticsearch->search(Object(XF\Search\Query\Query), '200')
#4 src/XF/Pub/Controller/Member.php(527): XF\Search\Search->search(Object(XF\Search\Query\Query))
#5 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Member->actionRecentContent(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'RecentContent', 'html', Object(XF\Mvc\ParameterBag), 'members', Object(DBTech\Credits\XF\Pub\Controller\Member), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(39) "/members/leebourne.16793/recent-content"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}