<?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: Getting connection time out error in Splunk On-Call</title>
    <link>https://community.splunk.com/t5/Splunk-On-Call/Getting-connection-time-out-error/m-p/679587#M101</link>
    <description>&lt;P&gt;It sounds like you don't have connectivity / network routing from where you are running your code to where you are trying to connect to, or that the service is not available on that port. Have you tried telnet'ing to the host and port?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 13:20:15 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-03-05T13:20:15Z</dc:date>
    <item>
      <title>Getting connection time out error</title>
      <link>https://community.splunk.com/t5/Splunk-On-Call/Getting-connection-time-out-error/m-p/679584#M100</link>
      <description>&lt;P&gt;I am trying to trigger the splunk search query from Java but getting connection time out , below is stack trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RROR 2024-03-05 15:17:06,830 [http-nio-9091-exec-2] traceID= app=NONE ver=0.0 geo=eu businessGeo= serviceGroupId=NONE env=local cl=com.nike.backstopper.handler.spring.SpringUnhandledExceptionHandler messageId= messageType= messageSourceId= : Caught unhandled exception: error_uid=e4efc159-ad38-4ab5-8bf1-4e277c49448b, dtrace_id=null, exception_class=java.lang.RuntimeException, returned_http_status_code=500, contributing_errors="GENERIC_SERVICE_ERROR", request_uri="/node/intgpltfm/messagetypes/v1/hello", request_method="GET", query_string="null", request_headers="authorization=Bearer&amp;nbsp; token value,postman-token=a37269d8-fb3a-498b-85f6-acb1611f84c0,host=localhost:9091,connection=keep-alive,accept-encoding=gzip, deflate, br,user-agent=PostmanRuntime/7.36.3,accept=*/*", unhandled_error="true"&lt;BR /&gt;java.net.ConnectException: Connection timed out: connect&lt;BR /&gt;at java.net.PlainSocketImpl.connect0(Native Method) ~[?:?]&lt;BR /&gt;at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101) ~[?:?]&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) ~[?:?]&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) ~[?:?]&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) ~[?:?]&lt;BR /&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]&lt;BR /&gt;at java.net.Socket.connect(Socket.java:608) ~[?:?]&lt;BR /&gt;at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:302) ~[?:?]&lt;BR /&gt;at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) ~[?:?]&lt;BR /&gt;at sun.net.NetworkClient.doConnect(NetworkClient.java:182) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.http.HttpClient.openServer(HttpClient.java:510" target="_blank" rel="noopener"&gt;www.http.HttpClient.openServer(HttpClient.java:510&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.http.HttpClient.openServer(HttpClient.java:605" target="_blank" rel="noopener"&gt;www.http.HttpClient.openServer(HttpClient.java:605&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.https.HttpsClient" target="_blank" rel="noopener"&gt;www.protocol.https.HttpsClient&lt;/A&gt;.&amp;lt;init&amp;gt;(HttpsClient.java:265) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.https.HttpsClient.New(HttpsClient.java:372" target="_blank" rel="noopener"&gt;www.protocol.https.HttpsClient.New(HttpsClient.java:372&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207" target="_blank" rel="noopener"&gt;www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:207&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187" target="_blank" rel="noopener"&gt;www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081" target="_blank" rel="noopener"&gt;www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193" target="_blank" rel="noopener"&gt;www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:193&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at sun.net.&lt;A href="http://www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168" target="_blank" rel="noopener"&gt;www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:168&lt;/A&gt;) ~[?:?]&lt;BR /&gt;at com.splunk.HttpService.send(HttpService.java:380) ~[splunk-1.4.0.0.jar:1.4.0]&lt;BR /&gt;... 80 more&lt;BR /&gt;Wrapped by: java.lang.RuntimeException: Connection timed out: connect&lt;BR /&gt;at com.splunk.HttpService.send(HttpService.java:382) ~[splunk-1.4.0.0.jar:1.4.0]&lt;BR /&gt;at com.splunk.Service.send(Service.java:1280) ~[splunk-1.4.0.0.jar:1.4.0]&lt;BR /&gt;at com.splunk.HttpService.get(HttpService.java:163) ~[splunk-1.4.0.0.jar:1.4.0]&lt;BR /&gt;at com.splunk.Service.export(Service.java:220) ~[splunk-1.4.0.0.jar:1.4.0]&lt;BR /&gt;at com.splunk.Service.export(Service.java:235) ~[splunk-1.4.0.0.jar:1.4.0]&lt;BR /&gt;at com.nike.na.node.intg.status.service.SplunkService.getFileList(SplunkService.java:87) ~[main/:?]&lt;BR /&gt;at com.nike.na.node.intg.status.controller.MessageTypeController.getHelloWorldMessage(MessageTypeController.java:141) ~[main/:?]&lt;BR /&gt;at com.nike.na.node.intg.status.controller.MessageTypeController$$FastClassBySpringCGLIB$$6afd90e.invoke(&amp;lt;generated&amp;gt;) ~[main/:?]&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.27.jar:5.3.27]&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.27.jar:5.3.27]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using post man as well there as well receiving the same error&lt;BR /&gt;Your assistance will be greatly appreciated!&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 12:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-On-Call/Getting-connection-time-out-error/m-p/679584#M100</guid>
      <dc:creator>amish35</dc:creator>
      <dc:date>2024-03-05T12:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting connection time out error</title>
      <link>https://community.splunk.com/t5/Splunk-On-Call/Getting-connection-time-out-error/m-p/679587#M101</link>
      <description>&lt;P&gt;It sounds like you don't have connectivity / network routing from where you are running your code to where you are trying to connect to, or that the service is not available on that port. Have you tried telnet'ing to the host and port?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 13:20:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-On-Call/Getting-connection-time-out-error/m-p/679587#M101</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-05T13:20:15Z</dc:date>
    </item>
  </channel>
</rss>

