Could not connect to SMTP host in VIP Authentication Hub
search cancel

Could not connect to SMTP host in VIP Authentication Hub

book

Article ID: 279826

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction


Running VIP Authentication Hub, when an email is sent to the SMTP server, the VIP Authentication Hub returns the error:

  Email delivery using SMTP failed. Reason - Could not connect to SMTP host: smtp.example.com, port: 25
  Unable to send notifications: Could not connect to SMTP host: smtp.example.com, port: 25
  throwable":"com.broadcom.layer7authentication.mds.service.common.MdsException: Could not connect to SMTP host: smtp.example.com, port: 25
  com.broadcom.layer7authentication.mds.service.util.ExceptionUtil.getBadRequestException(ExceptionUtil.java:19)
  com.broadcom.layer7authentication.mds.service.providers.email.SMTPEmailService.sendNotification(SMTPEmailService.java:209)
  com.broadcom.layer7authentication.mds.service.providers.email.SMTPEmailService.sendMultiple(SMTPEmailService.java:288)
  com.broadcom.layer7authentication.mds.service.providers.email.SMTPEmailService.notifyUser(SMTPEmailService.java:260)
  com.broadcom.layer7authentication.mds.service.impl.MessageDeliveryHandler.deliverMessages(MessageDeliveryHandler.java:91)
  com.broadcom.layer7authentication.mds.service.MessageDeliveryService.lambda$sendAsync$0(MessageDeliveryService.java:80)
  java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

 

Resolution


Setting smtpSSLEnabled and smtpStartTLSEnabled (1) to false solved the issue.

 

Additional Information