Cannot refresh alerts from nodes other than currently elected master – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.11-8.9

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 an Elasticsearch node tries to refresh alerts from a node that is not the currently elected master. This is typically due to a misconfiguration in the cluster settings. To resolve this issue, you can ensure that all nodes are correctly configured to communicate with the master node. Additionally, check the health of the master node and ensure it’s functioning properly. If the problem persists, consider re-electing a new master node.

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 ” Cannot refresh alerts from nodes other than currently elected master. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, master, refresh.

Log Context

Log “Cannot refresh alerts from nodes other than currently elected master.” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 // no errors reported; no tasks to run; nothing currently installing.
 listener.accept(ExporterResourceStatus.ready(name(); TYPE));
 } else {
 throw new ElasticsearchException("Cannot refresh alerts from nodes other than currently elected master.");
 }  @Override
 public void openBulk(final ActionListener listener) {


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?