Splunk Enterprise

anyone have similar error after upgrade 9.3.1 RROR startup:116 - Unable to read in product version information; isSess

jbanAtSplunk
Communicator

2024-11-01 12:25:49,065 +0000 ERROR startup:116 - Unable to read in product version information; isSessionKeyDefined=False error=__init__() got an unexpected keyword argument 'context'
2024-11-01 12:25:49,066 +0000 INFO startup:148 - Splunk appserver version=UNKNOWN_VERSION build=000 isFree=False isTrial=True productType=splunk instanceType=UNKNOWN
2024-11-01 12:25:49,066 +0000 INFO decorators:130 - loading uri: /en-US/
2024-11-01 12:25:49,068 +0000 INFO error:342 - GET /en-US/ 127.0.0.1 8065
2024-11-01 12:25:49,068 +0000 INFO error:345 - 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.
2024-11-01 12:25:49,068 +0000 ERROR error:346 - Traceback (most recent call last):
File "/opt/splunk/lib/python3.9/site-packages/cherrypy/_cprequest.py", line 628, in respond
self._do_respond(path_info)
File "/opt/splunk/lib/python3.9/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond
response.body = self.handler()
File "/opt/splunk/lib/python3.9/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/opt/splunk/lib/python3.9/site-packages/splunk/appserver/mrsparkle/lib/htmlinjectiontoolfactory.py", line 78, in wrapper
resp = handler(*args, **kwargs)
File "/opt/splunk/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "</opt/splunk/lib/python3.9/site-packages/decorator.py:decorator-gen-1740>", line 2, in index
File "/opt/splunk/lib/python3.9/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 52, in rundecs
return fn(*a, **kw)
File "</opt/splunk/lib/python3.9/site-packages/decorator.py:decorator-gen-1738>", line 2, in index
File "/opt/splunk/lib/python3.9/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 134, in check
return fn(self, *a, **kw)
File "</opt/splunk/lib/python3.9/site-packages/decorator.py:decorator-gen-1737>", line 2, in index
File "/opt/splunk/lib/python3.9/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 185, in validate_ip
return fn(self, *a, **kw)
File "</opt/splunk/lib/python3.9/site-packages/decorator.py:decorator-gen-1736>", line 2, in index
File "/opt/splunk/lib/python3.9/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 264, in preform_sso_check
update_session_user(sessionKey, remote_user)
File "/opt/splunk/lib/python3.9/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 207, in update_session_user
en = splunk.entity.getEntity('authentication/users', user, sessionKey=sessionKey)
File "/opt/splunk/lib/python3.9/site-packages/splunk/entity.py", line 276, in getEntity
serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)
File "/opt/splunk/lib/python3.9/site-packages/splunk/rest/__init__.py", line 573, in simpleRequest
h = httplib2.Http(timeout=timeout, proxy_info=None, context=ctx)
TypeError: __init__() got an unexpected keyword argument 'context'

Labels (1)
0 Karma
1 Solution

jbanAtSplunk
Communicator

I managed to solve this by commenting in web.conf following parameter: mgmtHostPort = xxx.xxx.xxx.xxx:8089

View solution in original post

0 Karma

sainag_splunk
Splunk Employee
Splunk Employee

@jbanAtSplunk Are you just seeing this errors on internal logs or are you stuck with the upgrade ( you cannot login)? (Thats telemetry information should've fixed in 9.3)
Definitely you should reach out to splunk support to get this checked.



If this Helps, Please Upvote.

 

 

0 Karma

jbanAtSplunk
Communicator

Hi,

I cannot "login", truth is that after login I get 500 error and UI will only show following screenshot so Web UI is unusable. 

 

 

0 Karma

jbanAtSplunk
Communicator

I managed to solve this by commenting in web.conf following parameter: mgmtHostPort = xxx.xxx.xxx.xxx:8089

0 Karma
Get Updates on the Splunk Community!

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...

Alerting Best Practices: How to Create Good Detectors

At their best, detectors and the alerts they trigger notify teams when applications aren’t performing as ...

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...