Failed to decrypt report job data. Please re-generate this report. Kibana 6.7.1

Hi team, i get error while generate PDF report. However, all server settings listed are made correctly. Use one instance of kibana.

Couldn't create report for dashboard 'New Dashboard'. Failed to decrypt report job data. Please re-generate this report.

team, any updates?

Hi @masterThomas,

Is there any server logs that get logged while generating your PDF report? If so, can you provide what you can?


Hi @ mikecote, there is no any information in elastic and kibana logs about the PDF report generating . what should i look into?

Dear @masterThomas,

There are a few things that this could be caused by. The main root cause is that Reporting is not able to decrypt information it found about a reporting job, because that data was encrypted under a different key.

The quick fix is to make sure there is a xpack.reporting.encryptionKey in the kibana.yml file, and that key is the same for every instance of Kibana that uses the .reporting-* index pattern.

  1. If there is not a xpack.reporting.encryptionKey setting in the kibana.yml file, Reporting will be forced to generate a new key for each server startup, and it will encrypt its jobs in .reporting-* using that encryption key. The problem that causes: jobs that were in pending status right before the server restarted are lost forever. The key that encrypted them was random and is no longer in the server's memory.
  2. If there are multiple Kibana instances using the same Elasticsearch cluster, by default they will also use the same .reporting-* index pattern for Reporting storage. When that is done intentionally, it works very well because the instances can share the load of generating reports. It can unintentionally create a problem where one instance discovers a job that it shouldn't be able to.

For the 6.7 version, the documentation has the details about how to handle either situation:

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