# Kibana 5.2 +x-pack error when generating reports

**URL:** <https://discuss.elastic.co/t/kibana-5-2-x-pack-error-when-generating-reports/72039>\
**Category:** Kibana\
**Created:** [January 18, 2017, 3:44pm UTC](https://discuss.elastic.co/t/kibana-5-2-x-pack-error-when-generating-reports/72039 "2017-01-18T15:44:42Z")\
**Posts on this page:** 1\
**Showing post:** 56

<div class="post-metadata">

**Author:** ![Apache\_HOU](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Apache\_HOU](https://discuss.elastic.co/u/Apache_HOU)\
**Post date:** [February 22, 2017, 12:41pm UTC](https://discuss.elastic.co/t/kibana-5-2-x-pack-error-when-generating-reports/72039/56 "2017-02-22T12:41:27Z")

</div>

@Brandon_Kobel

Hi Brandon,

Firstly, thanks for your explanation.

I have exactly the same problme. I'm using the Filebeat + Logstash + Elasticsearch + Kibana (all of them are in the last version 5.2.1) on one VM - 6 processors & 8 Go.

The OS is RHEL7.1 and I installed them by RPM (execpt for plug-in X-Pack of course). I started them by systemctl then the same problem occurred :

`> Error: Kibana took too long to load - Timeout exceeded (30000)`

I followed your suggestions to activate kibana log for more information and i found :

```
{"type":"log","@timestamp":"2017-02-22T11:07:58Z","tags":["reporting","debug"],"pid":1469,"message":"fetching screenshot of http://10.151.27.179:5601/app/kibana#/visualize/edit/707633e0-f847-11e6-befb-ff4ea7f891b9?_g=(time:(from:'2017-02-16T23:10:16.092Z',mode:absolute,to:'2017-02-17T18:35:18.291Z'))&_a=(filters:!(),options:(darkTheme:!f),query:(query_string:(analyze_wildcard:!t,query:'*')),title:'Dashboard%20-%20Apache%20-%20EDF%20-%20test')"}
.......
 {"type":"log","@timestamp":"2017-02-22T11:08:31Z","tags":["reporting","debug"],"pid":1469,"message":"Screenshot failed Kibana took too long to load - Timeout exceeded (30000)"}
{"type":"log","@timestamp":"2017-02-22T11:08:32Z","tags":["reporting","worker","debug"],"pid":1469,"message":"printable_pdf: Worker error: (izguw1re014tc7f584cs743p)"}

```

I tried to access the URL in the "fetching" line by browser in the VM, it had the same error : `Timeout exceeded (30000)`

I also ajusted the timeout to 60000 in kibana.yml but it seems nothing changed (still timeout after 30 seconds) :

> server.host: "0.0.0.0"  
> server.name: "new"  
> logging.dest: /var/log/kibana/kibana.log  
> logging.events.log: ['reporting']  
> xpack.reporting.kibanaServer.protocol: http  
> xpack.reporting.kibanaServer.hostname: 10.151.27.179  
> xpack.reporting.queue.timeout: 60000

BTW, I'm in DEV evironement so there is no proxy in front and I have only one node.

Do you have any idea ?

---

_[View the full topic](https://discuss.elastic.co/t/kibana-5-2-x-pack-error-when-generating-reports/72039)._
