Hello,
We've been having some issues with watchers throwing timeout exceptions:
"result": {
"execution_time": "2021-07-13T07:45:00.144Z",
"execution_duration": 60004,
"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."
}
This event seems to be completely random, sometimes it happens multiple times a day, sometimes it goes a few days without throwing this error.
One of the things I tried was changing these values in the elasticsearch.yml file:
xpack.http.default_connection_timeout from
120s
to240s
xpack.http.default_read_timeout from
120s
to240s
Still, it didn't work. Ideally we could maybe increase the execution_duration
parameter ? If this is possible how can we do it ? I've been searching since yesterday but I haven't found anything useful.
Can anyone please assist ?
Thank you.