<?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 HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 - Splunk Add-on Builder in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/HTTP-client-error-Read-Timeout-while-accessing-server-http-127-0/m-p/674410#M18382</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am adding an Alert Action with Splunk Add-on Builder, but when I click “save” it basically goes in timeout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edoardo_vicendo_0-1705422916160.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28954iBCCD56E01904B996/image-size/large?v=v2&amp;amp;px=999" role="button" title="edoardo_vicendo_0-1705422916160.png" alt="edoardo_vicendo_0-1705422916160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;01-16-2024 17:01:31.340 +0100 ERROR HttpClientRequest [24831 TcpChannelThread] - HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 for request=http://127.0.0.1:8065/en-US/custom/splunk_app_addon-builder/app_edit_modularalert/add_modular_alert.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meanwhile if I open a new tab on the browser, whichever page I request falls in timeout as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edoardo_vicendo_1-1705422953178.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28955i48D90C20311D013D/image-size/large?v=v2&amp;amp;px=999" role="button" title="edoardo_vicendo_1-1705422953178.png" alt="edoardo_vicendo_1-1705422953178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;01-16-2024 17:02:18.114 +0100 ERROR HttpClientRequest [7954 TcpChannelThread] - HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 for request=http://127.0.0.1:8065/en-US.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking into the /opt/splunk/etc/apps folder it seems my app stuck in TA-splunk-myapp_temp_output folder meanwhile is saving.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk@SearchHead:~/etc/apps &amp;gt; ls -latr
drwxrwxrwx  10 splunk splunk     4096 Jan 15 16:02 TA-splunk-myapp
…
drwxrwxrwx   3 splunk splunk     4096 Jan 16 16:53 TA-splunk-myapp_temp_output&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;cancel the TA-splunk-myapp_temp_output folder, restart Splunk and try again saving.&lt;/LI&gt;&lt;LI&gt;increase performance from 16CPU/32GB to 32CPU/64GB&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;but I have the same issue.&lt;/P&gt;&lt;P&gt;It seems that the timeout comes from the “appserver” that runs on port 8065.&lt;/P&gt;&lt;P&gt;&lt;A href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.splunk.com%2FDocumentation%2FSplunk%2Flatest%2FAdmin%2FWebconf&amp;amp;data=05%7C02%7Cedoardo.vicendone%40avaloq.com%7C418e6892c0164a1fc97e08dc16b0c971%7C2ba8a4bf3d7a478bb8d185cae49436ef%7C0%7C0%7C638410195819539219%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=jB55CNX7ovPRNzPK%2FHg6XVMlly14wsrxKVCcGLeaMGU%3D&amp;amp;reserved=0" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Webconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;appServerPorts = &amp;lt;positive integer&amp;gt;[, &amp;lt;positive integer&amp;gt;, &amp;lt;positive integer&amp;gt; ...]

* Port number(s) for the python-based application server to listen on.

  This port is bound only on the loopback interface -- it is not

  exposed to the network at large.

* Generally, you should only set one port number here. For most

  deployments a single application server won't be a performance

  bottleneck. However you can provide a comma-separated list of

  port numbers here and splunkd will start a load-balanced

  application server on each one.

* At one time, setting this to zero indicated that the web service

  should be run in a legacy mode as a separate service, but as of

  Splunk 8.0 this is no longer supported.

