Univention Bugzilla – Bug 52690
SAML: KeyError
Last modified: 2021-12-01 00:48:21 CET
Version: 5.0-0 errata0 Error: Traceback (most recent call last): File "/usr/lib/python3.7/shelve.py", line 111, in __getitem__ value = self.cache[key] KeyError: '1=https%3A//ucs-******.******.intranet/univention/saml/metadata,2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Anameid-format%3Atransient,4=_9a99caa2a0676fccfe6a579f6dc668a1a2768f8b04&#x 27; During handling of the above exception, another exception occurred: Traceback (most recent call last): File "%PY3%/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "%PY3%/cherrypy/lib/encoding.py", line 220, in __call__ self.body = self.oldhandler(*args, **kwargs) File "%PY3%/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/sbin/univention-management-console-web-server", line 1291, in logout data = self.sp.global_logout(user.saml.name_id) File "%PY3%/saml2/client.py", line 161, in global_logout entity_ids = self.users.issuers_of_info(name_id) File "%PY3%/saml2/population.py", line 44, in issuers_of_info return self.cache.entities(name_id) File "%PY3%/saml2/cache.py", line 155, in entities return list(self._db[cni].keys()) File "/usr/lib/python3.7/shelve.py", line 113, in __getitem__ f = BytesIO(self.dict[key.encode(self.keyencoding)]) KeyError: b'1=https%3A//ucs-******.******.intranet/univention/saml/metadata,2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Anameid-format%3Atransient,4=_9a99caa2a0676fccfe6a579f6dc668a1a2768f8b04&# x27; Role: domaincontroller_master
reported again: #2021060921000617 Version: 5.0-0 errata3 Error: Traceback (most recent call last): File "/usr/lib/python3.7/shelve.py", line 111, in __getitem__ value = self.cache[key] KeyError: '1=https%3A//ucs-*******/univention/saml/metadata,2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Anameid-format%3Atransient,4=_bf33c4fcaef4c4c0534fa4e2e2afe2b1c93fd6985f' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "%PY3%/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "%PY3%/cherrypy/lib/encoding.py", line 220, in __call__ self.body = self.oldhandler(*args, **kwargs) File "%PY3%/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/sbin/univention-management-console-web-server", line 1310, in logout data = self.sp.global_logout(user.saml.name_id) File "%PY3%/saml2/client.py", line 161, in global_logout entity_ids = self.users.issuers_of_info(name_id) File "%PY3%/saml2/population.py", line 44, in issuers_of_info return self.cache.entities(name_id) File "%PY3%/saml2/cache.py", line 155, in entities return list(self._db[cni].keys()) File "/usr/lib/python3.7/shelve.py", line 113, in __getitem__ f = BytesIO(self.dict[key.encode(self.keyencoding)]) KeyError: b'1=https%3A//ucs-*******/univention/saml/metadata,2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Anameid-format%3Atransient,4=_bf33c4fcaef4c4c0534fa4e2e2afe2b1c93fd6985f' Role: domaincontroller_master
Version: 4.4-8 errata958 (Blumenthal) Error: Traceback (most recent call last): File "%PY2.7%/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "%PY2.7%/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "%PY2.7%/cherrypy/_cpdispatch.py", line 61, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/sbin/univention-management-console-web-server", line 1279, in logout data = self.sp.global_logout(user.saml.name_id) File "%PY2.7%/saml2/client.py", line 160, in global_logout entity_ids = self.users.issuers_of_info(name_id) File "%PY2.7%/saml2/population.py", line 43, in issuers_of_info return self.cache.entities(name_id) File "%PY2.7%/saml2/cache.py", line 151, in entities return list(self._db[cni].keys()) File "/usr/lib/python2.7/shelve.py", line 121, in __getitem__ f = StringIO(self.dict[key]) File "/usr/lib/python2.7/bsddb/__init__.py", line 270, in __getitem__ return _DeadlockWrap(lambda: self.db[key]) # self.db[key] File "/usr/lib/python2.7/bsddb/dbutils.py", line 68, in DeadlockWrap return function(*_args, **_kwargs) File "/usr/lib/python2.7/bsddb/__init__.py", line 270, in <lambda> return _DeadlockWrap(lambda: self.db[key]) # self.db[key] KeyError: '1=https%3A//********.com/univention/saml/metadata,2=urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Anameid-format%3Atransient,4=_e7d7885a9b1cd7d0179e1904f823c987e9575fd180' Role: domaincontroller_master
reported again: (similar to Comment #1 ) Version: 4.4-7 errata910 (Blumenthal) Error: Traceback (most recent call last): File "%PY2.7%/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "%PY2.7%/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "%PY2.7%/cherrypy/_cpdispatch.py", line 61, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/sbin/univention-management-console-web-server", line 777, in default @cherrypy.expose File "/usr/sbin/univention-management-console-web-server", line 817, in get_response except UMC_HTTPError: File "/usr/sbin/univention-management-console-web-server", line 836, in make_queue_request File "/usr/sbin/univention-management-console-web-server", line 390, in reset_timeout self.disconnect_timer() File "/usr/sbin/univention-management-console-web-server", line 395, in disconnect_timer try: File "%PY2.7%/notifier/nf_generic.py", line 175, in timer_remove del __timers[id] KeyError: 2047 Role: domaincontroller_master