Messaging protocol with TLS is not working with clarity
search cancel

Messaging protocol with TLS is not working with clarity

book

Article ID: 252067

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Emails stop working while changing the messaging protocol in clarity

App logs:

at com.sun.mail.smtp.SMTPTransport.issueSendCommand (SMTPTransport.java:1388) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)

at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583) at javax.mail. Transport.sende (Transport.java:169) at javax.mail.Transport.send(Transport.java:98)

at com.niku.union.notification.MailMessage.send(MailMessage.java:607) at com.niku.union.notification.MailMessage.run(MailMessage.java:765)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

DEBUG 2822-07-21 14:46:18,863 [pool-8-thread-7] notification.MailMessage (none:none:none:none)

MailMessage.run() send failed

DEBUG: 2022-07-21 14:51:02,872 [pool-8-thread-9] notification.MailMessage (none:none:none:none)

MailMessage.send() Send failed com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required

Environment

Release 15.9.1

Cause

TLS was enabled on email service. Limitation in clarity 15.9.1 where the system is hard-coded to use SMTP port 25 and it will not work for TLS protocol. 

Resolution

The best option at this 15.9.x stage would be to upgrade to Clarity 16.0.3 where the code supports custom mail server ports and authentication set to true.