# Reporting Preserve Layout vs Optimize PDF

**URL:** <https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012>\
**Category:** Kibana\
**Created:** [September 18, 2018, 7:04pm UTC](https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012 "2018-09-18T19:04:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![uklipse](https://avatars.discourse-cdn.com/v4/letter/u/cdc98d/32.png) [@uklipse](https://discuss.elastic.co/u/uklipse)\
**Post date:** [September 18, 2018, 7:04pm UTC](https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012/1 "2018-09-18T19:04:17Z")

</div>

Hi, I've created a dashboard that I'd like to save as a report and if I optimize the pdf for printing it runs quickly but if I choose to preserve the layout, it will timeout and give me the Max Attempts Reached (3). The dashboard doens't have have a crazy amount of graphs but several metrics visualizations and two bar charts. I've also increased the timeout period as well.

Any ideas why preserving the layout keeps timing it out?

Thanks

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 18, 2018, 8:49pm UTC](https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012/2 "2018-09-18T20:49:25Z")

</div>

> [@uklipse](#):
>
> Max Attempts Reached (3).

There is a troubbleshooting guide which throws more light on this error: [Reporting troubleshooting | Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html)

Also are you running behind a proxy ? if you have the server running Kibana firewalled to block outbound traffic to whatever port Kibana is running on, then you will get the `Kibana took too long to load` error. Also to some extent explanation provided here might help? [Reporting timeout errors on 6.4.0 - Max attempts reached (3) · Issue #21443 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/21443)

Can you provide more logs, screenshots to debug this issue further ?  
Many thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![uklipse](https://avatars.discourse-cdn.com/v4/letter/u/cdc98d/32.png) [@uklipse](https://discuss.elastic.co/u/uklipse)\
**Post date:** [September 19, 2018, 1:02pm UTC](https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012/3 "2018-09-19T13:02:56Z")

</div>

I've already tried expanding the timeout period to 5 minutes and it doesn't sit behind a reverse proxy. If I save as pdr but optimize for printing, it runs in about 30 seconds so I'm not sure why keeping the layout takes so long.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [October 4, 2018, 3:23pm UTC](https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012/4 "2018-10-04T15:23:57Z")

</div>

I shall cc @Stacey_Gammon to take a look when she has some time.

Cheers  
Rashmi

---

<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:** [November 1, 2018, 3:34pm UTC](https://discuss.elastic.co/t/reporting-preserve-layout-vs-optimize-pdf/149012/5 "2018-11-01T15:34:43Z")

</div>

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