Irregular timeout exceptions on watchers


We've been seeing some of the watchers throwing "timeout" exception. Please note that we are not seeing this behavior consistently. It happened successively for past 2 days but didn't throw and exception today.

 "result": {
    "execution_time": "2021-12-16T09:00:00.234Z",
    "execution_duration": 60001,
    "input": {
      "type": "search",
      "status": "failure",
      "error": {
        "root_cause": [
            "type": "timeout_exception",
            "reason": "java.util.concurrent.TimeoutException: Timeout waiting for task."
        "type": "timeout_exception",
        "reason": "java.util.concurrent.TimeoutException: Timeout waiting for task.",
        "caused_by": {
          "type": "timeout_exception",
          "reason": "Timeout waiting for task."

Can someone please advise on what could we be doing wrong here?


There is a dedicated timeout parameter, see Watcher search input | Elasticsearch Guide [7.16] | Elastic

do you know why your searches take so much time? Maybe solving that would be better than increasing a timeout.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.