CSSS / csss-site

CSSS Website
https://sfucsss.org
8 stars 11 forks source link

django.core.exceptions.PermissionDenied: Login failed. #660

Closed csss-admin closed 7 months ago

csss-admin commented 7 months ago
2024-03-28 06:48:55 = ERROR = sys_stream = Traceback (most recent call last):
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
    return bound_method(*args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django_cas_ng/views.py", line 72, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/views/generic/base.py", line 97, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/csss/csss-site/csss/views/login.py", line 57, in get
    return super().get(request)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django_cas_ng/views.py", line 182, in get
    raise PermissionDenied(_('Login failed.'))
django.core.exceptions.PermissionDenied: Login failed.
Traceback (most recent call last):
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/utils/decorators.py", line 45, in _wrapper
    return bound_method(*args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django_cas_ng/views.py", line 72, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django/views/generic/base.py", line 97, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/csss/csss-site/csss/views/login.py", line 57, in get
    return super().get(request)
  File "/home/csss/envCSSS/lib/python3.8/site-packages/django_cas_ng/views.py", line 182, in get
    raise PermissionDenied(_('Login failed.'))
django.core.exceptions.PermissionDenied: Login failed.
modernNeo commented 7 months ago

adding logging to try and catch what is going on https://github.com/CSSS/csss-site/commit/36fd59b1cf80a40b3c0353fbb1ede641dfdbfb04