Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tSoap - TLS 1.2

Hi all,
I have a bug when I call a webservice since the provider updated to TLS 1.2 protocol .
(It worked fine before)
I tried the web service with SOAP UI,It works after modification of soapui configuration file:
 -Dsoapui.https.protocols=TLSv1.2
Here is the trace :
ai 19, 2015 11:40:14 AM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0009: Message send failed
Exception in component tSOAP_2
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:109)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)
... 5 more
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
... 6 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(Unknown Source)
... 14 more
CAUSE:

java jre 7
Any idea?
Labels (5)
5 Replies
Anonymous
Not applicable
Author

Hi,
Do you want to define TLS protocol for tSoap component?
https://jira.talendforge.org/browse/TDI-32059
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello,
I found an easy solution, I added that property, on a tJava component (before tSoap component) :
System.setProperty("https.protocols", "TLSv1.2");
Regards,
Vinc
Anonymous
Not applicable
Author

Hi Vinc,
It's really nice of you to share your solution with us.
Best regards
Sabrina
Anonymous
Not applicable
Author

You're welcome 0683p000009MACn.png
Anonymous
Not applicable
Author

Hello Everybody 
Service : Salesforce over Soap API 
When the service forced to make an authentification with tls 1.2 and has tls 1.0 already deactivated.
Then the service should work with tls 1.2 or ? 
Or do i have to obey sth. more maybe on the talend side and in which way talend used the tls 1.2 protocol. 
regards fireskyer