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'
I managed to solve this by commenting in web.conf following parameter: mgmtHostPort = xxx.xxx.xxx.xxx:8089
@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.
I managed to solve this by commenting in web.conf following parameter: mgmtHostPort = xxx.xxx.xxx.xxx:8089