Hi,
I'm using Elastic Stack 7.8. I've enable a watcher. Every night it shows error: connection timeout for webhook action. And the action status in But only when I edit the watch(I'm not actually changing any thing, really) and save it again in the morning, it starts working normally.
This error:
"actions": [
{
"id": "webhook_1",
"type": "webhook",
"status": "failure",
"error": {
"root_cause": [
{
"type": "connect_timeout_exception",
"reason": "Connect to 1.2.3.4:8081 [/1.2.3.4] failed: connect timed out"
}
],
"type": "connect_timeout_exception",
"reason": "Connect to 1.2.3.4:8081 [/1.2.3.4] failed: connect timed out",
"caused_by": {
"type": "socket_timeout_exception",
"reason": "connect timed out"
}
}
}
]
},
Followed all the other errors:
Why does it get stuck when watch encounters an error? Can't it just move on and try again later? If it requires a restart then is there a restart command, like there was in 6.8 :
POST _xpack/watcher/_restart
?
I'm not looking for solution for Connection timeout, I just want to restart watch even after a connection error and try again after it is triggered again.
Thanks.