Registered two transport handlers for action handlers – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 2.3-2.3

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

Briefly, this error occurs when two different plugins or modules in Elasticsearch are trying to register the same transport action. This can happen due to a misconfiguration or a conflict between plugins. To resolve this issue, you can try the following: 1) Check your plugins and ensure they are compatible with your Elasticsearch version. 2) If you have custom plugins, ensure they are not trying to register the same transport action. 3) Uninstall and reinstall your plugins one by one to identify the conflicting ones. 4) Update your Elasticsearch version if it’s outdated.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” registered two transport handlers for action {}; handlers: {}; {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: recovery.

Log Context

Log “registered two transport handlers for action {}; handlers: {}; {}” classname is TransportService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

     protected  void registerRequestHandler(RequestHandlerRegistry reg) {
        synchronized (requestHandlerMutex) {
            RequestHandlerRegistry replaced = requestHandlers.get(reg.getAction());
            requestHandlers = MapBuilder.newMapBuilder(requestHandlers).put(reg.getAction(); reg).immutableMap();
            if (replaced != null) {
                logger.warn("registered two transport handlers for action {}; handlers: {}; {}"; reg.getAction(); reg; replaced);
            }
        }
    }

    public void removeHandler(String action) {




 

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?