Project

General

Profile

Development #57176

AttributeError at /accounts/saml/login/

Added by Emmanuel Cazenave about 1 month ago. Updated 18 days ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
21 Sep 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Environment:

Request Method: GET
Request URL: https://connexion-universite-lorraine.test.entrouvert.org/accounts/saml/login/?next=/manage/&entityID=https%3A//test-idp3.infra.univ-lorraine.fr/idp/shibboleth

Django Version: 2.2.24
Python Version: 3.7.3
Installed Applications:
''
Installed Middleware:
''

Traceback:

File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in _get_response
  115.                 response = self.process_exception_by_middleware(e, request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in _get_response
  113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python3/dist-packages/django/views/decorators/csrf.py" in wrapped_view
  54.         return view_func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/mellon/views.py" in dispatch
  140.             return super().dispatch(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in dispatch
  97.         return handler(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/mellon/views.py" in get
  486.         self.profile = login = utils.create_login(request)

File "/usr/lib/python3/dist-packages/mellon/utils.py" in create_login
  117.     server = create_server(request)

File "/usr/lib/python3/dist-packages/mellon/utils.py" in create_server
  90.                 server.signatureMethod = getattr(lasso, symbol_name)

Exception Type: AttributeError at /accounts/saml/login/
Exception Value: 'NoneType' object has no attribute 'signatureMethod'


Files

Associated revisions

Revision 4941fd72 (diff)
Added by Benjamin Dauvergne about 1 month ago

show an error page when create_server fails (#57176)

History

#2

Updated by Benjamin Dauvergne about 1 month ago

C'est mal rapporté par mellon mais ça indique que l'objet LassoServer n'a pu être créé, c'est généralement un problème de lecture des clés privés/publique ou des métadonnées, en activant les logs de debug ça peut se voir plus clairement.

#3

Updated by Benjamin Dauvergne about 1 month ago

  • Assignee set to Benjamin Dauvergne
#4

Updated by Benjamin Dauvergne about 1 month ago

Voilà, neuneu proof :)

#5

Updated by Serghei Mihai about 1 month ago

  • Status changed from Solution proposée to Solution validée

Zoli.

#6

Updated by Benjamin Dauvergne about 1 month ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 4941fd7281f69655e20542722ec4d506dd961a68
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Thu Sep 23 10:35:19 2021 +0200

    show an error page when create_server fails (#57176)
#7

Updated by Frédéric Péters 18 days ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF