search cancel

already connected error when send email on schedule from dashboard designer

book

Article ID: 254011

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

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: [email protected]
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)

Environment

Release: 20.4 + CU5
Component: Dashboard Designer

Resolution

ump_dashboard-20.4.5hf1 - attached

Attachments

ump_dashboard-20.4.5-HF_1670260468952.zip get_app