# Kibana Reporting issue

**URL:** <https://discuss.elastic.co/t/kibana-reporting-issue/375306>\
**Category:** Kibana\
**Created:** [March 3, 2025, 11:09am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306 "2025-03-03T11:09:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahmoud0x](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmoud0x/32/130803_2.png) [@Mahmoud0x](https://discuss.elastic.co/u/Mahmoud0x)\
**Post date:** [March 3, 2025, 11:09am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/1 "2025-03-03T11:09:28Z")

</div>

Hi,

I am facing this issue when I try to create a Kibana dashboard report.

```auto
No report generated
ReportingError(code: browser_screenshot_error) "Protocol error (Emulation.setTouchEmulationEnabled): Target closed"

```

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 3, 2025, 3:21pm UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/2 "2025-03-03T15:21:24Z")

</div>

Hi @Mahmoud0x,

Which version of Kibana are you using? Are there any errors listed in the Kibana logs?

---

<div class="post-metadata">

**Author:** ![iamjustjordyn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iamjustjordyn/32/137094_2.png) [@iamjustjordyn](https://discuss.elastic.co/u/iamjustjordyn)\
**Post date:** [March 3, 2025, 3:30pm UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/3 "2025-03-03T15:30:55Z")

</div>

Hey @Mahmoud0x also:

- What is your `xpack.reporting.queue.timeout` setting set to?
- How's our RAM and CPU looking when you attempt to generate the report?

---

<div class="post-metadata">

**Author:** ![Mahmoud0x](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmoud0x/32/130803_2.png) [@Mahmoud0x](https://discuss.elastic.co/u/Mahmoud0x)\
**Post date:** [March 4, 2025, 8:03am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/4 "2025-03-04T08:03:49Z")

</div>

Hi @iamjustjordyn

xpack.reporting.queue.timeout has been edited to 30 Minutes and same problem,

Kibana Specs

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/a/dabfd6de3f571634e193b85bc16c67bd6f0646e2.png)

---

<div class="post-metadata">

**Author:** ![Mahmoud0x](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmoud0x/32/130803_2.png) [@Mahmoud0x](https://discuss.elastic.co/u/Mahmoud0x)\
**Post date:** [March 4, 2025, 8:04am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/5 "2025-03-04T08:04:40Z")

</div>

Hi @carly.richmond

i use kibana VERSION: 8.14.3

kibana errors

```auto
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:04.518+03:00","message":"Failed to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\": Unsupported state or unable to authenticate data","log":{"level":"ERROR","logger":"plugins.encryptedSavedObjects"},"process":{"pid":1600948,"uptime":76311.240377142},"trace":{"id":"b2006106046a9d2da734199db5f68538"},"transaction":{"id":"b90a9172eb34b9fa"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:04.519+03:00","message":"Action '20e2a670-a76d-42b4-88a2-4fd64abaf5d7' failed: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"","log":{"level":"ERROR","logger":"plugins.actions"},"process":{"pid":1600948,"uptime":76311.240821019},"trace":{"id":"b2006106046a9d2da734199db5f68538"},"transaction":{"id":"b90a9172eb34b9fa"}}
{"tags":["actions:.server-log","a26c3078-77f8-4b37-965a-07389794e819","task-run-failed"],"error":{"stack_trace":"Error: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"\n at EncryptedSavedObjectsService.attributesToDecryptIterator (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/crypto/encrypted_saved_objects_service.js:411:15)\n at attributesToDecryptIterator.throw (<anonymous>)\n at EncryptedSavedObjectsService.decryptAttributes (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/crypto/encrypted_saved_objects_service.js:324:23)\n at Object.getDecryptedAsInternalUser (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/saved_objects/index.js:56:23)\n at ActionExecutor.getActionInfoInternal (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:233:25)\n at /usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:291:26\n at ActionExecutor.execute (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:74:12)\n at Object.run (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/task_runner_factory.js:90:28)\n at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:308:22)"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:04.519+03:00","message":"Task actions:.server-log \"a26c3078-77f8-4b37-965a-07389794e819\" failed: Error: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"","log":{"level":"ERROR","logger":"plugins.taskManager"},"process":{"pid":1600948,"uptime":76311.241218964},"trace":{"id":"b2006106046a9d2da734199db5f68538"},"transaction":{"id":"b90a9172eb34b9fa"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:19.495+03:00","message":"Failed to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\": Unsupported state or unable to authenticate data","log":{"level":"ERROR","logger":"plugins.encryptedSavedObjects"},"process":{"pid":1600948,"uptime":76326.216951239},"span":{"id":"624ed4ed40414b16"},"trace":{"id":"9b4766a60e4a0a72a8dc79d00a43a2e9"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:19.495+03:00","message":"Action '20e2a670-a76d-42b4-88a2-4fd64abaf5d7' failed: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"","log":{"level":"ERROR","logger":"plugins.actions"},"process":{"pid":1600948,"uptime":76326.217414007},"span":{"id":"b89e5a2db331dafd"},"trace":{"id":"9b4766a60e4a0a72a8dc79d00a43a2e9"}}
{"tags":["actions:.server-log","ac0cd097-96d6-4f52-bb03-a663c259bfd7","task-run-failed"],"error":{"stack_trace":"Error: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"\n at EncryptedSavedObjectsService.attributesToDecryptIterator (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/crypto/encrypted_saved_objects_service.js:411:15)\n at attributesToDecryptIterator.throw (<anonymous>)\n at EncryptedSavedObjectsService.decryptAttributes (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/crypto/encrypted_saved_objects_service.js:324:23)\n at Object.getDecryptedAsInternalUser (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/saved_objects/index.js:56:23)\n at ActionExecutor.getActionInfoInternal (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:233:25)\n at /usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:291:26\n at ActionExecutor.execute (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:74:12)\n at Object.run (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/task_runner_factory.js:90:28)\n at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:308:22)"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:19.496+03:00","message":"Task actions:.server-log \"ac0cd097-96d6-4f52-bb03-a663c259bfd7\" failed: Error: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"","log":{"level":"ERROR","logger":"plugins.taskManager"},"process":{"pid":1600948,"uptime":76326.217775908},"trace":{"id":"9b4766a60e4a0a72a8dc79d00a43a2e9"},"transaction":{"id":"c36c627b1ae55842"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:31.547+03:00","message":"Failed to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\": Unsupported state or unable to authenticate data","log":{"level":"ERROR","logger":"plugins.encryptedSavedObjects"},"process":{"pid":1600948,"uptime":76338.268875611},"trace":{"id":"cb40b9088c4c8d5aa682a084ea9e45e5"},"transaction":{"id":"edb6c7b0c3eca7b6"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:31.547+03:00","message":"Action '20e2a670-a76d-42b4-88a2-4fd64abaf5d7' failed: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"","log":{"level":"ERROR","logger":"plugins.actions"},"process":{"pid":1600948,"uptime":76338.269230972},"trace":{"id":"cb40b9088c4c8d5aa682a084ea9e45e5"},"transaction":{"id":"edb6c7b0c3eca7b6"}}
{"tags":["actions:.server-log","dc7ffb64-8800-45a0-862c-4a681681ddeb","task-run-failed"],"error":{"stack_trace":"Error: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"\n at EncryptedSavedObjectsService.attributesToDecryptIterator (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/crypto/encrypted_saved_objects_service.js:411:15)\n at attributesToDecryptIterator.throw (<anonymous>)\n at EncryptedSavedObjectsService.decryptAttributes (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/crypto/encrypted_saved_objects_service.js:324:23)\n at Object.getDecryptedAsInternalUser (/usr/share/kibana/node_modules/@kbn/encrypted-saved-objects-plugin/server/saved_objects/index.js:56:23)\n at ActionExecutor.getActionInfoInternal (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:233:25)\n at /usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:291:26\n at ActionExecutor.execute (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/action_executor.js:74:12)\n at Object.run (/usr/share/kibana/node_modules/@kbn/actions-plugin/server/lib/task_runner_factory.js:90:28)\n at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:308:22)"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:05:31.548+03:00","message":"Task actions:.server-log \"dc7ffb64-8800-45a0-862c-4a681681ddeb\" failed: Error: Unable to decrypt attribute \"secrets\" of saved object \"action,20e2a670-a76d-42b4-88a2-4fd64abaf5d7\"","log":{"level":"ERROR","logger":"plugins.taskManager"},"process":{"pid":1600948,"uptime":76338.269635522},"trace":{"id":"cb40b9088c4c8d5aa682a084ea9e45e5"},"transaction":{"id":"edb6c7b0c3eca7b6"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2025-03-04T11:06:13.490+03:00","message":"Error occurred while publishing Fleet metrics: RequestAbortedError: Request has been aborted by the user","log":{"level":"WARN","logger":"plugins.fleet"},"process":{"pid":1600948,"uptime":76380.212163756},"trace":{"id":"90cac291c2166c40597ce44e623088cf"},"transaction":{"id":"24f0f3b91ca3fef7"}}

```

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 4, 2025, 9:39am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/6 "2025-03-04T09:39:46Z")

</div>

Thanks for sharing @Mahmoud0x. I believe you have a decryption issue justing by the below in the logs:

> [@Mahmoud0x](#):
>
> `Unsupported state or unable to authenticate data`

Are you configuring the `reporting.encryptionKey` property, or have you changed it recently? Have you trying to access a report in a different space? I would check these things as per the below threads:

1. [Error: Unsupported state or unable to authenticate data](https://discuss.elastic.co/t/error-unsupported-state-or-unable-to-authenticate-data/60500)
2. [Kibana errors after changing encryptionKey - Failed to decrypt "apiKey" attribute: Unsupported state or unable to authenticate data](https://discuss.elastic.co/t/kibana-errors-after-changing-encryptionkey-failed-to-decrypt-apikey-attribute-unsupported-state-or-unable-to-authenticate-data/344492)

Let us know!

---

<div class="post-metadata">

**Author:** ![Mahmoud0x](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmoud0x/32/130803_2.png) [@Mahmoud0x](https://discuss.elastic.co/u/Mahmoud0x)\
**Post date:** [March 4, 2025, 10:49am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/7 "2025-03-04T10:49:58Z")

</div>

Thanks @carly.richmond for your quick response  
i faced this issue before: [Cannot read existing Message Signing Key pair](https://discuss.elastic.co/t/cannot-read-existing-message-signing-key-pair/363554)  
so i changed the encryptionKey long time ago according this article, [Saving Agent Policy fails with "Cannot read existing Message Signing Key pair" · Issue #176528 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/176528#issuecomment-1936330383)

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 5, 2025, 10:56am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/8 "2025-03-05T10:56:13Z")

</div>

Ok, did you follow the Resolution steps and the [key rotation guide](https://github.com/elastic/kibana/issues/176528#issuecomment-1936330383) as listed in the issue?

Did you also set the `decryptionOnlyKeys` setting to have the old key?

> If the `encryptionKey` was changed manually, make sure that the old key is set as `decryptionOnlyKeys` , e.g.

---

<div class="post-metadata">

**Author:** ![Mahmoud0x](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmoud0x/32/130803_2.png) [@Mahmoud0x](https://discuss.elastic.co/u/Mahmoud0x)\
**Post date:** [March 5, 2025, 11:18am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/9 "2025-03-05T11:18:56Z")

</div>

> [@carly.richmond](#):
>
> `decryptionOnlyKeys`

Thanks @carly.richmond for your support

but its not clear for me how i can set `decryptionOnlyKeys`,

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 5, 2025, 11:38am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/10 "2025-03-05T11:38:47Z")

</div>

It can be set in the `kibana.yml` as covered [here](https://www.elastic.co/guide/en/kibana/current/xpack-security-secure-saved-objects.html#encryption-key-rotation) in the documentation.

---

<div class="post-metadata">

**Author:** ![Mahmoud0x](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahmoud0x/32/130803_2.png) [@Mahmoud0x](https://discuss.elastic.co/u/Mahmoud0x)\
**Post date:** [March 9, 2025, 8:04am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/11 "2025-03-09T08:04:14Z")

</div>

Hi @carly.richmond

Kibana service not working after we set `decryptionOnlyKeys`

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [March 10, 2025, 10:29am UTC](https://discuss.elastic.co/t/kibana-reporting-issue/375306/12 "2025-03-10T10:29:15Z")

</div>

Hi @Mahmoud0x,

What do you mean by "Kibana is not working"? Can you share the error message?
