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

root at localhost.parabola.nu root at localhost.parabola.nu
Sun Aug 6 22:26:49 BST 2017


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(): 
<WSGIRequest
path:/mirrors/mirror,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '0',
 'CONTENT_TYPE': '',
 'DOCUMENT_ROOT': '/srv/http/www.parabola.nu',
 'HTTPS': 'on',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_CONTENT_LENGTH': '0',
 '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',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_PORT': '58841',
 'REQUEST_METHOD': 'POST',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/mirrors/mirror',
 u'SCRIPT_NAME': u'',
 'SERVER_NAME': 'www.parabola.nu',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'uwsgi.node': 'proton.parabola.nu',
 'uwsgi.version': '2.0.14',
 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f7d3b52f390>,
 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
 'wsgi.input': <uwsgi._Input object at 0x7f7d36df1678>,
 '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