Briefly, this error occurs when Elasticsearch stops the transport action due to issues like network problems, node failures, or heavy load on the cluster. To resolve this, you can check the network connectivity between nodes, ensure all nodes are functioning properly, and monitor the cluster’s load. If the load is high, consider adding more nodes to the cluster or optimizing your queries to reduce the load. Also, check the Elasticsearch logs for more detailed error information.
This guide will help you check for common problems that cause the log ” transport stopped; action: ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: .
Log Context
Log “transport stopped; action:” class name is TransportService.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
e); } @Override public void doRun() { // cf. ExceptionsHelper#isTransportStoppedForAction TransportException ex = new TransportException("transport stopped; action: " + holderToNotify.action()); holderToNotify.handler().handleException(ex); } }); } }