Opened connection to making cluster coordination info request – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.4-8.4

Briefly, this error occurs when Elasticsearch is trying to establish a connection to gather cluster coordination information. This is not necessarily an error, but more of an informational message indicating that a connection has been opened for this purpose. If you’re seeing this message frequently or in large volumes, it could indicate network instability or issues with your cluster nodes. To resolve this, ensure your network is stable, check the health of your cluster nodes, and adjust your logging level if these messages are overwhelming your logs.

This guide will help you check for common problems that cause the log ” Opened connection to {}; making cluster coordination info request ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: request, cluster.

Log Context

Log “Opened connection to {}; making cluster coordination info request” classname is CoordinationDiagnosticsService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

    ) {
        StepListener connectionListener = new StepListener();
        StepListener fetchClusterInfoListener = new StepListener();
        long startTime = System.nanoTime();
        connectionListener.whenComplete(releasable -> {
            logger.trace("Opened connection to {}; making cluster coordination info request"; node);
            // If we don't get a response in 10 seconds that is a failure worth capturing on its own:
            final TimeValue transportTimeout = TimeValue.timeValueSeconds(10);
            transportService.sendRequest(
                node;
                ClusterFormationInfoAction.NAME;

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?