# Kibana watcher - SocketTimeoutException

**URL:** https://discuss.elastic.co/t/kibana-watcher-sockettimeoutexception/147589
**Category:** Elasticsearch
**Created:** [September 6, 2018, 1:53pm UTC](https://discuss.elastic.co/t/kibana-watcher-sockettimeoutexception/147589 "2018-09-06T13:53:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Serhii\_Savruk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serhii_savruk/32/35271_2.png) [@Serhii\_Savruk](https://discuss.elastic.co/u/Serhii_Savruk)
#### Post date: [September 6, 2018, 1:53pm UTC](https://discuss.elastic.co/t/kibana-watcher-sockettimeoutexception/147589/1 "2018-09-06T13:53:33Z")

</div>

Hey,

I try to create Kibana watcher that will monitor elastic task queue.  
Input plugin:

```
"input": {
    "http": {
      "request": {
        "url": "https://myelastic.com/_cluster/pending_tasks",
        "auth": {}
      }
    }
  }

```

I get error in Kigana

`"ElasticsearchTimeoutException[failed to execute http request. timeout expired]; nested: SocketTimeoutException[connect timed out]; ",`

On Elasticsearch master node I have the same

`[o.e.x.w.i.h.ExecutableHttpInput] [es-prod-elasticsearch-master-node-2] failed to execute [http] input for watch [elastic_pending_tasks], reason [failed to execute http request. timeout expired]`

What can cause such error?

Thasnk,  
Serhii

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 4, 2018, 1:53pm UTC](https://discuss.elastic.co/t/kibana-watcher-sockettimeoutexception/147589/2 "2018-10-04T13:53:38Z")

</div>

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