Using discovery type and seed hosts providers – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7-8.9

Briefly, this error occurs when Elasticsearch is trying to form a cluster using the discovery module. It’s not an error, but an informational message indicating that Elasticsearch is using a specific discovery type and seed hosts for cluster formation. If you’re seeing issues with nodes not joining the cluster, check your configuration for the discovery type and seed hosts. Ensure that the seed hosts are reachable and that firewalls or network configurations are not blocking communication. Also, verify that the discovery type is appropriate for your environment.

This guide will help you check for common problems that cause the log ” using discovery type [{}] and seed hosts providers {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: hosts, discovery.

Log Context

Log “using discovery type [{}] and seed hosts providers {}” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        } else {
            throw new IllegalArgumentException("Unknown discovery type [" + discoveryType + "]");
        }"using discovery type [{}] and seed hosts providers {}"; discoveryType; seedProviderNames);

    // visible for testing
    static Reconfigurator getReconfigurator(
        Settings settings;


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?