# Report with a Watch doesnt work (Elastic Cloud)

**URL:** https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052
**Category:** Elasticsearch
**Created:** [November 24, 2017, 4:00pm UTC](https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052 "2017-11-24T16:00:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lueneburger](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lueneburger](https://discuss.elastic.co/u/lueneburger)
#### Post date: [November 24, 2017, 4:00pm UTC](https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052/1 "2017-11-24T16:00:46Z")

</div>

Hi Everyone,

it started with 5.6.4 and also is still in 6.0 a problem 😕

i got a simple Watch that will create every morning a report based on a dashboard and sent it to one of our emails (ticket creation)

it was working without any problem, but now i get everytime a "Watcher: An internal error occured" when testing the watch and if i create a report on the dashboard it sometimes hit "max attempts reached (3)"

so i was looking into a way to increase this timeout, but without any luck ☹

did i miss something important that changed from 5.5.1 to 5.6.4/6.0

Thanks for any help

Cheers,  
Dirk

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [November 24, 2017, 6:56pm UTC](https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052/2 "2017-11-24T18:56:20Z")

</div>

hey Dirk,

can you share the watch history output, please?

--Alex

---

<div class="post-metadata">

### Author: ![lueneburger](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lueneburger](https://discuss.elastic.co/u/lueneburger)
#### Post date: [November 27, 2017, 8:19am UTC](https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052/3 "2017-11-27T08:19:38Z")

</div>

Hi @spinscale,

sure, that was from today:

```
{
  "watch_id": "Report_Bounce_Emails",
  "node": "V_ERV8qUQN-3Qhz9h90WjQ",
  "state": "executed",
  "status": {
    "state": {
      "active": true,
      "timestamp": "2017-11-24T09:04:44.347Z"
    },
    "last_checked": "2017-11-27T07:00:00.412Z",
    "last_met_condition": "2017-11-27T07:00:00.412Z",
    "actions": {
      "email_admin": {
        "ack": {
          "timestamp": "2017-11-24T09:04:44.347Z",
          "state": "awaits_successful_execution"
        },
        "last_execution": {
          "timestamp": "2017-11-27T07:00:00.412Z",
          "successful": false,
          "reason": "Watch[Report_Bounce_Emails] reporting[error_report.pdf] Error when polling pdf from host[node_url_replaced_with....nothing], port[9243], method[POST], path[/api/reporting/generate/printablePdf], status[500], body[{\"message\":\"Reporting generation failed\",\"reason\":\"Max attempts reached (3)\"}]"
        }
      }
    },
    "version": -1
  },
  "trigger_event": {
    "type": "schedule",
    "triggered_time": "2017-11-27T07:00:00.411Z",
    "schedule": {
      "scheduled_time": "2017-11-27T07:00:00.000Z"
    }
  },
  "input": {
    "none": {}
  },
  "condition": {
    "always": {}
  },
  "metadata": {
    "name": "Report for recent Bounce Emails",
    "xpack": {
      "type": "json"
    }
  },
  "result": {
    "execution_time": "2017-11-27T07:00:00.412Z",
    "execution_duration": 120979,
    "input": {
      "type": "none",
      "status": "success",
      "payload": {}
    },
    "condition": {
      "type": "always",
      "status": "success",
      "met": true
    },
    "actions": [
      {
        "id": "email_admin",
        "type": "email",
        "status": "failure",
        "reason": "Watch[Report_Bounce_Emails] reporting[error_report.pdf] Error when polling pdf from host[2f35ce8f1446e9ac4128ded718c7713d.eu-west-1.aws.found.io], port[9243], method[POST], path[/api/reporting/generate/printablePdf], status[500], body[{\"message\":\"Reporting generation failed\",\"reason\":\"Max attempts reached (3)\"}]"
      }
    ]
  },
  "messages": []
}

```

Cheers

---

<div class="post-metadata">

### Author: ![lueneburger](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lueneburger](https://discuss.elastic.co/u/lueneburger)
#### Post date: [November 28, 2017, 2:40pm UTC](https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052/4 "2017-11-28T14:40:48Z")

</div>

contacted the support, didn't found a way to increase the time allowed for the requests.

thanks anyway @spinscale

---

<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: [December 26, 2017, 2:41pm UTC](https://discuss.elastic.co/t/report-with-a-watch-doesnt-work-elastic-cloud/109052/5 "2017-12-26T14:41:08Z")

</div>

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