Hi,
I get the below error when my automated report goes out. What could be the cause of the PDF file not being accessible?
Hope the log shows OK.
2020-04-01T22:01:23.554Z ERROR [ReportRenderJob] Failed to send report:
javax.mail.SendFailedException: Couldn’t deliver email!
at org.graylog.plugins.report.sender.EmailReportSender.sendTo(EmailReportSender.java:51) ~[graylog-plugin-enterprise-3.0.2.jar:?]
at org.graylog.plugins.report.api.ReportService.sendEmails(ReportService.java:277) ~[graylog-plugin-enterprise-3.0.2.jar:?]
at org.graylog.plugins.report.scheduler.ReportRenderJob.doRun(ReportRenderJob.java:91) [graylog-plugin-enterprise-3.0.2.jar:?]
at org.graylog.plugins.report.scheduler.ReportRenderJob.run(ReportRenderJob.java:60) [graylog-plugin-enterprise-3.0.2.jar:?]
at org.graylog.plugins.report.scheduler.ReportRenderSystemJob.execute(ReportRenderSystemJob.java:25) [graylog-plugin-enterprise-3.0.2.jar:?]
at org.graylog2.system.jobs.SystemJobManager$1.run(SystemJobManager.java:89) [graylog.jar:?]
at com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedRunnable.run(InstrumentedScheduledExecutorService.java:241) [graylog.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_232]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_232]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_232]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Caused by: java.io.FileNotFoundException: Couldn’t access PDF file!
at org.graylog.plugins.report.sender.EmailReportSender.sendEmail(EmailReportSender.java:81) ~[?:?]
at org.graylog.plugins.report.sender.EmailReportSender.sendEmails(EmailReportSender.java:65) ~[?:?]
at org.graylog.plugins.report.sender.EmailReportSender.sendTo(EmailReportSender.java:49) ~[?:?]
… 13 more
2020-04-01T22:01:23.565Z INFO [SystemJobManager] SystemJob <537d3e90-7464-11ea-b677-fa813e123122> [org.graylog.plugins.report.scheduler.ReportRenderSystemJob] finished
in 115ms.