Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ROtaño_Laffitte1620056112

Exception in component tSendMail_1

Hello everyone, I am new to the tool and I have the following problem.

Exception in component tSendMail_1 (Copy_of_EDP_Informe_MVF)

javax.mail.MessagingException: Can't send command to SMTP host;

 nested exception is:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at com.sun.mail.smtp.SMTPTransport.sendCommand (SMTPTransport.java:1420)

at com.sun.mail.smtp.SMTPTransport.sendCommand (SMTPTransport.java:1408)

at com.sun.mail.smtp.SMTPTransport.ehlo (SMTPTransport.java:847)

at com.sun.mail.smtp.SMTPTransport.protocolConnect (SMTPTransport.java:384)

at javax.mail.Service.connect (Service.java:297)

at javax.mail.Service.connect (Service.java:156)

at javax.mail.Service.connect (Service.java:105)

at javax.mail.Transport.send0 (Transport.java:168)

at javax.mail.Transport.send (Transport.java:98)

at test22.copy_of_edp_informe_mvf_0_1.Copy_of_EDP_Informe_MVF.tSendMail_1Process (Copy_of_EDP_Informe_MVF.java:1157)

at test22.copy_of_edp_informe_mvf_0_1.Copy_of_EDP_Informe_MVF.tDBInput_2Process (Copy_of_EDP_Informe_MVF.java:929)

at test22.copy_of_edp_informe_mvf_0_1.Copy_of_EDP_Informe_MVF.runJobInTOS (Copy_of_EDP_Informe_MVF.java:1622)

at test22.copy_of_edp_informe_mvf_0_1.Copy_of_EDP_Informe_MVF.main (Copy_of_EDP_Informe_MVF.java:1471)

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.ssl.Alert.createSSLException (Alert.java:131)

at sun.security.ssl.TransportContext.fatal (TransportContext.java:353)

at sun.security.ssl.TransportContext.fatal (TransportContext.java:296)

at sun.security.ssl.TransportContext.fatal (TransportContext.java:291)

at sun.security.ssl.CertificateMessage $ T12CertificateConsumer.checkServerCerts (CertificateMessage.java:652)

at sun.security.ssl.CertificateMessage $ T12CertificateConsumer.onCertificate (CertificateMessage.java:471)

at sun.security.ssl.CertificateMessage $ T12CertificateConsumer.consume (CertificateMessage.java:367)

at sun.security.ssl.SSLHandshake.consume (SSLHandshake.java:376)

at sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java:444)

at sun.security.ssl.HandshakeContext.dispatch (HandshakeContext.java:422)

at sun.security.ssl.TransportContext.dispatch (TransportContext.java:183)

at sun.security.ssl.SSLTransport.decode (SSLTransport.java:154)

at sun.security.ssl.SSLSocketImpl.decode (SSLSocketImpl.java:1279)

at sun.security.ssl.SSLSocketImpl.readHandshakeRecord (SSLSocketImpl.java:1188)

at sun.security.ssl.SSLSocketImpl.startHandshake (SSLSocketImpl.java:401)

at sun.security.ssl.SSLSocketImpl.ensureNegotiated (SSLSocketImpl.java:808)

at sun.security.ssl.SSLSocketImpl.access $ 200 (SSLSocketImpl.java:75)

at sun.security.ssl.SSLSocketImpl $ AppOutputStream.write (SSLSocketImpl.java:1093)

at com.sun.mail.util.TraceOutputStream.write (TraceOutputStream.java:101)

at java.io.BufferedOutputStream.flushBuffer (BufferedOutputStream.java:82)

at java.io.BufferedOutputStream.flush (BufferedOutputStream.java:140)

at com.sun.mail.smtp.SMTPTransport.sendCommand (SMTPTransport.java:1418)

... 12 more

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.validator.PKIXValidator.doBuild (PKIXValidator.java:439)

at sun.security.validator.PKIXValidator.engineValidate (PKIXValidator.java:306)

at sun.security.validator.Validator.validate (Validator.java:271)

at sun.security.ssl.X509TrustManagerImpl.validate (X509TrustManagerImpl.java:312)

at sun.security.ssl.X509TrustManagerImpl.checkTrusted (X509TrustManagerImpl.java:221)

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted (X509TrustManagerImpl.java:128)

at sun.security.ssl.CertificateMessage $ T12CertificateConsumer.checkServerCerts (CertificateMessage.java:636)

... 29 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at ... 35 more

[statistics] disconnected

It is giving me connection problems with the mailing component, in almost all machines, except 2 of them.

What can be caused by this behavior. Coincidentally, in both that it works, version 8 271 of Java is installed.

Install that same one on my machine and it works for them but not for me.

It would be due to another cause

Thanks

Labels (2)
1 Reply
gjeremy1617088143

Hi, your error

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path .

It seem you need to load a certificate via tSetKeystore component.

Send me Love and Kudos