Univention Bugzilla – Bug 44450
SAML login raises AttributeError: 'NoneType' object has no attribute 'get'
Last modified: 2018-01-15 16:32:31 CET
Version: 4.2-0 errata1 (Lesum) The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/sbin/univention-management-console-web-server", line 981, in sso cherrypy.response.headers['Location'] = user.data.get('relay_state', {}).get('referer') or '/univention/management/' AttributeError: 'NoneType' object has no attribute 'get'
Reported again, 4.2-0 errata0 (Lesum) - UCS@school 4.2 v1
Reported again, 4.2-0 errata4 (Lesum)
univention-management-console.yaml: r79015 | YAML Bug #44217 Bug #44450 Bug #43859 univention-management-console (9.0.80-5): r79013 | Bug #44450: Bug #44217: fix errors during SAML login
Version: 4.2-0 errata4 (Lesum) Remark: Fehlermeldung kam nach Anmeldung als Administrator nach einem reboot des Server als dieser den Fehler: SimpleSAML_Error_BadRequest: BADREQUEST('%REASON%' => 'Missing AuthState parameter.') ausgab
Reported again, 4.2-0 errata4 (Lesum) Remark: Fehler wird alle paar Stunden wiederholt. Kein Internetzugang
To reproduce this error you need to open the login page (ucs-sso.…) and restart the UMC-Webserver before submitting the credentials form.
I was able to reproduce the bug using Comment #7, but still got the same traceback posted in Comment #1 after updating univention-management-console.
univention-management-console (9.0.80-12): r79367 | Bug #44450: fix exception during SAML login
Ok, looks good now. -> Verified
<http://errata.software-univention.de/ucs/4.2/40.html>
Reported again: Version: 4.2-0 errata0 (Lesum) Remark: nach Upgrade von 4.1.5 auf 4.2.0 tauchte dieser Fehler auf