Unable to send email in test from dashboard designer with the following error in the dashboard.log:
2022-11-09 14:26:06.266 [QuartzScheduler_Worker-1] ERROR com.firehunter.dashboard.service.SchedulerService:runAction:196 service.SchedulerService - Action failed: com.firehunter.dashboard.models.scheduler.EmailAction@78339890
java.lang.IllegalStateException: already connected
at javax.mail.Service.connect(Service.java:214) ~[mail-1.4.3.jar:1.4.7]
at com.firehunter.dashboard.models.scheduler.EmailAction._send(EmailAction.java:201) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.models.scheduler.EmailAction.send(EmailAction.java:170) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.models.scheduler.EmailAction.execute(EmailAction.java:76) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.service.SchedulerService.runAction(SchedulerService.java:186) [dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.service.SchedulerService.runReport(SchedulerService.java:83) [dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.scheduler.JobRunner.execute(JobRunner.java:46) [dashboard-api-20.4.5.jar:20.4.5]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?]
2022-11-09 14:26:06.283 [QuartzScheduler_Worker-1] ERROR com.firehunter.dashboard.service.SchedulerService:runReport:85 service.SchedulerService - Could not email scheduled dashboard report. Scheduled job name : other
java.lang.IllegalStateException: already connected
at javax.mail.Service.connect(Service.java:214) ~[mail-1.4.3.jar:1.4.7]
at com.firehunter.dashboard.models.scheduler.EmailAction._send(EmailAction.java:201) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.models.scheduler.EmailAction.send(EmailAction.java:170) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.models.scheduler.EmailAction.execute(EmailAction.java:76) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.service.SchedulerService.runAction(SchedulerService.java:186) ~[dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.service.SchedulerService.runReport(SchedulerService.java:83) [dashboard-api-20.4.5.jar:20.4.5]
at com.firehunter.dashboard.scheduler.JobRunner.execute(JobRunner.java:46) [dashboard-api-20.4.5.jar:20.4.5]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.3.2.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.3.2.jar:?]
2022-11-09 14:26:29.704 [QuartzScheduler_QuartzSchedulerThread] DEBUG org.quartz.core.QuartzSchedulerThread:run:291 core.QuartzSchedulerThread - batch acquisition of 0 triggers
2022-11-09 14:26:31.391 [dashboard-akka.actor.default-dispatcher-57] DEBUG com.firehunter.dashboard.util.LogUtils:logDebug:21 actors.AlarmsActor - Asking for alarms list (timeout: 5000 ms.) (alarms)
Release: 20.4 + CU5
Component: Dashboard Designer
ump_dashboard-20.4.5hf1 - attached