javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When you use the step Transformation of the Mail, he alleges error in Can not send mail! Exception reading response see log: I don't have more idea for solution it. 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Unexpected error : 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : org.pentaho.di.core.exception.KettleException: 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Can not send mail! 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Exception reading response 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.processRow(Mail.java:363) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.run(Mail.java:791) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Caused by: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1764) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at javax.mail.Service.connect(Service.java:291) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.sendMail(Mail.java:529) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.processRow(Mail.java:348) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : ... 2 more 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at java.io.BufferedInputStream.fill(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at java.io.BufferedInputStream.read(Unknown Source) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1742) 2009/07/29 14:12:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : ... 7 more I swapped the file mail.jar, mailapi.jar directory and put the kettle on. But success in the added record in spoon.bat also without success. I had to use the Constants Add to add the values that the step called Mail. REM ******************************* REM Set mail Update REM ******************************* set CLASSPATH = data-manager \ libext \ mail.jar;% CLASSPATH% set CLASSPATH = data-manager \ libext \ mailapi.jar;% CLASSPATH% set CLASSPATH = data-manager \ libext \ pop3.jar;% CLASSPATH% set CLASSPATH = data-manager \ libext \ smtp.jar;% CLASSPATH% set CLASSPATH = data-manager \ libext \ dns.jar;% CLASSPATH% set CLASSPATH = data-manager \ libext \ imap.jar;% CLASSPATH%
    via by Paledzki,
  • The issue seems to be only in the transform mail step and not in the job mail step where I have successfully used smtp auth without using SSL. If you check the "Use Authentication" checkbox in the Server tab of the step dialog, leave the "Use secure authentication" box unchecked, and provide an smtp host, auth user and password, the step attempts to connect to the smtp server on SSL port 465 rather than standard port 25. Providing a value of 25 in a field for the port field in the dialog does not result in a plain connection on port 25, but rather an attempted SSL connection on unknown port, which fails. 2010/03/30 13:54:27 - org.pentaho.di.ui.spoon.trans.TransGraph - Transformation opened. 2010/03/30 13:54:27 - Spoon - Launching transformation [test_transform_email]... 2010/03/30 13:54:27 - Spoon - Started the transformation execution. 2010/03/30 13:54:27 - test_transform_email - Dispatching started for transformation [test_transform_email] 2010/03/30 13:54:27 - test_transform_email - Natural sort of steps executed in 0ms (2 time previous steps calculated) 2010/03/30 13:54:27 - test_transform_email - This transformation can be replayed with replay date: 2010/03/30 13:54:27 2010/03/30 13:54:27 - Generate Rows.0 - Finished processing (I=0, O=0, R=0, W=1, U=0, E=0) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Unexpected error : 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : org.pentaho.di.core.exception.KettleException: 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Can not send mail! 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Exception reading response 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.processRow(Mail.java:363) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.run(Mail.java:791) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Caused by: javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at javax.mail.Service.connect(Service.java:275) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.sendMail(Mail.java:529) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.mail.Mail.processRow(Mail.java:348) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : ... 2 more 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at java.io.BufferedInputStream.fill(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at java.io.BufferedInputStream.read(Unknown Source) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440) 2010/03/30 13:54:28 - Mail.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : ... 7 more 2010/03/30 13:54:28 - Mail.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2010/03/30 13:54:28 - Spoon - The transformation has finished!! 2010/03/30 13:54:28 - test_transform_email - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Errors detected! 2010/03/30 13:54:28 - test_transform_email - Transformation detected one or more steps with errors. 2010/03/30 13:54:28 - test_transform_email - Transformation is killing the other steps! Will try to attach the transform source I don't see a widget here yet
    via by Jeremy Beal,
  • mail-notifier
    via by ivan,
  • RE: mail-notifier
    via by nicklist@planet.nl,
    • javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:275) at javax.mail.Service.connect(Service.java:156) at com.aimluck.eip.mail.ALSmtpMailSender.send(ALSmtpMailSender.java:363) at com.aimluck.eip.mail.ALMailHandler.send(ALMailHandler.java:114) at com.aimluck.eip.webmail.WebMailFormData.insertFormData(WebMailFormData.java:371) at com.aimluck.eip.common.ALAbstractFormData.doInsert(ALAbstractFormData.java:205) at com.aimluck.eip.modules.screens.WebMailFormJSONScreen.getJSONString(WebMailFormJSONScreen.java:56) at com.aimluck.eip.modules.screens.ALJSONScreen.doOutput(ALJSONScreen.java:94) at org.apache.turbine.modules.screens.RawScreen.doBuild(RawScreen.java:95) at org.apache.turbine.modules.Screen.build(Screen.java:99) at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at org.apache.turbine.modules.ScreenLoader.exec(ScreenLoader.java:144) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:173) at org.apache.turbine.modules.Page.build(Page.java:90) at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at org.apache.turbine.Turbine.doGet(Turbine.java:563) at org.apache.turbine.Turbine.doPost(Turbine.java:658) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.aimluck.eip.filter.ALBaseFilter.doFilter(ALBaseFilter.java:90) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440) ... 36 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,