#9281 Logging in bugzilla via ipsilon returns a 500 error
Closed: Upstream by mohanboddu. Opened by pingou.

Describe what you would like us to do:


When trying to log in into bugzilla.redhat.com as a Fedora contributor I get a 500 Internal Server Error.

This happened to me around 12:38 UTC today.

Checking the logs server side, I've found this traceback:

[Mon Aug 31 12:38:48.295630 2020] [wsgi:error] [pid 25509:tid 140039037421312] [remote 10.129.2.1:35188] [31/Aug/2020:12:38:48]  DEBUG(providers/saml2/auth.py:176 Redirect.saml2login()): saml2: 'NoneType' object has no attribute 'get_login_handler'
[Mon Aug 31 12:38:48.298334 2020] [wsgi:error] [pid 25509:tid 140039037421312] [remote 10.129.2.1:35188] [31/Aug/2020:12:38:48]  DEBUG(ipsilon/util/errors.py:16 Errors.handler()): ['500 Internal Server Error', 'The server encountered an unexpected condition which prevented it from fulfilling the request.', 'Traceback (most recent call last):\\n  File "/usr/lib/python3.7/site-packages/ipsilon/providers/saml2/auth.py", line 168, in saml2login\\n    login = self._parse_request(request)\\n  File "/usr/lib/python3.7/site-packages/ipsilon/providers/saml2/auth.py", line 75, in _parse_request\\n    login = self.cfg.idp.get_login_handler()\\nAttributeError: \\'NoneType\\' object has no attribute \\'get_login_handler\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n  File "/usr/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 628, in respond\\n    self._do_respond(path_info)\\n  File "/usr/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond\\n    response.body = self.handler()\\n  File "/usr/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__\\n    self.body = self.oldhandler(*args, **kwargs)\\n  File "/usr/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__\\n    return self.callable(*self.args, **self.kwargs)\\n  File "/usr/lib/python3.7/site-packages/ipsilon/util/page.py", line 85, in __call__\\n    return op(*args, **kwargs).encode(\\'utf-8\\')\\n  File "/usr/lib/python3.7/site-packages/ipsilon/providers/common.py", line 105, in root\\n    return op(*args, **kwargs)\\n  File "/usr/lib/python3.7/site-packages/ipsilon/providers/saml2idp.py", line 82, in GET\\n    login = self.saml2login(query, spidentifier, relaystate)\\n  File "/usr/lib/python3.7/site-packages/ipsilon/providers/saml2/auth.py", line 177, in saml2login\\n    raise cherrypy.HTTPError(500)\\ncherrypy._cperror.HTTPError: (500, None)\\n', '18.1.2']

Filed an upstream ticket

https://pagure.io/ipsilon/issue/343

Closing the ticket.

Metadata Update from @mohanboddu:
- Issue close_status updated to: Upstream
- Issue status updated to: Closed (was: Open)

Metadata