<?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: Winsock error 10061 while opening Splunk web in Security</title>
    <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379242#M9324</link>
    <description>&lt;P&gt;Do you have a local install of python by any chance?&lt;BR /&gt;
Make sure there is no locally installed Python presented to Splunk as a default (environment variables etc.).&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 11:07:32 GMT</pubDate>
    <dc:creator>Azeemering</dc:creator>
    <dc:date>2018-06-11T11:07:32Z</dc:date>
    <item>
      <title>Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379239#M9321</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I am trying to install Splunk Enterprise 7.1.1 on my local windows 10 machine and on board some of the security data for analysis. I have installed it as documented but unable to open the Splunk web and facing below error while opening.&lt;/P&gt;

&lt;P&gt;This XML file does not appear to have any style information associated with it. The document tree is shown below.&lt;/P&gt;

&lt;H1&gt;Error connecting: Winsock error 10061&lt;/H1&gt;

&lt;P&gt;I have checked the documents and Splunk community for any solution but didn't find any relevant answers. Hope you could help to resolve the  issue. Thanks in advance.&lt;/P&gt;

&lt;P&gt;Few extracts from the Splunkd.log and web_service.log&lt;/P&gt;

&lt;P&gt;06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py"" Traceback (most recent call last):&lt;BR /&gt;
06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""   File "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py", line 66, in &lt;BR /&gt;
06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""     from splunk_instrumentation.input import run_input  # noqa: E402&lt;BR /&gt;
06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""   File "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\splunk_instrumentation\input.py", line 13, in &lt;BR /&gt;
06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""     from schedule_manager import ScheduleManager&lt;BR /&gt;
06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""   File "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\splunk_instrumentation\schedule_manager.py", line 4, in &lt;BR /&gt;
06-10-2018 23:00:02.535 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""     from splunk_instrumentation.packager import Packager&lt;BR /&gt;
06-10-2018 23:00:02.536 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\instrumentation.py""   File "C:\Program Files\Splunk\etc\apps\splunk_instrumentation\bin\splunk_instrumentation\packager_&lt;EM&gt;init&lt;/EM&gt;_.py", line 3, in &lt;/P&gt;

&lt;P&gt;2018-06-10 22:30:54,345 ERROR   [5b1d5943d72239cf6a080] root:825 - Unable to start splunkweb&lt;BR /&gt;
2018-06-10 22:30:54,346 ERROR   [5b1d5943d72239cf6a080] root:826 - invalid syntax (enum.py, line 265)&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\root.py", line 102, in &lt;BR /&gt;
    from controllers.top import *&lt;BR /&gt;
  File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\controllers\top.py", line 30, in &lt;BR /&gt;
    from proxy import ProxyController&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379239#M9321</guid>
      <dc:creator>siva_cg</dc:creator>
      <dc:date>2020-09-29T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379240#M9322</link>
      <description>&lt;P&gt;Can you check if the Splunkd Service is running? (Search and type services.msc)&lt;/P&gt;

&lt;P&gt;Winsock error 10061:&lt;BR /&gt;
Connection refused.&lt;BR /&gt;
No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host—that is, one with no server application running.&lt;/P&gt;

&lt;P&gt;So either it loos like the service is not running or you have some sort of permission issue on your Windows10 install.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 09:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379240#M9322</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2018-06-11T09:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379241#M9323</link>
      <description>&lt;P&gt;Hi @Azeemering,&lt;/P&gt;

&lt;P&gt;Thank you for your response. Splunk service is running. I have installed Splunk as local user with admin privileges. &lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 10:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379241#M9323</guid>
      <dc:creator>siva_cg</dc:creator>
      <dc:date>2018-06-11T10:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379242#M9324</link>
      <description>&lt;P&gt;Do you have a local install of python by any chance?&lt;BR /&gt;
Make sure there is no locally installed Python presented to Splunk as a default (environment variables etc.).&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:07:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379242#M9324</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2018-06-11T11:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379243#M9325</link>
      <description>&lt;P&gt;Hi @Azeemering,&lt;/P&gt;

