Installation

Cannot load Splunk add-on(s) or apps pages in Splunk GUI after upgrade to Splunk 8.0.2.1

mlevsh
Builder

Hi,

We've just upgraded our Splunk Enterprise Heavy Forwarder from 7.2.9.1 to 8.0.2.1 and now we cannot load any page (inputs, configurations, etc) for Add-on(s) installed on that server. Search & Reporting App is working.

1) Splunk add-on for ServiceNow version 6.0.0  , supports SE  version 8

2) Splunk add-on for AWS version 5.0.2 , supports SE version  8 
3) The Splunk Platform Upgrade Readiness App v 2.2.1 , supports SE version  8

Clicking F12 on the hanged page would give the errors similar to this (using Splunk add-on for AWS as an example)

https://our_server/en-US/static/@7888...:793/app/Splunk_TA_aws/polyfill.min.js not::ERR_ABORTED 500 (Internal Server Error)  inputs:62

Appreciate any ideas.

Labels (3)
0 Karma
1 Solution

mlevsh
Builder

Per Splunk support engineer, we ran into the bug: SPL-188961. and we had two options

1) Introduce the workaround:
Modify /opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/i18n.py by  added encoding='utf-8' in line number 891 in the i18n.py file.
Change this line
                 with open(tmp_file, 'w', newline='\n') as f:
To this:
               with open(tmp_file, 'w', newline='\n', encoding='utf-8') as f:
2) Update to the version that has the fix built in: 8.0.5 or 8.0.6

We updated to version 8.0.6 and it fixed the issues

View solution in original post

0 Karma

mlevsh
Builder

Per Splunk support engineer, we ran into the bug: SPL-188961. and we had two options

1) Introduce the workaround:
Modify /opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/i18n.py by  added encoding='utf-8' in line number 891 in the i18n.py file.
Change this line
                 with open(tmp_file, 'w', newline='\n') as f:
To this:
               with open(tmp_file, 'w', newline='\n', encoding='utf-8') as f:
2) Update to the version that has the fix built in: 8.0.5 or 8.0.6

We updated to version 8.0.6 and it fixed the issues

0 Karma
Get Updates on the Splunk Community!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...