<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set SOCKS(v4) proxy in tRestClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333262#M102065</link>
    <description>&lt;PRE&gt;Exception in component tRESTClient_1 (Demo1)
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://ph2ecmha.slnec2.lab.vzwnfv.com:443/ecm_service/vapps/VAPP-12909: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:601)
	at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:578)
	at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1098)
	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1035)
	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:892)
	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:863)
	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:426)
	at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:609)
	at testfile.demo1_0_1.Demo1.tRESTClient_1Process(Demo1.java:940)
	at testfile.demo1_0_1.Demo1.tSetProxy_1Process(Demo1.java:399)
	at testfile.demo1_0_1.Demo1.runJobInTOS(Demo1.java:1341)
	at testfile.demo1_0_1.Demo1.main(Demo1.java:1190)&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Does the SSLHandshakeException only happen when POST? or happon for any GET/PUT/POST?&lt;/P&gt; 
&lt;P&gt;Have you tried to use tSetKeystore to load the certification before you connect to REST using tRESTClient for https end point?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2017 08:56:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-14T08:56:03Z</dc:date>
    <item>
      <title>How to set SOCKS(v4) proxy in tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333261#M102064</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to access&amp;nbsp;a Rest-Webservice from Talend, &amp;nbsp;I used&amp;nbsp;tRestClient&amp;nbsp;but to access the WebService&amp;nbsp;i need to configure SOCKS(v4) proxy,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i used tSetProxy---------Component OK ------------&amp;gt;tRestClient-----------(response)----------&amp;gt;tLogRow.&lt;/P&gt;
&lt;P&gt;but it throws an exception (attached the log file logs.txt).&lt;/P&gt;
&lt;P&gt;1. &amp;nbsp;&lt;SPAN&gt;tSetProxy&amp;nbsp;(Basic Setting: Proxy type: Socks proxy || host: 127.0.0.1 &amp;nbsp;|| port: 1111&amp;nbsp;&lt;BR /&gt;2.&amp;nbsp;tRestClient(Basic Setting: Url:&amp;nbsp;https://***.slnec2.lab.443/**, Relative Pathe: "88-100")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If I provide&amp;nbsp;the same proxy in Firefox then&amp;nbsp;I get the response easily&amp;nbsp;from MozilaRestClient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 13:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333261#M102064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-06T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to set SOCKS(v4) proxy in tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333262#M102065</link>
      <description>&lt;PRE&gt;Exception in component tRESTClient_1 (Demo1)
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://ph2ecmha.slnec2.lab.vzwnfv.com:443/ecm_service/vapps/VAPP-12909: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:601)
	at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:578)
	at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1098)
	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1035)
	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:892)
	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:863)
	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:426)
	at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:609)
	at testfile.demo1_0_1.Demo1.tRESTClient_1Process(Demo1.java:940)
	at testfile.demo1_0_1.Demo1.tSetProxy_1Process(Demo1.java:399)
	at testfile.demo1_0_1.Demo1.runJobInTOS(Demo1.java:1341)
	at testfile.demo1_0_1.Demo1.main(Demo1.java:1190)&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Does the SSLHandshakeException only happen when POST? or happon for any GET/PUT/POST?&lt;/P&gt; 
&lt;P&gt;Have you tried to use tSetKeystore to load the certification before you connect to REST using tRESTClient for https end point?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333262#M102065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T08:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to set SOCKS(v4) proxy in tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333263#M102066</link>
      <description>&lt;P&gt;sorry for replying late&lt;/P&gt;&lt;P&gt;Yes&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;SSLHandshakeException happens&amp;nbsp;for every operation. 1st i have download the certificate(.crt file) then convert it into .jks&amp;nbsp;file using keytool. and use the same in tSetKeyStore, and I have used tSetProxy for SockProxy then tRestClient is use to call the rest client.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tSetKeyStore--------------OncomponentOK-----------&amp;gt;tSetProxy-----------------OnSubject OK----------&amp;gt;tRestCleint---------tLog&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And now it throws an exception (please find the attached log file).&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrWo"&gt;response.log&lt;/A&gt;</description>
      <pubDate>Fri, 27 Oct 2017 17:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-SOCKS-v4-proxy-in-tRestClient/m-p/2333263#M102066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-27T17:59:17Z</dc:date>
    </item>
  </channel>
</rss>

