<?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>article Tasks fail in the Talend Management Console with error &amp;quot;java.sql.SQLException: [Amazon](500150) Error setting/closing connection: Not Connected&amp;quot; in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Tasks-fail-in-the-Talend-Management-Console-with-error-quot-java/ta-p/2151695</link>
    <description>&lt;P&gt;After executing for more than one hour, tasks are failing with the error shown below:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;java.sql.SQLException: [Amazon](500150) Error setting/closing connection: Not Connected&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This generally is caused by not having the proper security group configuration in Redshift (for example, whitelist the IP address of the server running the Spark driver).&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Get the hostname and/or IP address from the Remote Engine machine that is running the failed task.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Sign in to the AWS Console.&lt;/LI&gt;
&lt;LI&gt;Go into the EC2 Management Console.&lt;/LI&gt;
&lt;LI&gt;On the left navigation pane, look for the &lt;STRONG&gt;Network &amp;amp; Security&lt;/STRONG&gt; header and click &lt;STRONG&gt;Security Groups&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click the row with &lt;STRONG&gt;Default&lt;/STRONG&gt; in the Group Name's column.&lt;/LI&gt;
&lt;LI&gt;Select the &lt;STRONG&gt;Inbound&lt;/STRONG&gt; tab, then click &lt;STRONG&gt;Edit.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add Rule: &lt;STRONG&gt;Type=Redshift, Source=MyIP. (auto-fill)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Save it.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After making the changes, use the &lt;STRONG&gt;telnet&lt;/STRONG&gt; command to verify whether the connection from the Remote Engine server to Redshift is successful or not.&lt;/P&gt;
&lt;P&gt;If the problem persists, contact AWS Redshift support to check if there's an issue on their end.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 02:35:30 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-01-23T02:35:30Z</dc:date>
    <item>
      <title>Tasks fail in the Talend Management Console with error "java.sql.SQLException: [Amazon](500150) Error setting/closing connection: Not Connected"</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Tasks-fail-in-the-Talend-Management-Console-with-error-quot-java/ta-p/2151695</link>
      <description>&lt;P&gt;After executing for more than one hour, tasks are failing with the error shown below:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;java.sql.SQLException: [Amazon](500150) Error setting/closing connection: Not Connected&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This generally is caused by not having the proper security group configuration in Redshift (for example, whitelist the IP address of the server running the Spark driver).&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Get the hostname and/or IP address from the Remote Engine machine that is running the failed task.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Sign in to the AWS Console.&lt;/LI&gt;
&lt;LI&gt;Go into the EC2 Management Console.&lt;/LI&gt;
&lt;LI&gt;On the left navigation pane, look for the &lt;STRONG&gt;Network &amp;amp; Security&lt;/STRONG&gt; header and click &lt;STRONG&gt;Security Groups&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click the row with &lt;STRONG&gt;Default&lt;/STRONG&gt; in the Group Name's column.&lt;/LI&gt;
&lt;LI&gt;Select the &lt;STRONG&gt;Inbound&lt;/STRONG&gt; tab, then click &lt;STRONG&gt;Edit.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add Rule: &lt;STRONG&gt;Type=Redshift, Source=MyIP. (auto-fill)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Save it.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After making the changes, use the &lt;STRONG&gt;telnet&lt;/STRONG&gt; command to verify whether the connection from the Remote Engine server to Redshift is successful or not.&lt;/P&gt;
&lt;P&gt;If the problem persists, contact AWS Redshift support to check if there's an issue on their end.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 02:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Tasks-fail-in-the-Talend-Management-Console-with-error-quot-java/ta-p/2151695</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-01-23T02:35:30Z</dc:date>
    </item>
  </channel>
</rss>

