<?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: cooked connection timed out? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50653#M9676</link>
    <description>&lt;P&gt;If the issue is persistent, I suspect your forwarder is configured to setup an unencrypted connection to the indexer but the indexer only accepts encrypted connections - or vice versa.&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2012 21:29:39 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-05-30T21:29:39Z</dc:date>
    <item>
      <title>cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50651#M9674</link>
      <description>&lt;P&gt;I see some of these time outs in the /var/log/splunk/splunk.log&lt;BR /&gt;
Is this something I should be concerned about? Does the forwarder try a resend? Is this a potential data loss? or if there's a retry, does it handle the resend gracefully?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-13-2012 01:52:56.098 +0000 INFO  TcpOutputProc - Connected to idx=x.x.x.x:9997
01-13-2012 01:54:15.760 +0000 WARN  TcpOutputProc - Cooked connection to ip=x.x.x.x:9997 timed out
01-13-2012 01:54:15.762 +0000 INFO  TcpOutputProc - Connected to idx=x.x.x.x:9997
01-13-2012 01:54:45.592 +0000 WARN  TcpOutputProc - Cooked connection to ip=x.x.x.x:9997 timed out
01-13-2012 01:55:15.423 +0000 WARN  TcpOutputProc - Cooked connection to ip=x.x.x.x:9997 timed out
01-13-2012 01:55:15.424 +0000 INFO  TcpOutputProc - Connected to idx=x.x.x.x:9997
01-13-2012 01:55:34.333 +0000 INFO  TcpOutputProc - Connected to idx=x.x.x.x:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 02:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50651#M9674</guid>
      <dc:creator>suhprano</dc:creator>
      <dc:date>2012-01-13T02:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50652#M9675</link>
      <description>&lt;P&gt;having the same issue, data is not being forwarded. did you find what was the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 21:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50652#M9675</guid>
      <dc:creator>nurtdi</dc:creator>
      <dc:date>2012-05-30T21:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50653#M9676</link>
      <description>&lt;P&gt;If the issue is persistent, I suspect your forwarder is configured to setup an unencrypted connection to the indexer but the indexer only accepts encrypted connections - or vice versa.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 21:29:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50653#M9676</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-05-30T21:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50654#M9677</link>
      <description>&lt;P&gt;Thank you for your response, Ayn. I have both forwarder and receiver to use ssl... and I have done it many times... not sure what is different this time. &lt;/P&gt;

&lt;P&gt;I have case opened, will see:&lt;BR /&gt;
Description: WARN  TcpOutputProc - Cooked connection to ip=xx.xx.xx.xx:9992 timed out&lt;/P&gt;

&lt;P&gt;forwarder:&lt;BR /&gt;
-bash-3.2# cat outputs.conf&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
defaultGroup = splunkssl-LB&lt;/P&gt;

&lt;P&gt;[tcpout:splunkssl-LB]&lt;BR /&gt;
server = splunk06:9992&lt;BR /&gt;
compressed = true&lt;/P&gt;

