erpodoo11.coronatelecoms.com
Open in
urlscan Pro
202.60.10.217
Public Scan
URL:
https://erpodoo11.coronatelecoms.com/
Submission: On December 01 via api from JP — Scanned from JP
Submission: On December 01 via api from JP — Scanned from JP
Form analysis
1 forms found in the DOMName: pasteform — POST http://dpaste.com/
<form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
<div id="pastebinTraceback" class="pastebin" style="display: none;">
<input type="hidden" name="language" value="PythonConsole">
<input type="hidden" name="title" value="DisallowedHost at /">
<input type="hidden" name="source" value="Django Dpaste Agent">
<input type="hidden" name="poster" value="Django">
<textarea name="content" id="traceback_area" cols="140" rows="25">Environment:
Request Method: GET
Request URL: http://erpodoo11.coronatelecoms.com/
Django Version: 2.1.1
Python Version: 3.6.8
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'apps.asset_recoveries',
'apps.attachments',
'apps.circuits',
'apps.configurations',
'apps.customers',
'apps.dashboards',
'apps.deliveries',
'apps.installations',
'apps.libraries',
'apps.newsfeed',
'apps.notes',
'apps.products',
'apps.asset_assignments',
'apps.replenishments',
'apps.returns',
'apps.sites',
'apps.staging_areas',
'apps.transfers',
'apps.users',
'apps.labeler',
'apps.helpers',
'django_extensions',
'widget_tweaks',
'simple_history',
'rest_framework',
'wkhtmltopdf',
'haystack',
'corsheaders']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'simple_history.middleware.HistoryRequestMiddleware',
'corsheaders.middleware.CorsMiddleware']
Traceback:
File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/utils/deprecation.py" in __call__
90. response = self.process_request(request)
File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/middleware/common.py" in process_request
47. host = request.get_host()
File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/http/request.py" in get_host
106. raise DisallowedHost(msg)
Exception Type: DisallowedHost at /
Exception Value: Invalid HTTP_HOST header: 'erpodoo11.coronatelecoms.com'. You may need to add 'erpodoo11.coronatelecoms.com' to ALLOWED_HOSTS.
</textarea>
<br><br>
<input type="submit" value="Share this traceback on a public website">
</div>
</form>
Text Content
DISALLOWEDHOST AT / Invalid HTTP_HOST header: 'erpodoo11.coronatelecoms.com'. You may need to add 'erpodoo11.coronatelecoms.com' to ALLOWED_HOSTS. Request Method: GET Request URL: http://erpodoo11.coronatelecoms.com/ Django Version: 2.1.1 Exception Type: DisallowedHost Exception Value: Invalid HTTP_HOST header: 'erpodoo11.coronatelecoms.com'. You may need to add 'erpodoo11.coronatelecoms.com' to ALLOWED_HOSTS. Exception Location: /home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/http/request.py in get_host, line 106 Python Executable: /home/ubuntu/virtualenvs/atis/bin/python3 Python Version: 3.6.8 Python Path: ['/home/ubuntu/site_information_system/site_information_system', '/home/ubuntu/virtualenvs/atis/bin', '/home/ubuntu/virtualenvs/atis/lib/python36.zip', '/home/ubuntu/virtualenvs/atis/lib/python3.6', '/home/ubuntu/virtualenvs/atis/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages', '/home/ubuntu/site_information_system/site_information_system', '/home/ubuntu/.virtualenvs/test/lib/python3.5/site-packages'] Server time: Thu, 1 Dec 2022 19:22:40 +0800 TRACEBACK SWITCH TO COPY-AND-PASTE VIEW * /home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/core/handlers/exception.py in inner 27. This decorator is automatically applied to all middleware to ensure that 28. no middleware leaks an exception and that the next middleware in the stack 29. can rely on getting a response instead of an exception. 30. """ 31. @wraps(get_response) 32. def inner(request): 33. try: 34. response = get_response(request) ... 35. except Exception as exc: 36. response = response_for_exception(request, exc) 37. return response 38. return inner 39. 40. ▶ Local vars Variable Value exc DisallowedHost("Invalid HTTP_HOST header: 'erpodoo11.coronatelecoms.com'. You may need to add 'erpodoo11.coronatelecoms.com' to ALLOWED_HOSTS.",) get_response <django.middleware.common.CommonMiddleware object at 0x7f844b346400> request <WSGIRequest: GET '/'> * /home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/utils/deprecation.py in __call__ 83. def __init__(self, get_response=None): 84. self.get_response = get_response 85. super().__init__() 86. 87. def __call__(self, request): 88. response = None 89. if hasattr(self, 'process_request'): 90. response = self.process_request(request) ... 91. response = response or self.get_response(request) 92. if hasattr(self, 'process_response'): 93. response = self.process_response(request, response) 94. return response ▶ Local vars Variable Value request <WSGIRequest: GET '/'> response None self <django.middleware.common.CommonMiddleware object at 0x7f844b346400> * /home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/middleware/common.py in process_request 40. # Check for denied User-Agents 41. if 'HTTP_USER_AGENT' in request.META: 42. for user_agent_regex in settings.DISALLOWED_USER_AGENTS: 43. if user_agent_regex.search(request.META['HTTP_USER_AGENT']): 44. raise PermissionDenied('Forbidden user agent') 45. 46. # Check for a redirect based on settings.PREPEND_WWW 47. host = request.get_host() ... 48. must_prepend = settings.PREPEND_WWW and host and not host.startswith('www.') 49. redirect_url = ('%s://www.%s' % (request.scheme, host)) if must_prepend else '' 50. 51. # Check if a slash should be appended 52. if self.should_redirect_with_slash(request): 53. path = self.get_full_path_with_slash(request) ▶ Local vars Variable Value request <WSGIRequest: GET '/'> self <django.middleware.common.CommonMiddleware object at 0x7f844b346400> * /home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/http/request.py in get_host 99. return host 100. else: 101. msg = "Invalid HTTP_HOST header: %r." % host 102. if domain: 103. msg += " You may need to add %r to ALLOWED_HOSTS." % domain 104. else: 105. msg += " The domain name provided is not valid according to RFC 1034/1035." 106. raise DisallowedHost(msg) ... 107. 108. def get_port(self): 109. """Return the port number for the request as a string.""" 110. if settings.USE_X_FORWARDED_PORT and 'HTTP_X_FORWARDED_PORT' in self.META: 111. port = self.META['HTTP_X_FORWARDED_PORT'] 112. else: ▶ Local vars Variable Value allowed_hosts ['192.168.17.188', '127.0.0.1', '202.60.10.126', 'atisv3beta.apollo.com.ph', 'atis3.apollo.com.ph', '12.0.0.30', 'atis.apollo.com.ph', 'atis3', '192.168.17.180', '202.60.10.217', 'pmi.poultrymax.com'] domain 'erpodoo11.coronatelecoms.com' host 'erpodoo11.coronatelecoms.com' msg ("Invalid HTTP_HOST header: 'erpodoo11.coronatelecoms.com'. You may need to " "add 'erpodoo11.coronatelecoms.com' to ALLOWED_HOSTS.") port '' self <WSGIRequest: GET '/'> Environment: Request Method: GET Request URL: http://erpodoo11.coronatelecoms.com/ Django Version: 2.1.1 Python Version: 3.6.8 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'apps.asset_recoveries', 'apps.attachments', 'apps.circuits', 'apps.configurations', 'apps.customers', 'apps.dashboards', 'apps.deliveries', 'apps.installations', 'apps.libraries', 'apps.newsfeed', 'apps.notes', 'apps.products', 'apps.asset_assignments', 'apps.replenishments', 'apps.returns', 'apps.sites', 'apps.staging_areas', 'apps.transfers', 'apps.users', 'apps.labeler', 'apps.helpers', 'django_extensions', 'widget_tweaks', 'simple_history', 'rest_framework', 'wkhtmltopdf', 'haystack', 'corsheaders'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'simple_history.middleware.HistoryRequestMiddleware', 'corsheaders.middleware.CorsMiddleware'] Traceback: File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 34. response = get_response(request) File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/utils/deprecation.py" in __call__ 90. response = self.process_request(request) File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/middleware/common.py" in process_request 47. host = request.get_host() File "/home/ubuntu/virtualenvs/atis/lib/python3.6/site-packages/django/http/request.py" in get_host 106. raise DisallowedHost(msg) Exception Type: DisallowedHost at / Exception Value: Invalid HTTP_HOST header: 'erpodoo11.coronatelecoms.com'. You may need to add 'erpodoo11.coronatelecoms.com' to ALLOWED_HOSTS. REQUEST INFORMATION USER [unable to retrieve the current user] GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' HTTP_ACCEPT_ENCODING 'gzip, deflate, br' HTTP_ACCEPT_LANGUAGE 'jp-JP,jp;q=0.9' HTTP_CACHE_CONTROL 'no-cache' HTTP_CONNECTION 'close' HTTP_HOST 'erpodoo11.coronatelecoms.com' HTTP_PRAGMA 'no-cache' HTTP_SEC_FETCH_DEST 'document' HTTP_SEC_FETCH_MODE 'navigate' HTTP_SEC_FETCH_SITE 'none' HTTP_SEC_FETCH_USER '?1' HTTP_UPGRADE_INSECURE_REQUESTS '1' HTTP_USER_AGENT ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like ' 'Gecko) Chrome/108.0.5359.71 Safari/537.36') HTTP_X_FORWARDED_FOR '202.60.10.217' HTTP_X_FORWARDED_PROTO 'http' HTTP_X_REAL_IP '202.60.10.217' PATH_INFO '/' QUERY_STRING '' RAW_URI '/' REMOTE_ADDR '127.0.0.1' REMOTE_PORT '38330' REQUEST_METHOD 'GET' SCRIPT_NAME '' SERVER_NAME '127.0.0.1' SERVER_PORT '8010' SERVER_PROTOCOL 'HTTP/1.0' SERVER_SOFTWARE 'gunicorn/20.0.0' gunicorn.socket <gevent._socket3.socket object, fd=15, family=2, type=2049, proto=0> wsgi.errors <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f8448b9f978> wsgi.file_wrapper '' wsgi.input <gunicorn.http.body.Body object at 0x7f8448707cc0> wsgi.input_terminated True wsgi.multiprocess True wsgi.multithread True wsgi.run_once False wsgi.url_scheme 'http' wsgi.version (1, 0) SETTINGS USING SETTINGS MODULE CONF.SETTINGS Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS [] ALLOWED_HOSTS ['192.168.17.188', '127.0.0.1', '202.60.10.126', 'atisv3beta.apollo.com.ph', 'atis3.apollo.com.ph', '12.0.0.30', 'atis.apollo.com.ph', 'atis3', '192.168.17.180', '202.60.10.217', 'pmi.poultrymax.com'] APPEND_SLASH True AUTHENTICATION_BACKENDS ['django.contrib.auth.backends.ModelBackend', 'django_auth_ldap.backend.LDAPBackend'] AUTH_LDAP_SERVER_URI 'ldap://ldap1.apolloglobal.net:389' AUTH_LDAP_USER_DN_TEMPLATE 'uid=%(user)s,dc=apolloglobal,dc=net' AUTH_LDAP_USER_SEARCH <LDAPSearch: dc=apolloglobal,dc=net> AUTH_PASSWORD_VALIDATORS '********************' AUTH_USER_MODEL 'users.CustomUser' BACKUP_ROOT '/home/ubuntu/site_information_system/backup' BACKUP_URL '/backup/' BASE_DIR '/home/ubuntu/site_information_system' BASE_URL 'https://atis.apollo.com.ph' CACHES {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS 'default' CACHE_MIDDLEWARE_KEY_PREFIX '********************' CACHE_MIDDLEWARE_SECONDS 600 CORS_ALLOW_CREDENTIALS True CORS_ALLOW_METHODS ('DELETE', 'GET', 'OPTIONS', 'PATCH', 'POST', 'PUT') CORS_ORIGIN_ALLOW_ALL True CSRF_COOKIE_AGE 31449600 CSRF_COOKIE_DOMAIN None CSRF_COOKIE_HTTPONLY False CSRF_COOKIE_NAME 'csrftoken' CSRF_COOKIE_PATH '/' CSRF_COOKIE_SAMESITE 'Lax' CSRF_COOKIE_SECURE False CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS [] CSRF_USE_SESSIONS False DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'atis', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'atis'}} DATABASE_ROUTERS [] DATA_UPLOAD_MAX_MEMORY_SIZE 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS 9999 DATETIME_FORMAT 'N j, Y, P' DATETIME_INPUT_FORMATS ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] DATE_FORMAT 'N j, Y' DATE_INPUT_FORMATS ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG True DEBUG_PROPAGATE_EXCEPTIONS False DECIMAL_SEPARATOR '.' DEFAULT_CHARSET 'utf-8' DEFAULT_CONTENT_TYPE 'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL 'webmaster@localhost' DEFAULT_INDEX_TABLESPACE '' DEFAULT_TABLESPACE '' DISALLOWED_USER_AGENTS [] EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST 'localhost' EMAIL_HOST_PASSWORD '********************' EMAIL_HOST_USER '' EMAIL_PORT 25 EMAIL_SSL_CERTFILE None EMAIL_SSL_KEYFILE '********************' EMAIL_SUBJECT_PREFIX '[Django] ' EMAIL_TIMEOUT None EMAIL_USE_LOCALTIME False EMAIL_USE_SSL False EMAIL_USE_TLS False FILE_CHARSET 'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS None FILE_UPLOAD_HANDLERS ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE 2621440 FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_TEMP_DIR None FIRST_DAY_OF_WEEK 0 FIXTURES_ROOT '/home/ubuntu/site_information_system/site_information_system/fixtures' FIXTURE_DIRS [] FORCE_SCRIPT_NAME None FORMAT_MODULE_PATH None FORM_RENDERER 'django.forms.renderers.DjangoTemplates' HAYSTACK_CONNECTIONS {'default': {'ADMIN_URL': 'https://atis.apollo.com.ph/solr/admin/cores', 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', 'URL': 'https://atis.apollo.com.ph/solr/atis'}} HAYSTACK_URL 'https://atis.apollo.com.ph/solr/atis' IGNORABLE_404_URLS [] INSTALLED_APPS ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'apps.asset_recoveries', 'apps.attachments', 'apps.circuits', 'apps.configurations', 'apps.customers', 'apps.dashboards', 'apps.deliveries', 'apps.installations', 'apps.libraries', 'apps.newsfeed', 'apps.notes', 'apps.products', 'apps.asset_assignments', 'apps.replenishments', 'apps.returns', 'apps.sites', 'apps.staging_areas', 'apps.transfers', 'apps.users', 'apps.labeler', 'apps.helpers', 'django_extensions', 'widget_tweaks', 'simple_history', 'rest_framework', 'wkhtmltopdf', 'haystack', 'corsheaders'] INTERNAL_IPS [] LANGUAGES [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGES_BIDI ['he', 'ar', 'fa', 'ur'] LANGUAGE_CODE 'en-us' LANGUAGE_COOKIE_AGE None LANGUAGE_COOKIE_DOMAIN None LANGUAGE_COOKIE_NAME 'django_language' LANGUAGE_COOKIE_PATH '/' LOCALE_PATHS [] LOGGING {'disable_existing_loggers': False, 'formatters': {'simple': {'format': '[%(asctime)s] %(levelname)s : ' '%(message)s'}, 'verbose': {'format': '[%(asctime)s] %(levelname)s : ' '%(module)s %(process)d %(thread)d ' '%(message)s'}}, 'handlers': {'activity': {'backupCount': 10, 'class': 'logging.handlers.TimedRotatingFileHandler', 'filename': 'conf/logs/activity.log', 'formatter': 'simple', 'level': 'DEBUG', 'when': 'midnight'}, 'info': {'backupCount': 10, 'class': 'logging.handlers.TimedRotatingFileHandler', 'filename': 'conf/logs/django.log', 'formatter': 'simple', 'level': 'DEBUG', 'when': 'midnight'}}, 'loggers': {'apps.circuits': {'handlers': ['activity'], 'level': 'DEBUG', 'propagate': True}, 'apps.deliveries': {'handlers': ['activity'], 'level': 'DEBUG', 'propagate': True}, 'apps.installations': {'handlers': ['activity'], 'level': 'DEBUG', 'propagate': True}, 'django': {'handlers': ['info'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1} LOGGING_CONFIG 'logging.config.dictConfig' LOGIN_REDIRECT_URL '/users/landing_page/' LOGIN_URL 'login' LOGOUT_REDIRECT_URL 'login' MANAGERS [] MEDIA_ROOT '/home/ubuntu/site_information_system/media' MEDIA_URL '/media/' MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'simple_history.middleware.HistoryRequestMiddleware', 'corsheaders.middleware.CorsMiddleware'] MIGRATION_MODULES {} MONTH_DAY_FORMAT 'F j' NUMBER_GROUPING 0 PASSWORD_HASHERS '********************' PASSWORD_RESET_TIMEOUT_DAYS '********************' PREPEND_WWW False PROJECT_APP_PATH '/home/ubuntu/site_information_system/site_information_system' PROJECT_ROOT '/home/ubuntu/site_information_system' ROOT_URLCONF 'conf.urls' RT_URL 'https://rt.apolloglobal.net' SECRET_KEY '********************' SECURE_BROWSER_XSS_FILTER False SECURE_CONTENT_TYPE_NOSNIFF False SECURE_HSTS_INCLUDE_SUBDOMAINS False SECURE_HSTS_PRELOAD False SECURE_HSTS_SECONDS 0 SECURE_PROXY_SSL_HEADER None SECURE_REDIRECT_EXEMPT [] SECURE_SSL_HOST None SECURE_SSL_REDIRECT False SERVER_EMAIL 'root@localhost' SESSION_CACHE_ALIAS 'default' SESSION_COOKIE_AGE 1209600 SESSION_COOKIE_DOMAIN None SESSION_COOKIE_HTTPONLY True SESSION_COOKIE_NAME 'sessionid' SESSION_COOKIE_PATH '/' SESSION_COOKIE_SAMESITE 'Lax' SESSION_COOKIE_SECURE False SESSION_ENGINE 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE False SESSION_FILE_PATH None SESSION_SAVE_EVERY_REQUEST False SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE 'conf.settings' SHORT_DATETIME_FORMAT 'm/d/Y P' SHORT_DATE_FORMAT 'm/d/Y' SIGNING_BACKEND 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS [] STATICFILES_DIRS ('/home/ubuntu/site_information_system/site_information_system/frontend/static',) STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT '/home/ubuntu/site_information_system/site_information_system/frontend' STATIC_URL '/static/' TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/ubuntu/site_information_system/site_information_system/frontend/templates'], 'OPTIONS': {'context_processors': ['apps.deliveries.context_processors.delivery_request_count', 'apps.transfers.context_processors.transfer_request_count', 'apps.returns.context_processors.return_request_count', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] TEST_NON_SERIALIZED_APPS [] TEST_RUNNER 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR ',' TIME_FORMAT 'P' TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE 'Asia/Manila' USE_I18N True USE_L10N True USE_THOUSAND_SEPARATOR False USE_TZ True USE_X_FORWARDED_HOST False USE_X_FORWARDED_PORT False WKHTMLTOPDF_CMD 'xvfb-run -a wkhtmltopdf' WSGI_APPLICATION 'conf.wsgi.application' X_FRAME_OPTIONS 'SAMEORIGIN' YEAR_MONTH_FORMAT 'F Y' You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.