Error during login
The error happened when accidentally I disabled myself (I was logged in as kate.road). Then I tried to login on ewa.smula, then the error occurred.
INFO 2022-01-18 04:25:02,773 redcap_connector 930370 139931048986432 Redcap connector is down
INFO 2022-01-18 05:30:02,756 redcap_connector 937273 140628131751744 Redcap connector is down
INFO 2022-01-18 06:35:02,540 redcap_connector 944819 140354845501248 Redcap connector is down
INFO 2022-01-18 07:35:03,035 redcap_connector 951327 140507158853440 Redcap connector is down
INFO 2022-01-18 08:40:02,980 redcap_connector 958143 140564202108736 Redcap connector is down
INFO 2022-01-18 09:45:03,100 redcap_connector 966374 140252806776640 Redcap connector is down
INFO 2022-01-18 10:02:43,839 worker 1074878 140673640302400 'kate.road' account has been disabled
INFO 2022-01-18 10:03:06,118 nexmo_gateway 1074878 140673640302400 Sending authentication token to +352621744671
ERROR 2022-01-18 10:03:16,139 view_utils 1074878 140673640302400 When handling POST request for url '/account/login/?next=/doctors/enable/26' exception occurred
Traceback (most recent call last):
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 179, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/core.py", line 380, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/views.py", line 244, in dispatch
response = super().dispatch(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/core.py", line 144, in post
response = super().post(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/utils.py", line 164, in post
return super().post(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/views.py", line 302, in post
return self.render_done(form, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/utils.py", line 217, in render_done
done_response = self.done(final_form_list, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/core.py", line 163, in done
form_obj = self.get_form(step=self.steps.current, data=self.storage.get_step_data(self.steps.current))
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/views.py", line 62, in current
return self._wizard.storage.current_step or self.first
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/storage/base.py", line 46, in current_step
return self._get_current_step()
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/storage/base.py", line 39, in _get_current_step
return self.data[self.step_key]
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/storage/session.py", line 13, in _get_data
return self.request.session[self.prefix]
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/contrib/sessions/backends/base.py", line 65, in __getitem__
return self._session[key]
KeyError: 'wizard_login_view'
ERROR 2022-01-18 10:03:16,141 log 1074878 140673640302400 Internal Server Error: /account/login/
Traceback (most recent call last):
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 179, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/core.py", line 380, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/views.py", line 244, in dispatch
response = super().dispatch(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/core.py", line 144, in post
response = super().post(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/utils.py", line 164, in post
return super().post(*args, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/views.py", line 302, in post
return self.render_done(form, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/utils.py", line 217, in render_done
done_response = self.done(final_form_list, **kwargs)
File "/usr/lib/smasch/env/lib/python3.8/site-packages/two_factor/views/core.py", line 163, in done
form_obj = self.get_form(step=self.steps.current, data=self.storage.get_step_data(self.steps.current))
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/views.py", line 62, in current
return self._wizard.storage.current_step or self.first
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/storage/base.py", line 46, in current_step
return self._get_current_step()
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/storage/base.py", line 39, in _get_current_step
return self.data[self.step_key]
File "/usr/lib/smasch/env/lib/python3.8/site-packages/formtools/wizard/storage/session.py", line 13, in _get_data
return self.request.session[self.prefix]
File "/usr/lib/smasch/env/lib/python3.8/site-packages/django/contrib/sessions/backends/base.py", line 65, in __getitem__
return self._session[key]
KeyError: 'wizard_login_view'
WARNING 2022-01-18 10:03:57,510 log 1074878 140673640302400 Forbidden (CSRF token missing or incorrect.): /account/login/
INFO 2022-01-18 10:04:06,505 nexmo_gateway 1074878 140673640302400 Sending authentication token to +352621744671
INFO 2022-01-18 10:04:26,295 worker 1074878 140673640302400 'kate.road' account has been enabled
INFO 2022-01-18 10:04:37,407 nexmo_gateway 1074878 140673640302400 Sending authentication token to +352621744671