<?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: HTTP Client Timeout in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167575#M1846</link>
    <description>&lt;P&gt;Did you find a solution?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2014 19:34:49 GMT</pubDate>
    <dc:creator>bigtyma</dc:creator>
    <dc:date>2014-10-29T19:34:49Z</dc:date>
    <item>
      <title>HTTP Client Timeout</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167574#M1845</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;during evaluation of Splunk I created a new data model, called NG_Events.&lt;BR /&gt;
A report has been scheduled every 15 Minutes.&lt;BR /&gt;
The issue: Every time the scheduled search is executed by the scheduler, the following messages are logged into splunkd.log:&lt;/P&gt;

&lt;P&gt;12-05-2013 08:30:08.336 +0000 WARN  NetUtils - select_for timeout hit waiting for read&lt;BR /&gt;
12-05-2013 08:30:08.336 +0000 WARN  NetUtils - Bad select_for_loop rv = -2&lt;BR /&gt;
12-05-2013 08:30:08.337 +0000 ERROR HTTPClient - Should have gotten at least 3 tokens in status line, while getting response code.  Only got 0.&lt;BR /&gt;
12-05-2013 08:30:08.337 +0000 WARN  HTTPClient - Read from=127.0.0.1:8004 timed out; exceeded 5sec&lt;BR /&gt;
12-05-2013 08:30:08.337 +0000 ERROR PivotProcessor - Unable to fetch datamodelreport REST endpoint '/servicesNS/admin/search/datamodel/pivot/NG_Events' from '&lt;A href="https://127.0.0.1:8004" target="_blank"&gt;https://127.0.0.1:8004&lt;/A&gt;'&lt;BR /&gt;
12-05-2013 08:30:08.706 +0000 WARN  HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/admin/search/datamodel/pivot/NG_Events: Broken pipe&lt;/P&gt;

&lt;P&gt;Although I have found similar timeout error already mentioned in other entries on this forum, there was never a solution provided to this problem.&lt;/P&gt;

&lt;P&gt;In my case this looks just like a simple timeout of the HTTP Client and I would like to extend the timeout. The machine hosting the instance is also under some load.&lt;BR /&gt;
If I schedule the report to run every minute, than the error pops up only every third time the scheduled search is executed.&lt;BR /&gt;
Looking at server.conf I could not identify any setting, that would increase the HTTPClient timeout.&lt;BR /&gt;
Is there any way to increase the timeout for HTTP Client?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167574#M1845</guid>
      <dc:creator>hkaiser</dc:creator>
      <dc:date>2020-09-28T15:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Client Timeout</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167575#M1846</link>
      <description>&lt;P&gt;Did you find a solution?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 19:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167575#M1846</guid>
      <dc:creator>bigtyma</dc:creator>
      <dc:date>2014-10-29T19:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Client Timeout</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167576#M1847</link>
      <description>&lt;P&gt;Is your server oversubscribed like this post mentions:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/217/error-httpclient-should-have-gotten-at-least-3-tokens-in-status-line-while-getting-response-code-only-got-0-what-does-it-mean.html"&gt;https://answers.splunk.com/answers/217/error-httpclient-should-have-gotten-at-least-3-tokens-in-status-line-while-getting-response-code-only-got-0-what-does-it-mean.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Splunk on splunk might be a nice way to figure out if it is:&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/748/"&gt;https://splunkbase.splunk.com/app/748/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 22:49:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167576#M1847</guid>
      <dc:creator>bohanlon_splunk</dc:creator>
      <dc:date>2016-01-30T22:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Client Timeout</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167577#M1848</link>
      <description>&lt;P&gt;Splunk user's session times out has  three timeout settings:&lt;/P&gt;

&lt;P&gt;splunkweb session timeout.&lt;BR /&gt;
  splunkd session timeout.&lt;BR /&gt;
 browser session timeout.&lt;/P&gt;

&lt;P&gt;The splunkweb and splunkd timeouts determine the maximum idle time in the interaction between browser and Splunk.......&lt;BR /&gt;
 splunkweb and splunkd timeouts generally have the same value, as the same field sets both of them. ....for this u have to go to&lt;BR /&gt;
Settings---------------&amp;gt;General Settings----------------&amp;gt;Session timeout ---------&amp;gt;generally default value is 1h------&amp;gt; change it  to 6h or more.........&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/HTTP-Client-Timeout/m-p/167577#M1848</guid>
      <dc:creator>rakeshh123</dc:creator>
      <dc:date>2016-02-01T12:28:45Z</dc:date>
    </item>
  </channel>
</rss>

