# Kibana print to PDF issues after upgrading to 7.11.1

**URL:** https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070
**Category:** Kibana
**Created:** [May 14, 2021, 10:36pm UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070 "2021-05-14T22:36:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![azulgrana](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@azulgrana](https://discuss.elastic.co/u/azulgrana)
#### Post date: [May 14, 2021, 10:36pm UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/1 "2021-05-14T22:36:59Z")

</div>

Hi team,

I've upgraded my environment from 7.9.2 to 7.11.1 and I'm seeing some error while trying to print to PDF my Canvas projects.

{"type":"log","@timestamp":"2021-05-14T22:23:20+00:00","tags":["error","plugins","reporting","printable\_pdf","execute-job","koovxd1y000637d8de8je9m8","koovxd1y000637d8de8je9m8","browser-driver","headless-browser-console"],"pid":6,"message":"Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.\n"}  
{"type":"log","@timestamp":"2021-05-14T22:23:45+00:00","tags":["warning","plugins","reporting","printable\_pdf","execute-job","koovxd1y000637d8de8je9m8","koovxd1y000637d8de8je9m8","browser-driver"],"pid":6,"message":"Request to [[https://x.x.x.x/kibana/internal/bsearch](https://x.x.x.x/kibana/internal/bsearch)] failed! [net::ERR\_ABORTED]. This error will be ignored."}  
{"type":"log","@timestamp":"2021-05-14T22:25:59+00:00","tags":["error","plugins","reporting","printable\_pdf","execute-job","koow3j4x000637d8de5jryqq","koow3j4x000637d8de5jryqq","browser-driver","headless-browser-console"],"pid":6,"message":"Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.\n"}  
{"type":"log","@timestamp":"2021-05-14T22:27:02+00:00","tags":["error","plugins","reporting","printable\_pdf","execute-job","koow3j4x000637d8de5jryqq","koow3j4x000637d8de5jryqq","browser-driver","headless-browser-console"],"pid":6,"message":"Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.\n"}  
{"type":"log","@timestamp":"2021-05-14T22:27:28+00:00","tags":["warning","plugins","reporting","printable\_pdf","execute-job","koow3j4x000637d8de5jryqq","koow3j4x000637d8de5jryqq","browser-driver"],"pid":6,"message":"Request to [[https://x.x.x.x/kibana/internal/bsearch](https://x.x.x.x/kibana/internal/bsearch)] failed! [net::ERR\_ABORTED]. This error will be ignored."}  
{"type":"log","@timestamp":"2021-05-14T22:28:05+00:00","tags":["error","plugins","reporting","printable\_pdf","execute-job","koow3j4x000637d8de5jryqq","koow3j4x000637d8de5jryqq","browser-driver","headless-browser-console"],"pid":6,"message":"Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.\n"}  
{"type":"log","@timestamp":"2021-05-14T22:28:33+00:00","tags":["warning","plugins","reporting","printable\_pdf","execute-job","koow3j4x000637d8de5jryqq","koow3j4x000637d8de5jryqq","browser-driver"],"pid":6,"message":"Request to [[https://x.x.x.x/kibana/internal/bsearch](https://x.x.x.x/kibana/internal/bsearch)] failed! [net::ERR\_ABORTED]. This error will be ignored."}

It was working fine before the upgrade, I'm not sure if something specific to 7.11.1 is causing issues.

Any guidance or help would be appreciated,

Thanks

Azulgrana

---

<div class="post-metadata">

### Author: ![azulgrana](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@azulgrana](https://discuss.elastic.co/u/azulgrana)
#### Post date: [May 15, 2021, 3:27am UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/2 "2021-05-15T03:27:22Z")

</div>

more info here. I tried printing the Canvas Summary sample and that one works great. My custom report that has a bunch of charts, images and others does no longer print to pdf on 7.11.1

I have tried increasing the timeout, memory and no luck ... any ideas?

TIA!

Azulgrana

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [May 17, 2021, 2:39pm UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/3 "2021-05-17T14:39:10Z")

</div>

Are you using regular Kibana visualizations in your workpad? If yes there's a known bug which has been fixed in 7.12.1: [[Canvas] Fix reports embeddables by crob611 · Pull Request #93482 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/93482)

---

<div class="post-metadata">

### Author: ![azulgrana](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@azulgrana](https://discuss.elastic.co/u/azulgrana)
#### Post date: [May 17, 2021, 3:09pm UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/4 "2021-05-17T15:09:42Z")

</div>

@flash1293, yes I only have Kibana visualizations. It is a really strange issue, the summary and pitch templates print without any issues which shows I have the right configuration in place. Although when I try printing the my custom report that worked Ok on 7.9.2, it fails. Funny thing is I made it work once or twice after cutting some pages out of the canvas but then after rebooting the service it stopped working. Since that I have tried modifying the timeout adding more memory and no luck. I think my next step would be to create a new Canvas from scratch and bring one page at the time to see how it behaves.

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [May 18, 2021, 8:14am UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/5 "2021-05-18T08:14:00Z")

</div>

If you are actually hitting the bug I linked above, an upgrade to the latest version should help

---

<div class="post-metadata">

### Author: ![azulgrana](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@azulgrana](https://discuss.elastic.co/u/azulgrana)
#### Post date: [May 24, 2021, 4:02pm UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/6 "2021-05-24T16:02:12Z")

</div>

@flash1293, I'm sorry it took me so long to get back to you. I don't think issue #93482 is what I'm really seeing in my environment. I'll try recreating my Canvas from scratch to see if that makes a diff

Thanks

Azulgrana

---

<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: [June 21, 2021, 4:02pm UTC](https://discuss.elastic.co/t/kibana-print-to-pdf-issues-after-upgrading-to-7-11-1/273070/7 "2021-06-21T16:02:40Z")

</div>

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