Elasticsearch Error Exception

Hi,
These are the version of ElasticSearch & Logstash we are using:

  • Elasticsearch 2.3.1
  • Logstash 2.3.4

We got the following error in our application:

Message: script_exception: failed to compile groovy script 
File: C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Connections\Connection.php
Line: 665

Error Stack trace is:

#0 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Connections\Connection.php(644): Elasticsearch\Connections\Connection->tryDeserializeError(Array, 'Elasticsearch\C...') #1 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Connections\Connection.php(607): Elasticsearch\Connections\Connection->tryDeserialize500Error(Array) #2 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Connections\Connection.php(265): Elasticsearch\Connections\Connection->process5xxError(Array, Array, Array) #3 C:\Nginx1103\html\app_name\vendor\react\promise\src\FulfilledPromise.php(25): Elasticsearch\Connections\Connection->Elasticsearch\Connections{closure}(Array) #4 C:\Nginx1103\html\app_name\vendor\guzzlehttp\ringphp\src\Future\CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) #5 C:\Nginx1103\html\app_name\vendor\guzzlehttp\ringphp\src\Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) #6 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Connections\Connection.php(283): GuzzleHttp\Ring\Core::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure)) #7 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Connections\Connection.php(159): Elasticsearch\Connections\Connection->Elasticsearch\Connections{closure}(Array, Object(Elasticsearch\Connections\Connection), Object(Elasticsearch\Transport), Array) #8 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Transport.php(106): Elasticsearch\Connections\Connection->performRequest('GET', '/companyindex/c...', Array, Object(stdClass), Array, Object(Elasticsearch\Transport)) #9 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Endpoints\AbstractEndpoint.php(80): Elasticsearch\Transport->performRequest('GET', '/companyindex/c...', Array, Object(stdClass), Array) #10 C:\Nginx1103\html\app_name\vendor\elasticsearch\elasticsearch\src\Elasticsearch\Client.php(1091): Elasticsearch\Endpoints\AbstractEndpoint->performRequest() #11 [internal function]: Elasticsearch\Client->search(Object(stdClass)) #12 C:\Nginx1103\html\app_name\vendor\cviebrock\laravel-elasticsearch\src\Manager.php(133): call_user_func_array(Array, Array) #13 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(217): Cviebrock\LaravelElasticsearch\Manager->__call('search', Array) #14 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(217): Cviebrock\LaravelElasticsearch\Manager->search(Object(stdClass)) #15 C:\Nginx1103\html\app_name\app\Http\Controllers\Company\CompanyController.php(275): Illuminate\Support\Facades\Facade::__callStatic('search', Array) #16 C:\Nginx1103\html\app_name\app\Http\Controllers\Company\CompanyController.php(275): Cviebrock\LaravelElasticsearch\Facade::search(Object(stdClass)) #17 C:\Nginx1103\html\app_name\app\Http\Controllers\Company\CompanyController.php(348): App\Http\Controllers\Company\CompanyController->searchrecordelasticquery('refresh') #18 [internal function]: App\Http\Controllers\Company\CompanyController->searchcompany() #19 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(80): call_user_func_array(Array, Array) #20 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(146): Illuminate\Routing\Controller->callAction('searchcompany', Array) #21 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(94): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\Company\CompanyController), Object(Illuminate\Routing\Route), 'searchcompany') #22 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing{closure}(Object(Illuminate\Http\Request)) #23 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #24 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request)) #25 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #26 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(96): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #27 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(54): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\Company\CompanyController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'searchcompany') #28 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\Route.php(174): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\Http\Contro...', 'searchcompany') #29 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\Route.php(140): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request)) #30 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\Router.php(727): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) #31 [internal function]: Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request)) #32 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) #33 C:\Nginx1103\html\app_name\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request)) #34 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #35

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.