<?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: Proxy error with tRestClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Proxy-error-with-tRestClient/m-p/2366302#M129808</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you share a screenshot to show the basic setting of tRestClient_2, the second tRestClient will use the token returned by the first tRestClient?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 06:47:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-14T06:47:25Z</dc:date>
    <item>
      <title>Proxy error with tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Proxy-error-with-tRestClient/m-p/2366301#M129807</link>
      <description>&lt;P&gt;I am using tRESTClient to access data from internet using our firewall proxy authentication with combination of 2 tRESTClient componets, one for getting token and next for fetching data in sequence as shown below.  The first stage of authentication works fine and i am able to get the token using http proxy authentication but in next stage while i am fetching data, it gives an error as below. Please help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting job testing2_with_proxy at 09:21 14/09/2021.&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3945&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;200|&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;root&amp;gt;&amp;lt;token_type&amp;gt;Bearer&amp;lt;/token_type&amp;gt;&amp;lt;expires_in&amp;gt;3599&amp;lt;/expires_in&amp;gt;&amp;lt;ext_expires_in&amp;gt;3599&amp;lt;/ext_expires_in&amp;gt;&amp;lt;expires_on&amp;gt;1631595088&amp;lt;/expires_on&amp;gt;&amp;lt;not_before&amp;gt;1631591188&amp;lt;/not_before&amp;gt;&amp;lt;resource&amp;gt;xxxxxxxxxxxxxxxxxxxx&amp;lt;/resource&amp;gt;&amp;lt;access_token&amp;gt;xxxxxxxxxxxxx&amp;lt;/access_token&amp;gt;&amp;lt;/root&amp;gt;|&lt;/P&gt;&lt;P&gt;xxxxxxxx|Bearer&lt;/P&gt;&lt;P&gt;Sep 14, 2021 9:21:29 AM org.apache.cxf.interceptor.LoggingOutInterceptor&lt;/P&gt;&lt;P&gt;INFO: Outbound Message&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;ID: 1&lt;/P&gt;&lt;P&gt;Address: https://management.azure.com/subscriptions/xxxxxxxxxxxxxxx/resourcegroups?api-version=2021-07-01&lt;/P&gt;&lt;P&gt;Http-Method: GET&lt;/P&gt;&lt;P&gt;Content-Type: application/xml&lt;/P&gt;&lt;P&gt;Headers: {Accept=[application/xml], Authorization=[Basic xxxxxxxxxxxxxxxxxxxxxx], Content-type=[application/xml], Proxy-Authorization=[Basic xxxxxxxxxxxxxxxxxxxxxxxxxx]}&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;Sep 14, 2021 9:21:30 AM org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream authorizationRetransmit&lt;/P&gt;&lt;P&gt;WARNING: WWW-Authenticate response header is not set&lt;/P&gt;&lt;P&gt;Sep 14, 2021 9:21:30 AM org.apache.cxf.interceptor.LoggingInInterceptor&lt;/P&gt;&lt;P&gt;INFO: Inbound Message&lt;/P&gt;&lt;P&gt;----------------------------&lt;/P&gt;&lt;P&gt;ID: 1&lt;/P&gt;&lt;P&gt;Response-Code: 407&lt;/P&gt;&lt;P&gt;Encoding: UTF-8&lt;/P&gt;&lt;P&gt;Content-Type: text/html; charset=utf-8&lt;/P&gt;&lt;P&gt;Headers: {Cache-Control=[no-cache], connection=[close], Content-Length=[849], content-type=[text/html; charset=utf-8], Pragma=[no-cache], Proxy-Authenticate=[BASIC realm="Gateway_Authentication"], Proxy-Connection=[close], X-XSS-Protection=[1]}&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;Exception in component tRESTClient_2 (testing2_with_proxy)&lt;/P&gt;&lt;P&gt;javax.ws.rs.ClientErrorException: HTTP 407 Proxy Authentication Required&lt;/P&gt;&lt;P&gt;	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt;&lt;P&gt;	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)&lt;/P&gt;&lt;P&gt;	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)&lt;/P&gt;&lt;P&gt;	at java.lang.reflect.Constructor.newInstance(Unknown Source)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.utils.ExceptionUtils.toWebApplicationException(ExceptionUtils.java:179)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:538)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:940)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:901)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:461)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:641)&lt;/P&gt;&lt;P&gt;	at test.testing2_with_proxy_0_1.testing2_with_proxy.tRESTClient_1Process(testing2_with_proxy.java:2746)&lt;/P&gt;&lt;P&gt;	at test.testing2_with_proxy_0_1.testing2_with_proxy.tSetGlobalVar_1Process(testing2_with_proxy.java:445)&lt;/P&gt;&lt;P&gt;	at test.testing2_with_proxy_0_1.testing2_with_proxy.runJobInTOS(testing2_with_proxy.java:3400)&lt;/P&gt;&lt;P&gt;	at test.testing2_with_proxy_0_1.testing2_with_proxy.main(testing2_with_proxy.java:3249)&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job testing2_with_proxy ended at 09:21 14/09/2021. [Exit code&amp;nbsp;= 1]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000Ie9wGAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128088i17173DCF38BEA34C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000Ie9wGAAR.png" alt="0695b00000Ie9wGAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 03:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Proxy-error-with-tRestClient/m-p/2366301#M129807</guid>
      <dc:creator>MKAPOOR1596038160</dc:creator>
      <dc:date>2021-09-14T03:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy error with tRestClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Proxy-error-with-tRestClient/m-p/2366302#M129808</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you share a screenshot to show the basic setting of tRestClient_2, the second tRestClient will use the token returned by the first tRestClient?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 06:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Proxy-error-with-tRestClient/m-p/2366302#M129808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-14T06:47:25Z</dc:date>
    </item>
  </channel>
</rss>

