X-pack generate printable pdf with security enabled problem

Hello there,
Using version 5.1.2.
Getting the error:
"There was an error generating your report for the "irlh3_System_Dashboard" dashboard: Max attempts reached (3)."

My kibana.yml reporting configuration is:

server.port: 5601
server.host: "tangotelecom.com"
server.basePath: "/analytics"
server.name: "kibana"
elasticsearch.url: "http://localhost:9200"
elasticsearch.preserveHost: true
kibana.index: ".kibana"
server.ssl.cert: "/etc/kibana/ssl/tangotelecom.com.cert.pem"
server.ssl.key: "/etc/kibana/ssl/tangotelecom.com.pem"
elasticsearch.requestHeadersWhitelist: [ authorization, origin, host, x-proxy-user, Credentials ]
logging.events.log: [ 'reporting' ]
xpack.security.enabled: true
xpack.security.cookieName: "kibana"
xpack.security.secureCookies: true
xpack.reporting.kibanaServer.port: 443
xpack.reporting.enabled: true
tilemap:
url: "https://tiles.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana"
options:
minZoom: 1
maxZoom: 10
attribution: "© Elastic Tile Service"
xpack.reporting.queue.timeout: 300
xpack.reporting.kibanaServer.protocol: https
xpack.reporting.queue.indexInterval: hour

From kibana.logs:
{"type":"log","@timestamp":"2017-04-24T16:03:43Z","tags":["reporting","debug"],"pid":98133,"message":"Screenshot saved to /var/lib/kibana/screenshot-j1wbb9ds23pxad1c7aap3s8s.png"}
{"type":"log","@timestamp":"2017-04-24T16:03:43Z","tags":["reporting","debug"],"pid":98133,"message":"fetching screenshot of https://tangotelecom.com:443/analytics/app/kibana#/visualize/edit/irlh3-Offers-Made?"}
{"type":"log","@timestamp":"2017-04-24T16:03:43Z","tags":["reporting","debug"],"pid":98133,"message":"irlh3-Offers-Made -> /var/lib/kibana/screenshot-j1wbb9ds23pxad1c7aap3s8s.png"}

I can open the fetch URL in a tab, and it brings me to a visualization with time last 15 minutes which in my case is empty. I wanted to generate a report on a dashboard that contained this visualization and the dashboard was saved with a time of the last 7 days?

Not sure how to trouble-shoot this? I can see that phantomjs gets downloaded but no png or pdf files there:

ll

total 4
drwxr-xr-x 4 kibana kibana 103 Jan 25 2016 phantomjs-2.1.1-linux-x86_64
-rw-r--r-- 1 kibana kibana 36 Apr 12 12:30 uuid

Added the tile-map config as don't have accessible DNS server
https://discuss.elastic.co/t/kibana-5-2-x-pack-error-when-generating-reports/72039/74

Any help much appreciated.

I forgot to mention that there is a nginx web-proxy between browser and kibana and between reporting and kibana.

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