<?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: tServiceNowConnection fails with Timeout in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228114#M19494</link>
    <description>&lt;P&gt;Hi TRF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tSetProxy does not change the behaviour.&lt;/P&gt;&lt;P&gt;I even tried it with tJava component and the System.setProperty() method (both for http and https proxy).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be an issue with the ServiceNow components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basit&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 21:15:47 GMT</pubDate>
    <dc:creator>Basit</dc:creator>
    <dc:date>2020-04-27T21:15:47Z</dc:date>
    <item>
      <title>tServiceNowConnection fails with Timeout</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228112#M19492</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;we are trying to use the ServiceNow components in one of our jobs. Unfortunately we are getting Timeout errors when trying to connect to ServiceNow:&lt;/P&gt; 
&lt;PRE&gt;Exception in component tServiceNowConnection_1 (Rest_API)
org.apache.http.conn.HttpHostConnectException: Connect to apletestdev.service-now.com:443 [myservicenow.service-now.com/&amp;lt;ip&amp;gt;] failed: Connection timed out: connect
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:138)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
	at workspace.rest_api_0_1.Rest_API.tServiceNowConnection_1Process(Rest_API.java:519)
	at workspace.rest_api_0_1.Rest_API.tJava_1Process(Rest_API.java:426)
	at workspace.rest_api_0_1.Rest_API.runJobInTOS(Rest_API.java:4043)
	at workspace.rest_api_0_1.Rest_API.main(Rest_API.java:3892)
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:250)
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)
	... 13 more&lt;/PRE&gt; 
&lt;P&gt;I can run requests with tRestClient without any errors but I would prefer to use the ServiceNow components.&lt;/P&gt; 
&lt;P&gt;Note that I am using a proxy on my machine so I am not sure if this has any impact because I had a lot of troubles with Talend when using a proxy.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;While debugging I found that the error occurs in the&amp;nbsp;&lt;STRONG&gt;HttpClientConnectionOperator&lt;/STRONG&gt; class while trying to execute&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;conn.bind(sock);&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do you guys have any idea why Talend has problems using the ServiceNow components while everything else works fine?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Basit&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228112#M19492</guid>
      <dc:creator>Basit</dc:creator>
      <dc:date>2024-11-16T02:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: tServiceNowConnection fails with Timeout</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228113#M19493</link>
      <description>Did you try to configure your proxy with tSetProxy component?</description>
      <pubDate>Mon, 27 Apr 2020 20:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228113#M19493</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-04-27T20:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: tServiceNowConnection fails with Timeout</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228114#M19494</link>
      <description>&lt;P&gt;Hi TRF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tSetProxy does not change the behaviour.&lt;/P&gt;&lt;P&gt;I even tried it with tJava component and the System.setProperty() method (both for http and https proxy).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be an issue with the ServiceNow components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basit&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 21:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tServiceNowConnection-fails-with-Timeout/m-p/2228114#M19494</guid>
      <dc:creator>Basit</dc:creator>
      <dc:date>2020-04-27T21:15:47Z</dc:date>
    </item>
  </channel>
</rss>

