<?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: REST Job Fails on Linux, but not on app or Windows .bat in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300025#M145335</link>
    <description>Hi 
&lt;BR /&gt;It sounds like a network issue, make sure you are able to access the rest server from your Linux server where the job is executed. You can make a testing to call the rest web service on browser or other rest client tool such as postman from your Linux OS.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 08 Aug 2017 08:36:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-08T08:36:36Z</dc:date>
    <item>
      <title>REST Job Fails on Linux, but not on app or Windows .bat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300024#M145334</link>
      <description>&lt;P&gt;I have a simple REST job developed to make a get call and just output the data to console log. It works in the studio app and if I build the job and run the .bat file in windows it works just the same. However, when I run the .sh file in Linux the job makes the REST call, but comes back with a "Connect timed out" error. I am not sure why the job is timing out in Linux and not in other systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a point of troubleshooting I can use curl to make the same rest call from the Linux OS and the data comes back just fine and very quickly. I have isolated this to the job itself as being the problem. I have poked around with other options on the job resulting in no changes in the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can reproduce this error in windows if I change the URL from https to http (probably because this REST service does not allow http calls).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is preventing us from running any outbound REST calls from our job server and we are dead in the water.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300024#M145334</guid>
      <dc:creator>jasonatunr</dc:creator>
      <dc:date>2024-11-16T09:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: REST Job Fails on Linux, but not on app or Windows .bat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300025#M145335</link>
      <description>Hi 
&lt;BR /&gt;It sounds like a network issue, make sure you are able to access the rest server from your Linux server where the job is executed. You can make a testing to call the rest web service on browser or other rest client tool such as postman from your Linux OS.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 08 Aug 2017 08:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300025#M145335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T08:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: REST Job Fails on Linux, but not on app or Windows .bat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300026#M145336</link>
      <description>&lt;P&gt;In my original post I stated I can successfully connect and retrieve data from the REST service via curl on the same Linux server. So yes, the Linux server can connect successfully to the REST service from the Linux server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 16:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300026#M145336</guid>
      <dc:creator>jasonatunr</dc:creator>
      <dc:date>2017-08-08T16:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: REST Job Fails on Linux, but not on app or Windows .bat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300027#M145337</link>
      <description>&lt;P&gt;I was able to solve this issue. Considering I could get it to work at the OS layer, but not on the java runtime I headed down this route. I discovered the java JVM does not accept the OS proxy settings by default. I was able to modify the net.properties file to allow the system proxies to be used by the JVM and fixed the problem with the job running on linux.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300027#M145337</guid>
      <dc:creator>jasonatunr</dc:creator>
      <dc:date>2017-08-14T16:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: REST Job Fails on Linux, but not on app or Windows .bat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300028#M145338</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you do anything else to solve this?&lt;/P&gt;&lt;P&gt;I'm having the exact same issue. I have a job with a tRESTClient that is working fine from the studio and when exported and runned in windows, but when I run it from a linux server I get connection timeout.&amp;nbsp;&lt;BR /&gt;I tried what you said and went to the net.properties in my $JAVA_PATH/lib and change the java.net.usesSystemProxies from false to true. But I still get the same error. Do I need to do anything else? or do you have any idea what else could it be?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 20:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REST-Job-Fails-on-Linux-but-not-on-app-or-Windows-bat/m-p/2300028#M145338</guid>
      <dc:creator>cmbalderrama</dc:creator>
      <dc:date>2018-08-27T20:17:41Z</dc:date>
    </item>
  </channel>
</rss>

