Question

Master not discovered in elasticsearch query

When I am trying to use this command curl -XGET --insecure http://localhost:9200/_cat/indices -u admin:admin, it gives me this error!

{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
Subscribe
Share

Hi there @bittu,

Could you possibly provide a bit more information about what your setup is? What service do you have running on http://localhost:9200/ etc.?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I am using EFK stack (Open distro elasticsearch , kibana, and fluentd)

my elasticsearch is running on 9200 port.