Failed to send back failure on join request – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-7.17

Briefly, this error occurs when a node in the Elasticsearch cluster fails to send a failure response to a join request. This could be due to network issues, high load on the node, or a problem with the cluster state. To resolve this issue, you can try the following: 1) Check the network connectivity between the nodes. 2) Monitor the load on the node and adjust as necessary. 3) Check the cluster state and fix any inconsistencies. 4) Restart the node or the entire cluster if necessary.

This guide will help you check for common problems that cause the log ” failed to send back failure on join request ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: join, request, discovery.

Log Context

Log “failed to send back failure on join request” classname is MembershipAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                public void onFailure(Exception e) {
                    try {
                        channel.sendResponse(e);
                    } catch (Exception inner) {
                        inner.addSuppressed(e);
                        logger.warn("failed to send back failure on join request"; inner);
                    }
                }
            });
        }
    }

 

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?