Report with a Watch doesnt work (Elastic Cloud)

Hi Everyone,

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

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 :frowning:

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

Thanks for any help

Cheers,
Dirk

hey Dirk,

can you share the watch history output, please?

--Alex

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

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

thanks anyway @spinscale

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