Skip to content
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

Problem with Elasticsearch #72

Closed
blackrogan opened this issue Oct 8, 2024 · 0 comments
Closed

Problem with Elasticsearch #72

blackrogan opened this issue Oct 8, 2024 · 0 comments

Comments

@blackrogan
Copy link

hello I am facing an issue with connector for Elastic still getting error in API


Fatal error: Uncaught Error: Class "Elasticsearch\ClientBuilder" not found in /var/www/MISP/app/Lib/Tools/ElasticSearchClient.php:30 Stack trace: #0 /var/www/MISP/app/Model/Log.php(1234): ElasticSearchClient->initTool() #1 /var/www/MISP/app/Model/Log.php(396): Log->getElasticSearchTool() #2 /var/www/MISP/app/Model/Log.php(166): Log->logData() #3 /var/www/MISP/app/Lib/Tools/BetterCakeEventManager.php(21): Log->beforeSave() #4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1874): BetterCakeEventManager->dispatch() #5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1761): Model->_doSave() #6 /var/www/MISP/app/Model/Log.php(269): Model->save() #7 /var/www/MISP/app/Controller/AppController.php(488): Log->createLogEntry() #8 /var/www/MISP/app/Controller/AppController.php(257): AppController->__loginByAuthKey() #9 /var/www/MISP/app/Lib/Tools/BetterCakeEventManager.php(23): AppController->beforeFilter() #10 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(687): BetterCakeEventManager->dispatch() #11 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ExceptionRenderer.php(158): Controller->startupProcess() #12 /var/www/MISP/app/Error/AppExceptionRenderer.php(8): ExceptionRenderer->_getController() #13 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(126): AppExceptionRenderer->__construct() #14 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(271): ErrorHandler::handleException() #15 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(214): ErrorHandler::handleFatalError() #16 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(970): ErrorHandler::handleError() #17 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(943): App::_checkFatalError() #18 [internal function]: App::shutdown() #19 {main} thrown in /var/www/MISP/app/Lib/Tools/ElasticSearchClient.php on line 30

do you know any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant