<?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 Python Error After Upgrading from  8.2.2.1 to 9.0.2 in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/632024#M15485</link>
    <description>&lt;P&gt;Our Dev Splunk instance was recently upgraded from Splunk Enterprise 8.2.2.1 to 9.0.2.&lt;/P&gt;&lt;P&gt;I am getting the following error on our primary Search Head from python.log on splunkd restart:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;ERROR&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; &lt;SPAN&gt;config:149&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt; [&lt;SPAN&gt;HTTP&lt;/SPAN&gt; &lt;SPAN&gt;401&lt;/SPAN&gt;] &lt;SPAN&gt;Client&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;authenticated&lt;/SPAN&gt; &lt;SPAN&gt;Traceback&lt;/SPAN&gt; (&lt;SPAN&gt;most&lt;/SPAN&gt; &lt;SPAN&gt;recent&lt;/SPAN&gt; &lt;SPAN&gt;call&lt;/SPAN&gt; &lt;SPAN&gt;last&lt;/SPAN&gt;)&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;File&lt;/SPAN&gt; "&lt;SPAN&gt;/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/config.py&lt;/SPAN&gt;", &lt;SPAN&gt;line&lt;/SPAN&gt; &lt;SPAN&gt;147&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;getServerZoneInfoNoMem&lt;/SPAN&gt; &lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;times.getServerZoneinfo&lt;/SPAN&gt;() &lt;SPAN&gt;File&lt;/SPAN&gt; "&lt;SPAN&gt;/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/times.py&lt;/SPAN&gt;", &lt;SPAN&gt;line&lt;/SPAN&gt; &lt;SPAN&gt;163&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;getServerZoneinfo&lt;/SPAN&gt; &lt;SPAN&gt;serverStatus&lt;/SPAN&gt;, &lt;SPAN&gt;serverResp&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;splunk.rest.simpleRequest&lt;/SPAN&gt;('&lt;SPAN&gt;/search/timeparser/tz&lt;/SPAN&gt;', &lt;SPAN&gt;sessionKey=sessionKey&lt;/SPAN&gt;) &lt;SPAN&gt;File&lt;/SPAN&gt; "&lt;SPAN&gt;/opt/splunk/lib/python3.7/site-packages/splunk/rest/__init__.py&lt;/SPAN&gt;", &lt;SPAN&gt;line&lt;/SPAN&gt; &lt;SPAN&gt;625&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;simpleRequest&lt;/SPAN&gt; &lt;SPAN&gt;raise&lt;/SPAN&gt; &lt;SPAN&gt;splunk.AuthenticationFailed&lt;/SPAN&gt; &lt;SPAN&gt;splunk.AuthenticationFailed:&lt;/SPAN&gt; [&lt;SPAN&gt;HTTP&lt;/SPAN&gt; &lt;SPAN&gt;401&lt;/SPAN&gt;] &lt;SPAN&gt;Client&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;authenticated&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;I did a re-scan of everything using the newest version of the Upgrade Readiness App (off Splunkbase). Some apps did have a Python warning. I verified currently installed versions of each app (with the exception of Splunk Enterprise package-included apps like Splunk Secure Gateway and Splunk RapidDiag) and the documentation states our installed versions are compatible with Enterprise 9.0. It does not appear that any installed apps are using a deprecated version of python.&lt;BR /&gt;&lt;BR /&gt;I also ran the following command and verified our python version as &lt;SPAN&gt;Python 3.7.11&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;splunk cmd python -V&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;After combing over known issues for the 9.0 release&lt;/SPAN&gt; and other Answers threads I’ve had no luck. I don’t know if this errors is meaningful so direction would be advised.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2023 15:24:43 GMT</pubDate>
    <dc:creator>splunkkitty</dc:creator>
    <dc:date>2023-02-23T15:24:43Z</dc:date>
    <item>
      <title>Python Error After Upgrading from  8.2.2.1 to 9.0.2</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/632024#M15485</link>
      <description>&lt;P&gt;Our Dev Splunk instance was recently upgraded from Splunk Enterprise 8.2.2.1 to 9.0.2.&lt;/P&gt;&lt;P&gt;I am getting the following error on our primary Search Head from python.log on splunkd restart:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;ERROR&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; &lt;SPAN&gt;config:149&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt; [&lt;SPAN&gt;HTTP&lt;/SPAN&gt; &lt;SPAN&gt;401&lt;/SPAN&gt;] &lt;SPAN&gt;Client&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;authenticated&lt;/SPAN&gt; &lt;SPAN&gt;Traceback&lt;/SPAN&gt; (&lt;SPAN&gt;most&lt;/SPAN&gt; &lt;SPAN&gt;recent&lt;/SPAN&gt; &lt;SPAN&gt;call&lt;/SPAN&gt; &lt;SPAN&gt;last&lt;/SPAN&gt;)&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;File&lt;/SPAN&gt; "&lt;SPAN&gt;/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/config.py&lt;/SPAN&gt;", &lt;SPAN&gt;line&lt;/SPAN&gt; &lt;SPAN&gt;147&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;getServerZoneInfoNoMem&lt;/SPAN&gt; &lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;times.getServerZoneinfo&lt;/SPAN&gt;() &lt;SPAN&gt;File&lt;/SPAN&gt; "&lt;SPAN&gt;/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/times.py&lt;/SPAN&gt;", &lt;SPAN&gt;line&lt;/SPAN&gt; &lt;SPAN&gt;163&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;getServerZoneinfo&lt;/SPAN&gt; &lt;SPAN&gt;serverStatus&lt;/SPAN&gt;, &lt;SPAN&gt;serverResp&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;splunk.rest.simpleRequest&lt;/SPAN&gt;('&lt;SPAN&gt;/search/timeparser/tz&lt;/SPAN&gt;', &lt;SPAN&gt;sessionKey=sessionKey&lt;/SPAN&gt;) &lt;SPAN&gt;File&lt;/SPAN&gt; "&lt;SPAN&gt;/opt/splunk/lib/python3.7/site-packages/splunk/rest/__init__.py&lt;/SPAN&gt;", &lt;SPAN&gt;line&lt;/SPAN&gt; &lt;SPAN&gt;625&lt;/SPAN&gt;, &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;simpleRequest&lt;/SPAN&gt; &lt;SPAN&gt;raise&lt;/SPAN&gt; &lt;SPAN&gt;splunk.AuthenticationFailed&lt;/SPAN&gt; &lt;SPAN&gt;splunk.AuthenticationFailed:&lt;/SPAN&gt; [&lt;SPAN&gt;HTTP&lt;/SPAN&gt; &lt;SPAN&gt;401&lt;/SPAN&gt;] &lt;SPAN&gt;Client&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;authenticated&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;I did a re-scan of everything using the newest version of the Upgrade Readiness App (off Splunkbase). Some apps did have a Python warning. I verified currently installed versions of each app (with the exception of Splunk Enterprise package-included apps like Splunk Secure Gateway and Splunk RapidDiag) and the documentation states our installed versions are compatible with Enterprise 9.0. It does not appear that any installed apps are using a deprecated version of python.&lt;BR /&gt;&lt;BR /&gt;I also ran the following command and verified our python version as &lt;SPAN&gt;Python 3.7.11&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;splunk cmd python -V&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;After combing over known issues for the 9.0 release&lt;/SPAN&gt; and other Answers threads I’ve had no luck. I don’t know if this errors is meaningful so direction would be advised.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 15:24:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/632024#M15485</guid>
      <dc:creator>splunkkitty</dc:creator>
      <dc:date>2023-02-23T15:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python Error After Upgrading from  8.2.2.1 to 9.0.2</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/648220#M16649</link>
      <description>&lt;P&gt;I am getting the same errors on my hf's, did you get any assistance on this?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 16:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/648220#M16649</guid>
      <dc:creator>terry_berryhill</dc:creator>
      <dc:date>2023-06-26T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python Error After Upgrading from  8.2.2.1 to 9.0.2</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/648832#M16704</link>
      <description>&lt;P&gt;Hey, &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230551"&gt;@terry_berryhill&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;The 401 errors are expected when Splunk restarts and the web client attempts to reconnect using old cookies. According to Splunk support the 401 errors can be safely ignored.&lt;BR /&gt;&lt;BR /&gt;Issue number:&lt;BR /&gt;SPL-206763&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 17:31:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/648832#M16704</guid>
      <dc:creator>splunkkitty</dc:creator>
      <dc:date>2023-06-30T17:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python Error After Upgrading from  8.2.2.1 to 9.0.2</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/648838#M16705</link>
      <description>&lt;P&gt;It appears that when we upgraded from 8.2.2.1 to 9.0.2 Splunk assist was turned on.&amp;nbsp; We turned off Splunk Assist (we do not have Splunk Cloud services)&amp;nbsp; the errors stopped.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 19:36:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Python-Error-After-Upgrading-from-8-2-2-1-to-9-0-2/m-p/648838#M16705</guid>
      <dc:creator>terry_berryhill</dc:creator>
      <dc:date>2023-06-30T19:36:37Z</dc:date>
    </item>
  </channel>
</rss>

