alexm
Active member
Hi,
I've moved a forum onto a new server that ran elasticsearch 8.12.1. It looks as though ElasticSearch has installed ok on the new server (elasticsearch 8.15.2) but it errors out on search:
[root@whm ~]# curl -X GET "localhost:9200/?pretty"
{
"name" : "whm",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "na",
"version" : {
"number" : "8.15.2",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "98adf7bf6bb69b66ab95b761c9e5aadb0bb059a3",
"build_date" : "2024-09-19T10:06:03.564235954Z",
"build_snapshot" : false,
"lucene_version" : "9.11.1",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
I've just compared it to other server which works fine, I notice:
New Broken Server seems very slow on ElasticSearch and it doesn't show a service:
Whereas another Server which works:
Help!
Alex
I've moved a forum onto a new server that ran elasticsearch 8.12.1. It looks as though ElasticSearch has installed ok on the new server (elasticsearch 8.15.2) but it errors out on search:
Code:
XFES\Elasticsearch\ConnectException: cURL error 28: Operation timed out after 20001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:9200/_cluster/settings?include_defaults=true in src/addons/XFES/Elasticsearch/Api.php at line 447
XFES\Elasticsearch\Api->request() in src/addons/XFES/Elasticsearch/Api.php at line 400
XFES\Elasticsearch\Api->requestFromRoot() in src/addons/XFES/Elasticsearch/Api.php at line 370
XFES\Elasticsearch\Api->getClusterSettings() in src/addons/XFES/Search/Source/Elasticsearch.php at line 1074
XFES\Search\Source\Elasticsearch->getMaxClauseCount() in src/addons/XFES/Search/Source/Elasticsearch.php at line 1060
XFES\Search\Source\Elasticsearch->getMaxKeywords() in src/XF/Search/Source/AbstractSource.php at line 255
XF\Search\Source\AbstractSource->parseKeywords() in src/XF/Search/Search.php at line 215
XF\Search\Search->getParsedKeywords() in src/XF/Search/Query/KeywordQuery.php at line 31
XF\Search\Query\KeywordQuery->withKeywords() in src/XF/Pub/Controller/SearchController.php at line 487
XF\Pub\Controller\SearchController->prepareSearchQuery() in src/XF/Pub/Controller/SearchController.php at line 169
XF\Pub\Controller\SearchController->actionSearch() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
[root@whm ~]# curl -X GET "localhost:9200/?pretty"
{
"name" : "whm",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "na",
"version" : {
"number" : "8.15.2",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "98adf7bf6bb69b66ab95b761c9e5aadb0bb059a3",
"build_date" : "2024-09-19T10:06:03.564235954Z",
"build_snapshot" : false,
"lucene_version" : "9.11.1",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
I've just compared it to other server which works fine, I notice:
New Broken Server seems very slow on ElasticSearch and it doesn't show a service:
Whereas another Server which works:
Help!
Alex
Last edited: