I am using apache2, wsgi, and django. There are some logs in the error.log. There are something wrong with the auth in my project. But I cannot figure it why from the following log. why user not found in some folds?
Any hints welcomed. Thanks.
RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.2 configured -- resuming normal operations
[error] [client myip] user username not found: /myproject/admin/status/ referer: https://10.32.64.3/reporting-central/login/?next=/myproject/admin/status/
Update
I found that the problem may be related to the following code. It failed to do login.
@login_required
def status(request):
return render(request, 'status.html', {'title': 'status'})