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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SSL HANDSHAKE PROBLEM twebservice component

Hello All,

 

I am having problem when I am invoking a method through twebserve component. I have imported the certificate using the below command.

 

keytool -import -trustcacerts -alias abc -file E:\abccer.cer -keystore cacerts

 

When I execute my job, I got the following error.

 

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

at org.talend.webservice.helper.conf.WSDLLocatorImpl.getBaseInputSource(WSDLLocatorImpl.java:59)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2403)

at org.talend.webservice.helper.ServiceDiscoveryHelper.init(ServiceDiscoveryHelper.java:123)

at org.talend.webservice.helper.ServiceDiscoveryHelper.<init>(ServiceDiscoveryHelper.java:90)

at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:99)

at test.motoservice_0_1.MotoService.tFileInputExcel_1Process(MotoService.java:1613)

at test.motoservice_0_1.MotoService.runJobInTOS(MotoService.java:2610)

at test.motoservice_0_1.MotoService.main(MotoService.java:2455)

Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)

at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)

at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)

at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)

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

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

at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)

at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)

at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

at org.talend.webservice.helper.conf.WSDLLocatorImpl.getBaseInputSource(WSDLLocatorImpl.java:54)

 

Can anybody help me in solving this issue.

 

Regards

Sikandar

 

Labels (4)
4 Replies
Anonymous
Not applicable
Author

Can anyone help me on this ?

 

I am using Talend Version 5.6.1 .

 

Anonymous
Not applicable
Author

Hi,

Could you please try to use component tSetKeyStore to add the certificate to see if it works? What does your current job design look like? Screenshots of your job setting will be preferred.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello xdshi,

 

I have done that but I am still getting the same issue.0683p000009LvVR.png

 

Please find the pic of my talend job.

 

 


JOB Detail.PNG
Anonymous
Not applicable
Author

Hi,

 

I'm using Talend 6.21. I got SSLHandshakeException error when running HTTP/s connection.

 

My JRE version was jre1.8.0_91.

 

Talend support found this bug https://bugs.openjdk.java.net/browse/JDK-8144566 and they suggested me to use newest JRE version.

 

I'm now using jre1.8.0_144 and it works.

 

You may try to upgrade you JRE version ?

 

Eric