Failed to ping joining node %s on channel type %s – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.3-8.9

Briefly, this error occurs when an Elasticsearch node tries to join a cluster but fails to respond to the ping request. This could be due to network issues, firewall blocking, or incorrect configuration. To resolve this, ensure that the network connection between nodes is stable and reliable. Check firewall settings to ensure that they are not blocking communication. Also, verify the configuration settings of the Elasticsearch cluster and the joining node to ensure they are correct.

This guide will help you check for common problems that cause the log ” failed to ping joining node [%s] on channel type [%s] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: node, cluster, ping.

Log Context

Log “failed to ping joining node [%s] on channel type [%s]” classname is Coordinator.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            discoveryNode;
            JoinHelper.JOIN_PING_ACTION_NAME;
            TransportRequest.Empty.INSTANCE;
            TransportRequestOptions.of(null; channelType);
            new ActionListenerResponseHandler(listener.delegateResponse((l; e) -> {
                logger.warn(() -> format("failed to ping joining node [%s] on channel type [%s]"; discoveryNode; channelType); e);
                listener.onFailure(
                    new IllegalStateException(
                        String.format(
                            Locale.ROOT;
                            "failure when sending a join ping request from [%s] to [%s]";

 

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?