tRest Client component TLS/SSL Configuration

Two Stars

tRest Client component TLS/SSL Configuration

Hi everybody,

 

This is my issue, I’m developing a job sending request to a Rest Web service of my provider, and I’m gathering some information to put them in my Oracle DB.

 

Capture.PNG

 

 

The problem is, from time to time I’m getting this error at the time of calling the WS: 

FATAL]: hyppolite.e010_reception_reponses_flux_sga_0_1.E010_Reception_Reponses_Flux_SGA - tREST_1 java.net.SocketException: Connection reset

Exception in component tREST_1

com.sun.jersey.api.client.ClientHandlerException: java.net.SocketException: Connection reset

                at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:131)

                at com.sun.jersey.api.client.Client.handle(Client.java:616)

                at com.sun.jersey.api.client.WebResource.handle(WebResource.java:559)

                at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:72)

                at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:454)

                at hyppolite.e010_reception_reponses_flux_sga_0_1.E010_Reception_Reponses_Flux_SGA.tOracleInput_1Process(E010_Reception_Reponses_Flux_SGA.java:3782)

                at hyppolite.e010_reception_reponses_flux_sga_0_1.E010_Reception_Reponses_Flux_SGA.runJobInTOS(E010_Reception_Reponses_Flux_SGA.java:11422)

                at hyppolite.e010_reception_reponses_flux_sga_0_1.E010_Reception_Reponses_Flux_SGA.main(E010_Reception_Reponses_Flux_SGA.java:11123)

Caused by: java.net.SocketException: Connection reset

                at java.net.SocketInputStream.read(SocketInputStream.java:209)

                at java.net.SocketInputStream.read(SocketInputStream.java:141)

                at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)

                at sun.security.ssl.InputRecord.read(InputRecord.java:503)

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

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

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

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

                at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)

                at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.jav...)

                at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)

                at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)

                at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)

                at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)

                at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:218)

                at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:129)

 

After checking with my WS provider he came with the explanation that it somewhere an incompatibility between my client SSL/TLS configuration and the server.

I need to know how to check my SSL/TLS configuration on my Talend Studio/TAC, and eventually change it.

 

 

Moderator

Re: tRest Client component TLS/SSL Configuration

Hello,

Please refer to online documents about:TalendHelpCenter:Configuring SSL transport and authentication

and TalendHelpCenter: SSL settings preferences

Let us know  if it is OK with you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.