Getting "master not discovered exception" even when Master Node is present

Getting the exception, master_not_discovered_exception when running http://localhost:9200/_cat/indices?v in the browser.
I verified that the master node is present by running http://localhost:9200/_nodes and I got the output as "roles":[
"master",
"data",
"ingest"
]

And there's only one node.

1 Like