&lt;P&gt;Yes, I have Python installed on my local machine and environment variable specified. What will be solution in this case? Do I need to remove Python variable? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:17:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379243#M9325</guid>
      <dc:creator>siva_cg</dc:creator>
      <dc:date>2018-06-11T11:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379244#M9326</link>
      <description>&lt;P&gt;You need to uninstall python I guess...the versions are conflicting eachother and causing this issue.&lt;BR /&gt;
Or you could try and play around with the Variables.&lt;BR /&gt;
Splunk comes packaged with  Python version 2.7&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:20:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379244#M9326</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2018-06-11T11:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379245#M9327</link>
      <description>&lt;P&gt;Thank you. I will try to play with variables first and if not succeeded, I will uninstall Python. Thank you very much once again.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:53:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379245#M9327</guid>
      <dc:creator>siva_cg</dc:creator>
      <dc:date>2018-06-11T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379246#M9328</link>
      <description>&lt;P&gt;Hi All, &lt;/P&gt;

&lt;P&gt;I am facing the same error, i do not have python Installed on the server. What would be the solution. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 07:49:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379246#M9328</guid>
      <dc:creator>nhvardhan58</dc:creator>
      <dc:date>2018-09-05T07:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379247#M9329</link>
      <description>&lt;P&gt;HOw did you resolve this issue? &lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 03:51:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379247#M9329</guid>
      <dc:creator>RAVIKR</dc:creator>
      <dc:date>2018-09-07T03:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379248#M9330</link>
      <description>&lt;P&gt;Can anybody help by letting us know how did this issue get resolved. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 04:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379248#M9330</guid>
      <dc:creator>nhvardhan58</dc:creator>
      <dc:date>2018-09-07T04:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379249#M9331</link>
      <description>&lt;P&gt;I am facing the same error, i do not have python Installed on the server. What would be the solution. &lt;/P&gt;

&lt;P&gt;Can anybody help to resolve the issue. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 04:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379249#M9331</guid>
      <dc:creator>nhvardhan58</dc:creator>
      <dc:date>2018-09-07T04:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379250#M9332</link>
      <description>&lt;P&gt;I am facing the same error, i do not have python Installed on the server. What would be the solution. &lt;/P&gt;

&lt;P&gt;Can anybody help to resolve the issue. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 04:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379250#M9332</guid>
      <dc:creator>nhvardhan58</dc:creator>
      <dc:date>2018-09-07T04:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Winsock error 10061 while opening Splunk web</title>
      <link>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379251#M9333</link>
      <description>&lt;P&gt;If the Splunkd Service is running but unable to start web service in Windows or Linux&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Check if the web-port configured is open and listening on the instance(sometimes another process is bound to the port)&lt;/LI&gt;
&lt;LI&gt;Check if any firewall rule has been enabled to block&lt;/LI&gt;
&lt;LI&gt;Check if Certificates and SSL is working as expected then try to restart with disabled WebSSL under web.conf to isolate the issue
[settings] 
enableSplunkWebSSL = false&lt;/LI&gt;
&lt;LI&gt;Check if any AV(Antivirus) product is running on the server.
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/ReleaseNotes/RunningSplunkalongsideWindowsantivirusproducts"&gt;https://docs.splunk.com/Documentation/Splunk/latest/ReleaseNotes/RunningSplunkalongsideWindowsantivirusproducts&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;UL&gt;
&lt;LI&gt;When you run Splunk (Enterprise or forwarder) on a host that has an anti-virus product (such as McAfee VirusScan on Windows or Trend Micro ServerProtect on Linux) installed, Splunk strongly recommends that you exclude all Splunk processes as well as the Splunk installation directory from any kind of on-access scanning. &lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Splunkd is running but once you try to restart the web service via CLI, you might come across below response:&lt;/P&gt;

&lt;P&gt;C:\Program Files\Splunk\bin&amp;gt;splunk restart splunkweb&lt;BR /&gt;
502 Couldn't complete HTTP request: Winsock error #10061 &lt;BR /&gt;
Or &lt;BR /&gt;
A server is busy message on HttpListener channel in splunkd log&lt;/P&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 02:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Winsock-error-10061-while-opening-Splunk-web/m-p/379251#M9333</guid>
      <dc:creator>dchoi_splunk</dc:creator>
      <dc:date>2019-03-15T02:34:13Z</dc:date>
    </item>
  </channel>
</rss>

