Project

General

Profile

Bug #33269

erreur de chargement du template los du SSO

Added by Serghei Mihai about 1 year ago. Updated about 1 year ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
20 May 2019
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

Trace sur l'instance de Meyzieu:

Internal Server Error: /_mandaye/accounts/mellon/login/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mellon/views.py", line 368, in get
    return self.continue_sso_artifact(request, lasso.HTTP_METHOD_ARTIFACT_GET)
  File "/usr/lib/python2.7/dist-packages/mellon/views.py", line 348, in continue_sso_artifact
    return self.sso_failure(request, reason=idp_message, status_codes=status_codes)
  File "/usr/lib/python2.7/dist-packages/mellon/views.py", line 170, in sso_failure
    'error_redirect_after_timeout': error_redirect_after_timeout,
  File "/usr/lib/python2.7/dist-packages/django/shortcuts.py", line 67, in render
    template_name, context, request=request, using=using)
  File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 99, in render_to_string
    return template.render(context, request)
  File "/usr/lib/python2.7/dist-packages/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 210, in render
    return self._render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 202, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 919, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 135, in render
    return compiled_parent._render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 202, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 919, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 113, in render
    compiled_parent = self.get_parent(context)
  File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 110, in get_parent
    return context.template.engine.get_template(parent)
  File "/usr/lib/python2.7/dist-packages/django/template/engine.py", line 167, in get_template
    template, origin = self.find_template(template_name, dirs)
  File "/usr/lib/python2.7/dist-packages/django/template/engine.py", line 146, in find_template
    raise TemplateDoesNotExist(name)
TemplateDoesNotExist: base.html

Request repr(): 
<WSGIRequest
path:/_mandaye/accounts/mellon/login/,
GET:<QueryDict: {u'RelayState': [u'5b2329fd-2329-45f2-a3d6-cfc64110eab5'], u'SAMLart': [u'AAQAAE/hN+hpy4FrUAZOlXVHYUgW2nMfRjVDMDk2NDMwOTAwMEVFM0FBN0M=']}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma': '126983436.482499090.1539620436.1539620436.1539620436.1',
 'cookie-cnil-parisfr': 'true',
 'hasConsent': 'true',
 'sessionid-59e0bf': 'mchy9yzrkhpeiecywxp1uti5kvxirzn7'},
META:{u'CSRF_COOKIE': u'1WeSQxvbf76IJTyoKQ4LLdEecCurMq8w',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'br, gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'fr-fr',
 'HTTP_CONNECTION': 'close',
 'HTTP_COOKIE': 'sessionid-59e0bf=mchy9yzrkhpeiecywxp1uti5kvxirzn7; hasConsent=true; __utma=126983436.482499090.1539620436.1539620436.1539620436.1; cookie-cnil-parisfr=true',
 'HTTP_HOST': 'portail-famille.meyzieu.fr',
 'HTTP_REFERER': 'https://connexion.meyzieu.fr/login/?nonce=_5F2A7EA8A8BA354D08C1B4A821F6F9B6&service=mandayejs&next=/idp/saml2/continue%3Fnonce%3D_5F2A7EA8A8BA354D08C1B4A821F6F9B6',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/73.1.246847905 Mobile/15E148 Safari/605.1',
 'HTTP_X_FORWARDED_FOR': '77.136.87.137',
 'HTTP_X_FORWARDED_HOST': 'portail-famille.meyzieu.fr',
 'HTTP_X_FORWARDED_PROTO': 'https',
 'HTTP_X_FORWARDED_PROTOCOL': 'ssl',
 'HTTP_X_FORWARDED_SSL': 'on',
 'HTTP_X_REAL_IP': '77.136.87.137',

History

#1 Updated by Frédéric Péters about 1 year ago

C'est super vieux, sur affichage d'une erreur de connexion. (depuis qu'on n'a plus de base.html générique).

Also available in: Atom PDF