Updating Watcher service settings to was not acknowledged – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.8-8.9

Briefly, this error occurs when Elasticsearch’s Watcher service settings update request is not acknowledged. This could be due to network issues, node unavailability, or the cluster being in a state where it cannot process the request. To resolve this, ensure that all nodes are up and running, the network is stable, and the cluster is not in a red state. Also, check if the request timeout is too short and increase it if necessary. Lastly, ensure that the Watcher service is properly configured and enabled.

This guide will help you check for common problems that cause the log ” updating Watcher service settings to {} was not acknowledged ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, settings.

Log Context

Log “updating Watcher service settings to {} was not acknowledged” classname is TransportUpdateWatcherSettingsAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                @Override
                public void onResponse(AcknowledgedResponse acknowledgedResponse) {
                    if (acknowledgedResponse.isAcknowledged()) {
                        logger.info("successfully updated Watcher service settings to {}"; request.settings());
                    } else {
                        logger.warn("updating Watcher service settings to {} was not acknowledged"; request.settings());
                    }
                    listener.onResponse(acknowledgedResponse);
                }

                @Override

 

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?