* Default: 8065&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking about:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Put the logs in DEBUG&lt;/LI&gt;&lt;LI&gt;Adding other ports to start load-balanced application server&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion is really appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Edoardo&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2024 16:45:39 GMT</pubDate>
    <dc:creator>edoardo_vicendo</dc:creator>
    <dc:date>2024-01-16T16:45:39Z</dc:date>
    <item>
      <title>HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 - Splunk Add-on Builder</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/HTTP-client-error-Read-Timeout-while-accessing-server-http-127-0/m-p/674410#M18382</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am adding an Alert Action with Splunk Add-on Builder, but when I click “save” it basically goes in timeout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edoardo_vicendo_0-1705422916160.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28954iBCCD56E01904B996/image-size/large?v=v2&amp;amp;px=999" role="button" title="edoardo_vicendo_0-1705422916160.png" alt="edoardo_vicendo_0-1705422916160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;01-16-2024 17:01:31.340 +0100 ERROR HttpClientRequest [24831 TcpChannelThread] - HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 for request=http://127.0.0.1:8065/en-US/custom/splunk_app_addon-builder/app_edit_modularalert/add_modular_alert.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meanwhile if I open a new tab on the browser, whichever page I request falls in timeout as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edoardo_vicendo_1-1705422953178.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28955i48D90C20311D013D/image-size/large?v=v2&amp;amp;px=999" role="button" title="edoardo_vicendo_1-1705422953178.png" alt="edoardo_vicendo_1-1705422953178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;01-16-2024 17:02:18.114 +0100 ERROR HttpClientRequest [7954 TcpChannelThread] - HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 for request=http://127.0.0.1:8065/en-US.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking into the /opt/splunk/etc/apps folder it seems my app stuck in TA-splunk-myapp_temp_output folder meanwhile is saving.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk@SearchHead:~/etc/apps &amp;gt; ls -latr
drwxrwxrwx  10 splunk splunk     4096 Jan 15 16:02 TA-splunk-myapp
…
drwxrwxrwx   3 splunk splunk     4096 Jan 16 16:53 TA-splunk-myapp_temp_output&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;cancel the TA-splunk-myapp_temp_output folder, restart Splunk and try again saving.&lt;/LI&gt;&lt;LI&gt;increase performance from 16CPU/32GB to 32CPU/64GB&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;but I have the same issue.&lt;/P&gt;&lt;P&gt;It seems that the timeout comes from the “appserver” that runs on port 8065.&lt;/P&gt;&lt;P&gt;&lt;A href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.splunk.com%2FDocumentation%2FSplunk%2Flatest%2FAdmin%2FWebconf&amp;amp;data=05%7C02%7Cedoardo.vicendone%40avaloq.com%7C418e6892c0164a1fc97e08dc16b0c971%7C2ba8a4bf3d7a478bb8d185cae49436ef%7C0%7C0%7C638410195819539219%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=jB55CNX7ovPRNzPK%2FHg6XVMlly14wsrxKVCcGLeaMGU%3D&amp;amp;reserved=0" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Webconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;appServerPorts = &amp;lt;positive integer&amp;gt;[, &amp;lt;positive integer&amp;gt;, &amp;lt;positive integer&amp;gt; ...]

* Port number(s) for the python-based application server to listen on.

  This port is bound only on the loopback interface -- it is not

  exposed to the network at large.

* Generally, you should only set one port number here. For most

  deployments a single application server won't be a performance

  bottleneck. However you can provide a comma-separated list of

  port numbers here and splunkd will start a load-balanced

  application server on each one.

* At one time, setting this to zero indicated that the web service

  should be run in a legacy mode as a separate service, but as of

  Splunk 8.0 this is no longer supported.

* Default: 8065&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking about:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Put the logs in DEBUG&lt;/LI&gt;&lt;LI&gt;Adding other ports to start load-balanced application server&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion is really appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Edoardo&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 16:45:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/HTTP-client-error-Read-Timeout-while-accessing-server-http-127-0/m-p/674410#M18382</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2024-01-16T16:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP client error=Read Timeout while accessing server=http://127.0.0.1:8065 - Splunk Add-on Builder</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/HTTP-client-error-Read-Timeout-while-accessing-server-http-127-0/m-p/674551#M18395</link>
      <description>&lt;P&gt;For the time being I have solved the issue saving the code one piece at a time.&lt;/P&gt;&lt;P&gt;Saving the 200 lines of code in one shot was generating the problem...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restarting Splunk in DEBUG mode can point in the right direction to understand the root cause, but the amount of messages is really huge.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 16:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/HTTP-client-error-Read-Timeout-while-accessing-server-http-127-0/m-p/674551#M18395</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2024-01-17T16:34:03Z</dc:date>
    </item>
  </channel>
</rss>

