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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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