&lt;P&gt;[tcpout-server://splunk06:9992]&lt;BR /&gt;
sslCertPath = $SPLUNK_HOME/etc/certs/forwarder.pem&lt;BR /&gt;
sslCommonNameToCheck = indexer&lt;BR /&gt;
sslPassword = xxxxxxxxxxxxxxxx&lt;BR /&gt;
sslRootCAPath = $SPLUNK_HOME/etc/certs/cacert.pem &lt;BR /&gt;
sslVerifyServerCert = true&lt;/P&gt;

&lt;P&gt;receiver:&lt;BR /&gt;
# HOST&lt;BR /&gt;
[default]&lt;BR /&gt;
host = splunk06&lt;/P&gt;

&lt;P&gt;[SSL]&lt;BR /&gt;
password = xxxxxxxxxxxxxxxxxxx&lt;BR /&gt;
requireClientCert = true&lt;BR /&gt;
rootCA = $SPLUNK_HOME/etc/certs/cacert.pem &lt;BR /&gt;
serverCert = $SPLUNK_HOME/etc/certs/indexer.pem&lt;/P&gt;

&lt;P&gt;[splunktcp-ssl://9992]&lt;BR /&gt;
compressed = true&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50654#M9677</guid>
      <dc:creator>nurtdi</dc:creator>
      <dc:date>2020-09-28T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50655#M9678</link>
      <description>&lt;P&gt;found the issue - missing indexer cert&lt;BR /&gt;
I wish it was easier to find in the forwarder log why connection was timing out...&lt;/P&gt;

&lt;P&gt;closing the case. thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 23:51:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50655#M9678</guid>
      <dc:creator>nurtdi</dc:creator>
      <dc:date>2012-05-30T23:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50656#M9679</link>
      <description>&lt;P&gt;Excellent! Please mark some answer here as accepted, it shows that the "case is closed" so to speak &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 09:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50656#M9679</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-05-31T09:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50657#M9680</link>
      <description>&lt;P&gt;I just setup my new implementation and I am getting this error message intermittently for one of the three indexers, which is randomly "picked" to report this error. Forwarders and Indexers are otherwise communicating properly. What else might I look for as possible cause for this situation?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2012 15:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50657#M9680</guid>
      <dc:creator>rgcurry</dc:creator>
      <dc:date>2012-09-25T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50658#M9681</link>
      <description>&lt;P&gt;thanks Ayn, you saved my day once again &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 09:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50658#M9681</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-10-30T09:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50659#M9682</link>
      <description>&lt;P&gt;A customer I was working with ran into the same issue. The issue was somehow they ended up with two outputs.conf files (paths below) on the Universal Forwarder with 2 diff indexer IPs being pointed to. The first file below had the correct IP of the indexer; the second file did not - the IP went nowhere. Since the second file has priority, the UF only started working once they pointed this second file to the correct IP. &lt;/P&gt;

&lt;P&gt;C:\Program Files\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local&lt;BR /&gt;
C:\Program Files\SplunkUniversalForwarder\etc\system\local  &lt;/P&gt;

&lt;P&gt;BTW, not sure how they ended up with the 2 diff IPs. Also best practice of course is just have the IP of the indexer in one place to make it management easier.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2013 00:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50659#M9682</guid>
      <dc:creator>jgoldberg_splun</dc:creator>
      <dc:date>2013-01-01T00:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50660#M9683</link>
      <description>&lt;P&gt;@nurtdi  we are having this same issue between one of our indexers and search head.  Could you give me more detail on how you resolved your issue?  Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:35:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50660#M9683</guid>
      <dc:creator>mookiie2005</dc:creator>
      <dc:date>2013-08-28T15:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50661#M9684</link>
      <description>&lt;P&gt;We now manage our splunk distributed search infrastructure with puppet. &lt;BR /&gt;
To solve the problem I had deleted all search peers from each search head and then re-added them on each.&lt;/P&gt;

&lt;P&gt;Here is a snippet from the script to run on search head:&lt;/P&gt;

&lt;P&gt;search_peer_list="splunkidx1 splunkidx2"&lt;/P&gt;

&lt;P&gt;splunk_pswd="splunkadminpassword"&lt;/P&gt;

&lt;P&gt;for indexer_name in ${search_peer_list}&lt;/P&gt;

&lt;P&gt;do&lt;BR /&gt;
  ${splunk_home}/bin/splunk add search-server -host ${indexer_name}:8089 -auth admin:${splunk_pswd} -remoteUsername admin -remotePassword ${splunk_pswd}&lt;/P&gt;

&lt;P&gt;done&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 16:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50661#M9684</guid>
      <dc:creator>nurtdi</dc:creator>
      <dc:date>2013-08-28T16:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50662#M9685</link>
      <description>&lt;P&gt;@rgcurry we are having the same problem between an indexer and the search head.  Were you able to resolve your issue? Please share if you found a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2013 18:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50662#M9685</guid>
      <dc:creator>mookiie2005</dc:creator>
      <dc:date>2013-08-30T18:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50663#M9686</link>
      <description>&lt;P&gt;I solved this issue by editing etc/system/local/inputs.conf on the receiving/ indexing server.&lt;BR /&gt;
As noted under &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Forwarding/Enableareceiver"&gt;Set up receiving with the configuration file&lt;/A&gt; all I had to do was add:&lt;BR /&gt;&lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;These are the basic commands I ran on the forwarder linux server:&lt;BR /&gt;&lt;BR /&gt;
bin/splunk add monitor /logfile-gc.log -sourcetype gc&lt;BR /&gt;&lt;BR /&gt;
bin/splunk add forward-server 192.168.0.1:9997&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2013 17:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50663#M9686</guid>
      <dc:creator>dfredell</dc:creator>
      <dc:date>2013-12-31T17:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50664#M9687</link>
      <description>&lt;P&gt;I do not understand how this solved the issue. I have the issue sometimes (as seems to be the case in your question), that is, not always. Simply a misisng certificate would mean the problem should always happen, right?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 09:24:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50664#M9687</guid>
      <dc:creator>anderius</dc:creator>
      <dc:date>2015-01-09T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50665#M9688</link>
      <description>&lt;P&gt;It would be better to post the correct answer as a new answer, and then mark it...&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 09:26:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50665#M9688</guid>
      <dc:creator>anderius</dc:creator>
      <dc:date>2015-01-09T09:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50666#M9689</link>
      <description>&lt;P&gt;I had configured the input in $SPLUNK_HOME/etc/system/local/inputs.conf. That is incorrect. I deleted that input stanza, and re-added the input through the GUI, and the new stanza was created in $SPLUNK_HOME/etc/apps/search/local/inputs.conf. All is good again!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:40:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50666#M9689</guid>
      <dc:creator>bnorthway</dc:creator>
      <dc:date>2020-09-29T06:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50667#M9690</link>
      <description>&lt;P&gt;Has it ever been able to send logs to your indexers? If not, verify that your universal fowarder can:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; telnet splunkservername 9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that is successful, rule out slow/problematic dns resolutions by configuring your hosts file to map that server name to its IP. Report back after ruling these out. If you try both of these and there are still issues, chances are the problem is on the indexer and not your client sending data. You can also try setting connection_host=false in your inputs.conf for the 9997 stanza, making sure the indexer isn't trying to resolve the name of the forwarder. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 13:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50667#M9690</guid>
      <dc:creator>risgupta_splunk</dc:creator>
      <dc:date>2016-12-13T13:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50668#M9691</link>
      <description>&lt;P&gt;I appreciate everyone who contirbuted to this issue.  What I ended up finding/figuring out is that the above errors were actually a symptom of a much larger issue.  When I could not find any reason log entries were not being sent over, I checked the internal logs and found that some in fact did get over into the splunk instance.  This istance had been reporting being near or at the maximum concurrent searches.  Once I looked at the logs and combined this issue with users reporting that logs were not getting indexed for display on their dashboards, but when I would look into it the data was there.  Eventually I decided to take a look at teh indexer and that is when I found that all teh queues, indexing, typing, parsing, and merging were all at or nearly constantly at 100%.  Once I saw that everything started to make sense, the indexer is backed up and cannot keep up with volume, at this point I am assuming an issue with IOPS as the hardware is well within the splunk specifications, except for disk, as Our group was not involved/consulted on the install and all we have been told is that it is tier 1 storage, but at the moment we have no idea how many IOPS that offers.  That is what we are investigating now.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 15:09:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50668#M9691</guid>
      <dc:creator>mookiie2005</dc:creator>
      <dc:date>2016-12-13T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50669#M9692</link>
      <description>&lt;P&gt;@nurtdi Can you specify what is an indexer cert. How to check its validity and details? &lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 09:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50669#M9692</guid>
      <dc:creator>ayushmaan</dc:creator>
      <dc:date>2019-05-13T09:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: cooked connection timed out?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50670#M9693</link>
      <description>&lt;P&gt;please check the documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Security/ConfigureSplunkforwardingtousesignedcertificates"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Security/ConfigureSplunkforwardingtousesignedcertificates&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 14:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cooked-connection-timed-out/m-p/50670#M9693</guid>
      <dc:creator>nurtdi</dc:creator>
      <dc:date>2019-05-13T14:54:41Z</dc:date>
    </item>
  </channel>
</rss>

