Connection failure

Created on 1 August 2022, over 2 years ago
Updated 27 March 2024, 10 months ago

Problem/Motivation

If you misconfigure the server, you can't get back to the settings screen to fix it.

The website encountered an unexpected error. Please try again later.

OpenSearch\Common\Exceptions\NoNodesAvailableException: No alive nodes found in your cluster in OpenSearch\ConnectionPool\StaticNoPingConnectionPool->nextConnection() (line 67 of /data/vendor/opensearch-project/opensearch-php/src/OpenSearch/ConnectionPool/StaticNoPingConnectionPool.php).
OpenSearch\Transport->getConnection() (Line: 102)
OpenSearch\Transport->performRequest() (Line: 292)
OpenSearch\Connections\Connection->OpenSearch\Connections\{closure}() (Line: 28)
React\Promise\FulfilledPromise->then() (Line: 55)
GuzzleHttp\Ring\Future\CompletedFutureValue->then() (Line: 341)
GuzzleHttp\Ring\Core::proxy() (Line: 340)
OpenSearch\Connections\Connection->OpenSearch\Connections\{closure}() (Line: 238)
OpenSearch\Connections\Connection->performRequest() (Line: 113)
OpenSearch\Transport->performRequest() (Line: 46)
OpenSearch\Namespaces\BooleanRequestWrapper::performRequest() (Line: 869)
OpenSearch\Client->ping() (Line: 105)
Drupal\search_api_opensearch\SearchAPI\BackendClient->isAvailable() (Line: 381)
Drupal\search_api_opensearch\Plugin\search_api\backend\OpenSearchBackend->isAvailable() (Line: 198)
Drupal\search_api\Entity\Server->isAvailable() (Line: 206)
Drupal\search_api\IndexListBuilder->buildRow() (Line: 238)
Drupal\search_api\IndexListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 49)
Asm89\Stack\Cors->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)
πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia nterbogt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

    @bkildow what is the exact error you get in the logs?

  • Hi ,

    I am using drupal/search_api_opensearch 1.0 beta version.

    In my local mongodb is up and running in http://localhost:27017 and it does not require any authentication.

    When I configure the same URL ( http://localhost:27017) in admin/config/search/search-api

    I am getting below Error in db log.

    OpenSearch\Common\Exceptions\NoNodesAvailableException: No alive nodes found in your cluster in OpenSearch\ConnectionPool\StaticNoPingConnectionPool->nextConnection()

    How to to do resolve it.?

  • Status changed to Closed: cannot reproduce 10 months ago
  • πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

    No response to #8 for over a year so closing.

    #9 @karthikeyan gandhimathinathan you might try the mongodb module. This module is for opensearch.

Production build 0.71.5 2024