HI,
I am running version 5.0.1
I don't know from where this 3005 is coming but I didn't set it no where. (At least I don't aware of it). Where should I set it? Do I ?
In my console I have two commands.
The first one that I run is:
PUT _xpack/watcher/watch/demo_report
{
  "trigger" : {
    "schedule": {
      "interval": "1h"
    }
  },
  "actions" : {
   "email_admin" : { 
    "email" : {
      "to": "'sharonsa@amdocs.com'",
      "cc": "'yoelb@amdocs.com'",
      "subject": "Error Code Monitoring Report",
      "body" : "{{ctx.payload.hits.total}} error codes logs found",
      "attachments" : {
       "dashboard.pdf" : {
          "http" : {
            "content_type" : "application/pdf",
            "request" : {
              "method": "POST", 
              "headers": {
                "kbn-xsrf": "reporting"
              },
              "read_timeout": "300s", 
              "auth":{ 
                "basic":{
                  "username":"elastic",
                  "password":"elastic"
                }
              },
              "url": "http://10.235.81.127:5601/api/reporting/generate/dashboard/First-Half-Error-dashboard-28-12?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272016-01-01T08:28:55.359Z%27,mode:quick,to:%272016-06-01T07:30:14.917Z%27))&_a=(filters:!(),options:(darkTheme:!f),panels:!((col:1,id:weblogic-logs-error_code-28-12,panelIndex:3,row:1,size_x:3,size_y:2,type:visualization),(col:4,id:First-Half-Severity-Visualization,panelIndex:2,row:1,size_x:3,size_y:2,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:%27*%27)),title:First-Half-Error-dashboard-28-12,uiState:())&sync" 
            }
          }
        }
      }
    }
  }
 }
}
And the response is:
{
  "_id": "demo_report",
  "_version": 1,
  "created": true
}
Then I am running the following command (Should I?) :
POST /_xpack/watcher/watch/demo_report/_execute
{
  "record_execution": true
}
And I am getting the response:
 {
  "_id": "demo_report_0-2016-12-29T14:14:01.284Z",
  "watch_record": {
    "watch_id": "demo_report",
    "state": "executed",
    "trigger_event": {
      "type": "manual",
      "triggered_time": "2016-12-29T14:14:01.284Z",
      "manual": {
        "schedule": {
          "scheduled_time": "2016-12-29T14:14:01.284Z"
        }
      }
    },
    "input": {
      "none": {}
    },
    "condition": {
      "always": {}
    },
    "result": {
      "execution_time": "2016-12-29T14:14:01.284Z",
      "execution_duration": 3006,
      "input": {
        "type": "none",
        "status": "success",
        "payload": {}
      },
      "condition": {
        "type": "always",
        "status": "success",
        "met": true
      },
      "actions": [
        {
          "id": "email_admin",
          "type": "email",
          "status": "failure",
          "reason": "Watch[demo_report] attachment[dashboard.pdf] Error executing HTTP request host[10.235.81.127], port[5601], method[POST], path[/api/reporting/generate/dashboard/First-Half-Error-dashboard-28-12], exception[Connection timed out]"
        }
      ]
    },
    "messages": []
  }
} 
What next?  I am not getting any email.
Thanks
Sharon.