Email Sender adapter error: "Unable to send email message: 220 Ready to start TLS"

Email Sender adapter error: "Unable to send email message: 220 Ready to start TLS"

book

Article ID: KB0072894

calendar_today

Updated On:

Products Versions
TIBCO Streaming 10.6 and later

Description

After installing TIBCO Streaming 10.6.2, the following error occurs when the Email Sender adapter attempts to create a secure (SSL) connection: 
 
2021-11-11 18:04:04.315000-0500 [2228:OperatorThread(default.OutputAdapter.#"Email sender adapter worker")] 
ERROR OutputAdapter: Unable to send email message: 220 Ready to start TLS
  javax.mail.AuthenticationFailedException: 220 Ready to start TLS
  at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:826)
  at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:761)
  at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:685)
  at javax.mail.Service.connect(Service.java:317)
  at javax.mail.Service.connect(Service.java:176)
  at javax.mail.Service.connect(Service.java:125)
  at javax.mail.Transport.send0(Transport.java:194)
  at javax.mail.Transport.send(Transport.java:124)
  at com.streambase.sb.adapter.emailsender.EmailSender.run(EmailSender.java:537)
  at com.streambase.sb.operator.Operator$OperatorThread.run(Operator.java:2809)

 

Issue/Introduction

Discusses a JDK security configuration change (starting in TIBCO Streaming 10.6.2), and how it can result in an error being emitted from the Email Sender adapter.

Resolution

Starting in version 10.6.2, the JDK that ships with TIBCO Streaming disables TLSv1 and TLSv1.1 algorithms by default. As of version 10.6.2, the Email Sender adapter cannot support TLSv1.2 and newer connections. Details on this JDK change, and a recommended solution, are discussed in the Knowledge article entitled "How to allow TLSv1 and TLSv1.1 algorithms for TIBCO Streaming 10.6.2 and later". Follow the guidance in this article to override the default java.security settings in SB 10.6.2, which will allow TLSv1 and TLSv1.1 connections for the Email Sender adapter.