-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Uncaught Error: Wrong parameters for Elasticsearch #1509
Comments
Hello @deckside, OK, on one hand, there seems to be indeed a problem in the On the other hand, have you checked your ElasticSearch server logs ( Best regards, |
Hi The Elasticsuite versions as listed in the module manager are ElasticSearch version The log file is attached |
Hello @deckside, Actually, I was referring to the composer PHP packages version which you can obtain from the root of your Magento 2 project with
(or by looking into your composer.lock for lines
and
) Thanks for the log file. Regards, |
Versions are "name": "elasticsearch/elasticsearch", "name": "smile/elasticsuite", |
@deckside I'm seeing a lot of "Out of memory" errors in your Elasticsearch log... How is your clusted sized ? Also, what is the size of your catalog (number of storeviews and products) ? |
This issue was waiting update from the author for too long. |
Summary of problem or feature request
After restart elasticserach service is not indexing.
Code snippet of problem
ubuntu@ip-172-31-11-28:/var/www/magento/bin$ sudo php magento indexer:reindex catalogsearch_fulltext
PHP Fatal error: Uncaught Error: Wrong parameters for Elasticsearch\Common\Exceptions\ServerErrorResponseException([string $message [, long $code [, Throwable $previous = NULL]]]) in /var/www/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:666
Stack trace:
#0 /var/www/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(666): Exception->__construct(NULL, 503)
#1 /var/www/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(282): Elasticsearch\Connections\Connection->process5xxError(Array, Array, Array)
#2 /var/www/magento/vendor/react/promise/src/FulfilledPromise.php(25): Elasticsearch\Connections\Connection->Elasticsearch\Connections{closure}(Array)
#3 /var/www/magento/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#4 /var/www/magento/vendor/guzzlehttp/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Obj in /var/www/magento/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php on line 666
ubuntu@ip-172-31-11-28:/var/www/magento/bin$
System details
{
"name" : "8a9Dhi6",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "t8ox8lfkSaO5z3KGhFhiLg",
"version" : {
"number" : "5.6.12",
"build_hash" : "cfe3d9f",
"build_date" : "2018-09-10T20:12:43.732Z",
"build_snapshot" : false,
"lucene_version" : "6.6.1"
},
"tagline" : "You Know, for Search"
Operating System
Magento 2.2.6 CE
PHP Version PHP 7.1.20-1+ubuntu16.04.1+deb.sury.org+1
MSQL Version -mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper
The text was updated successfully, but these errors were encountered: