[Maintenance] [Django] ERROR (internal IP): Internal Server Error: /mirrors/mirror

root at localhost.parabola.nu root at localhost.parabola.nu
Thu Mar 15 12:03:22 GMT 2018

Internal Server Error: /mirrors/mirror
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 87, in get_response
    response = middleware_method(request)
  File "/usr/lib/python2.7/site-packages/django/middleware/common.py", line 82, in process_request
    "settings.") % (new_url[0], new_url[1]))
RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to www.parabola.nu/mirrors/mirror/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

Request repr(): 
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
 'DOCUMENT_ROOT': '/srv/http/www.parabola.nu',
 'HTTPS': 'on',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_HOST': 'www.parabola.nu',
 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.17929)',
 'PATH_INFO': u'/mirrors/mirror',
 'REMOTE_PORT': '7614',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/mirrors/mirror',
 u'SCRIPT_NAME': u'',
 'SERVER_NAME': 'www.parabola.nu',
 'SERVER_PORT': '443',
 'uwsgi.node': 'proton.parabola.nu',
 'uwsgi.version': '2.0.15',
 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f74af6ac390>,
 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
 'wsgi.input': <uwsgi._Input object at 0x7f74af64f660>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>

More information about the Maintenance mailing list