<?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: Connection Timeout in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2416599#M140136</link>
    <description>&lt;P&gt;Are you using context variables for the credentials, try printing them out (maybe not the password) in the logs to verify it's using the correct credentials.&lt;/P&gt;
&lt;P&gt;Has your remote server been whitelisted to access the database?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 12:09:53 GMT</pubDate>
    <dc:creator>MattE</dc:creator>
    <dc:date>2024-02-08T12:09:53Z</dc:date>
    <item>
      <title>Connection Timeout</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2415301#M140124</link>
      <description>&lt;P&gt;I am trying to load CSV files to the DB on remote server, It starts loading few files and later it gives connect Timeout Exception&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;ss7_cdr_loading at 15:08 05/02/2024. [statistics] connecting to socket on port 3357 [statistics] connected Exception in component tDBOutput_1 (ss7_cdr_loading) org.postgresql.util.PSQLException: The connection attempt failed. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:297) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:217) at org.postgresql.Driver.makeConnection(Driver.java:458) at org.postgresql.Driver.connect(Driver.java:260) at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683) at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:230) at tigo_tanzania.ss7_cdr_loading_0_1.ss7_cdr_loading.tFileList_1Process(ss7_cdr_loading.java:1167) at tigo_tanzania.ss7_cdr_loading_0_1.ss7_cdr_loading.runJobInTOS(ss7_cdr_loading.java:2166) at tigo_tanzania.ss7_cdr_loading_0_1.ss7_cdr_loading.main(ss7_cdr_loading.java:2004) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:543) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:594) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:81) at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:93) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:197) ... 9 more [statistics] disconnected Job ss7_cdr_loading ended at 15:10 05/02/2024. [Exit code = 1]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Tried setting the connection in metadata, it worked fine, Test connection was successful.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In advanced setting added connectTimeout parameter. (Wanted to know whether it is in milliseconds or seconds) It loaded some 7 files and threw this error later&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;Starting job ss7_cdr_loading at 14:48 06/02/2024.&lt;/DIV&gt;
&lt;DIV&gt;[statistics] connecting to socket on port 3648&lt;/DIV&gt;
&lt;DIV&gt;[statistics] connected&lt;/DIV&gt;
&lt;DIV&gt;Exception in component tDBOutput_1 (ss7_cdr_loading)&lt;/DIV&gt;
&lt;DIV&gt;org.postgresql.util.PSQLException: Connection to 'ServerIP':5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:285)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.jdbc.PgConnection.&amp;lt;init&amp;gt;(PgConnection.java:217)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.Driver.makeConnection(Driver.java:458)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.Driver.connect(Driver.java:260)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:230)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at tigo_tanzania.ss7_cdr_loading_0_1.ss7_cdr_loading.tFileList_1Process(ss7_cdr_loading.java:1252)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at tigo_tanzania.ss7_cdr_loading_0_1.ss7_cdr_loading.runJobInTOS(ss7_cdr_loading.java:2330)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at tigo_tanzania.ss7_cdr_loading_0_1.ss7_cdr_loading.main(ss7_cdr_loading.java:2089)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;Caused by: java.net.ConnectException: Connection timed out: no further information&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.base/sun.nio.ch.Net.pollConnect(Native Method)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:594)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at java.base/java.net.Socket.connect(Socket.java:633)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.core.PGStream.&amp;lt;init&amp;gt;(PGStream.java:81)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:93)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:197)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; ... 9 more&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;[statistics] disconnected&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Job ss7_cdr_loading ended at 14:49 06/02/2024. [Exit code&amp;nbsp; = 1]&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TC1697460415_0-1707211814417.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159160iC58E3816A8D66E79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TC1697460415_0-1707211814417.png" alt="TC1697460415_0-1707211814417.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TC1697460415_1-1707211834499.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159161iFDD3F56A5D522876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TC1697460415_1-1707211834499.png" alt="TC1697460415_1-1707211834499.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Feb 2024 09:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2415301#M140124</guid>
      <dc:creator>TC1697460415</dc:creator>
      <dc:date>2024-02-06T09:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Timeout</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2416131#M140130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Seems like the problem is not about the connectTimeout in additional params, but the refused connection from the server.&lt;/P&gt;
&lt;P&gt;Can you try to put a tDBConnect to verify the connection is working well.&lt;/P&gt;
&lt;P&gt;Once done, try to execute your job with tDBOutput with only one row to exclude the connection problem.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 16:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2416131#M140130</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2024-02-07T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connection Timeout</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2416599#M140136</link>
      <description>&lt;P&gt;Are you using context variables for the credentials, try printing them out (maybe not the password) in the logs to verify it's using the correct credentials.&lt;/P&gt;
&lt;P&gt;Has your remote server been whitelisted to access the database?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 12:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connection-Timeout/m-p/2416599#M140136</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2024-02-08T12:09:53Z</dc:date>
    </item>
  </channel>
</rss>

