· 9 years ago · Aug 24, 2016, 02:36 PM
1Invalid HTTP_HOST header: '52.37.120.203'. You may need to add u'52.37.120.203' to ALLOWED_HOSTS.
2
3Report at /
4Invalid HTTP_HOST header: '52.37.120.203'. You may need to add u'52.37.120.203' to ALLOWED_HOSTS.
5
6Request Method: GET
7Request URL: https://52.37.120.203/
8Django Version: 1.9
9Python Executable: /home/centos/.virtualenvs/shipguarantee/bin/uwsgi
10Python Version: 2.7.12
11Python Path: ['/home/centos/shopguarantee/src/', '.', '', '/home/centos/.virtualenvs/shipguarantee/lib/python27.zip', '/home/centos/.virtualenvs/shipguarantee/lib/python2.7', '/home/centos/.virtualenvs/shipguarantee/lib/python2.7/plat-linux2', '/home/centos/.virtualenvs/shipguarantee/lib/python2.7/lib-tk', '/home/centos/.virtualenvs/shipguarantee/lib/python2.7/lib-old', '/home/centos/.virtualenvs/shipguarantee/lib/python2.7/lib-dynload', '/home/centos/.pyenv/versions/2.7.12/lib/python2.7', '/home/centos/.pyenv/versions/2.7.12/lib/python2.7/plat-linux2', '/home/centos/.pyenv/versions/2.7.12/lib/python2.7/lib-tk', '/home/centos/.virtualenvs/shipguarantee/lib/python2.7/site-packages']
12Server time: Wed, 24 Aug 2016 06:39:32 +0000
13Installed Applications:
14['django.contrib.admin',
15 'django.contrib.auth',
16 'django.contrib.contenttypes',
17 'django.contrib.sessions',
18 'django.contrib.messages',
19 'django.contrib.staticfiles',
20 'django.contrib.sites',
21 'django.contrib.humanize',
22 'rest_framework',
23 'rest_framework_jwt',
24 'rest_framework_nested',
25 'rest_framework_swagger',
26 'shipinsurance',
27 'shopify_insurance']
28Installed Middleware:
29['django.middleware.security.SecurityMiddleware',
30 'django.contrib.sessions.middleware.SessionMiddleware',
31 'django.middleware.common.CommonMiddleware',
32 'django.middleware.csrf.CsrfViewMiddleware',
33 'django.contrib.auth.middleware.AuthenticationMiddleware',
34 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
35 'django.contrib.messages.middleware.MessageMiddleware',
36 'django.middleware.clickjacking.XFrameOptionsMiddleware',
37 'corsheaders.middleware.CorsMiddleware']
38
39Request information:
40GET: No GET data
41
42POST: No POST data
43
44FILES: No FILES data
45
46COOKIES: No cookie data
47
48META:
49wsgi.multiprocess = False
50SCRIPT_NAME = u''
51REQUEST_METHOD = 'GET'
52PATH_INFO = u'/'
53SERVER_PROTOCOL = 'HTTP/1.1'
54QUERY_STRING = ''
55CONTENT_LENGTH = ''
56SERVER_NAME = 'connect.paycertify.com'
57REMOTE_ADDR = '216.218.206.66'
58wsgi.url_scheme = 'https'
59SERVER_PORT = '443'
60uwsgi.node = 'ip-172-31-32-129.us-west-2.compute.internal'
61DOCUMENT_ROOT = '/etc/nginx/html'
62wsgi.input = <uwsgi._Input object at 0x7fcc274b1240>
63HTTP_HOST = '52.37.120.203'
64HTTPS = 'on'
65wsgi.multithread = False
66REQUEST_URI = '/'
67wsgi.version =
68wsgi.run_once = False
69wsgi.errors = <open file 'wsgi_errors', mode 'w' at 0x7fcc34b69420>
70REMOTE_PORT = '31994'
71REQUEST_SCHEME = 'https'
72uwsgi.version = '2.0.13.1'
73CONTENT_TYPE = ''
74wsgi.file_wrapper = ''
75
76Settings:
77Using settings module core.settings
78SECURE_BROWSER_XSS_FILTER = False
79USE_X_FORWARDED_PORT = False
80USE_THOUSAND_SEPARATOR = False
81CSRF_COOKIE_SECURE = True
82LANGUAGE_CODE = 'en-us'
83ROOT_URLCONF = 'core.urls'
84MANAGERS = []
85BASE_DIR = '/home/centos/shopguarantee/src'
86SILENCED_SYSTEM_CHECKS = []
87DEFAULT_CHARSET = 'utf-8'
88SWAGGER_SETTINGS = {'DOC_EXPANSION': 'list', 'api_path': '/api/v1/', 'exclude_namespaces': [], 'exclude_url_names': [], 'template_path': 'swagger/index.html', 'doc_expansion': 'none', 'is_authenticated': False, 'permission_denied_handler': None, 'enabled_methods': ['get', 'post', 'patch', 'delete'], 'token_type': 'JWT', 'is_superuser': False, 'resource_access_handler': None, 'unauthenticated_user': 'django.contrib.auth.models.AnonymousUser', 'api_key': '', 'APIS_SORTER': u'********************', 'api_version': '1.0'}
89SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
90STATIC_ROOT = '/home/centos/shopguarantee/src/../static'
91SITE_PROTOCOL = 'https'
92ALLOWED_HOSTS = ['connect.shopguarantee.com', 'cyber.shopguarantee.com', 'connect.paycertify.com', 'assurance.paycertify.com', 'connect.pinpointintel.com', 'cyber.pinpointintel.com']
93EMAIL_HOST = 'mail.codementary.com'
94MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
95EMAIL_SUBJECT_PREFIX = '[ShipConnect] '
96DOC_EXPANSION = 'list'
97SECURE_HSTS_SECONDS = 31536000
98STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
99SESSION_CACHE_ALIAS = 'default'
100SESSION_COOKIE_DOMAIN = None
101SESSION_COOKIE_NAME = 'sessionid'
102TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
103SECURE_REDIRECT_EXEMPT = []
104DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql', 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, 'NAME': 'shipguarantee_connect_prod', 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'PORT': '3306', 'HOST': 'sg-connect-prod.cgqxk4usxmwu.us-west-2.rds.amazonaws.com', 'USER': 'sg_rds_admin', 'TEST': {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None}, 'PASSWORD': u'********************', 'OPTIONS': {}}}
105EMAIL_SSL_KEYFILE = u'********************'
106FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
107FILE_UPLOAD_PERMISSIONS = None
108FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
109DEFAULT_CONTENT_TYPE = 'text/html'
110SHOPIFY_APPS = []
111APPEND_SLASH = True
112FIRST_DAY_OF_WEEK = 0
113DATABASE_ROUTERS = []
114DEFAULT_TABLESPACE = ''
115YEAR_MONTH_FORMAT = 'F Y'
116STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
117CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
118SERVER_EMAIL = 'admin@codementary.com'
119SESSION_COOKIE_PATH = '/'
120SECURE_CONTENT_TYPE_NOSNIFF = False
121MIDDLEWARE_CLASSES = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'corsheaders.middleware.CorsMiddleware']
122USE_I18N = True
123THOUSAND_SEPARATOR = ','
124SECRET_KEY = u'********************'
125LANGUAGE_COOKIE_NAME = 'django_language'
126DEFAULT_INDEX_TABLESPACE = ''
127LOGGING_CONFIG = 'logging.config.dictConfig'
128SEND_BROKEN_LINK_EMAILS = True
129TEMPLATE_LOADERS = ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']
130WSGI_APPLICATION = 'core.wsgi.application'
131TEMPLATE_DEBUG = False
132X_FRAME_OPTIONS = 'SAMEORIGIN'
133CSRF_COOKIE_NAME = 'csrftoken'
134AUTH_PASSWORD_VALIDATORS = u'********************'
135USE_X_FORWARDED_HOST = False
136CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
137EMAIL_TIMEOUT = None
138SECURE_SSL_HOST = None
139SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
140SESSION_COOKIE_SECURE = True
141CSRF_COOKIE_DOMAIN = None
142FILE_CHARSET = 'utf-8'
143DEBUG = False
144CSRF_TRUSTED_ORIGINS = []
145LANGUAGE_COOKIE_DOMAIN = None
146DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
147INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.humanize', 'rest_framework', 'rest_framework_jwt', 'rest_framework_nested', 'rest_framework_swagger', 'shipinsurance', 'shopify_insurance']
148LANGUAGES = [('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'), ('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'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('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 Bokmal'), ('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')]
149USE_L10N = True
150SECURE_HSTS_INCLUDE_SUBDOMAINS = False
151STATICFILES_DIRS = []
152PREPEND_WWW = False
153SECURE_PROXY_SSL_HEADER = None
154LANGUAGE_COOKIE_AGE = None
155SESSION_COOKIE_HTTPONLY = True
156DEBUG_PROPAGATE_EXCEPTIONS = False
157CSRF_COOKIE_AGE = 31449600
158MONTH_DAY_FORMAT = 'F j'
159LOGIN_URL = '/login/'
160SESSION_EXPIRE_AT_BROWSER_CLOSE = False
161TIME_FORMAT = 'P'
162SHOPIFY_APP_SCOPE = ['write_products', 'read_orders', 'read_products', 'write_content']
163AUTH_USER_MODEL = 'auth.User'
164DATE_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']
165AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
166EMAIL_HOST_PASSWORD = u'********************'
167PASSWORD_RESET_TIMEOUT_DAYS = u'********************'
168SESSION_FILE_PATH = None
169CACHE_MIDDLEWARE_ALIAS = 'default'
170SESSION_SAVE_EVERY_REQUEST = False
171NUMBER_GROUPING = 0
172SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies'
173CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
174CSRF_COOKIE_PATH = '/'
175LOGIN_REDIRECT_URL = '/accounts/profile/'
176ORANGE_CRM_API_URL = u'********************'
177DECIMAL_SEPARATOR = '.'
178JSON_EDITOR = True
179IGNORABLE_404_URLS = []
180LOCALE_PATHS = []
181TEMPLATE_STRING_IF_INVALID = ''
182LOGOUT_URL = '/accounts/logout/'
183EMAIL_USE_TLS = False
184US_STATES = {'WA': 'Washington', 'VA': 'Virginia', 'DE': 'Delaware', 'DC': 'District of Columbia', 'WI': 'Wisconsin', 'WV': 'West Virginia', 'HI': 'Hawaii', 'AE': 'Armed Forces Middle East', 'FL': 'Florida', 'FM': 'Federated States of Micronesia', 'WY': 'Wyoming', 'NH': 'New Hampshire', 'NJ': 'New Jersey', 'NM': 'New Mexico', 'TX': 'Texas', 'LA': 'Louisiana', 'AK': 'Alaska', 'NC': 'North Carolina', 'ND': 'North Dakota', 'NE': 'Nebraska', 'TN': 'Tennessee', 'NY': 'New York', 'PA': 'Pennsylvania', 'RI': 'Rhode Island', 'NV': 'Nevada', 'AA': 'Armed Forces Americas', 'PR': 'Puerto Rico', 'GU': 'Guam', 'CO': 'Colorado', 'VI': 'Virgin Islands of the U.S.', 'CA': 'California', 'AL': 'Alabama', 'AP': 'Armed Forces Pacific', 'AS': 'American Samoa', 'AR': 'Arkansas', 'VT': 'Vermont', 'IL': 'Illinois', 'GA': 'Georgia', 'IN': 'Indiana', 'IA': 'Iowa', 'MA': 'Massachusetts', 'AZ': 'Arizona', 'ID': 'Idaho', 'CT': 'Connecticut', 'ME': 'Maine', 'MD': 'Maryland', 'OK': 'Oklahoma', 'OH': 'Ohio', 'UT': 'Utah', 'MO': 'Missouri', 'MN': 'Minnesota', 'MI': 'Michigan', 'MH': 'Republic of Marshall Islands', 'KS': 'Kansas', 'MT': 'Montana', 'MP': 'Northern Mariana Islands', 'MS': 'Mississippi', 'SC': 'South Carolina', 'KY': 'Kentucky', 'OR': 'Oregon', 'SD': 'South Dakota'}
185FIXTURE_DIRS = ['/home/centos/shopguarantee/src/fixtures']
186FORCE_SCRIPT_NAME = None
187DATE_FORMAT = 'N j, Y'
188MEDIA_ROOT = '/home/centos/shopguarantee/src/../uploads'
189JWT_AUTH = {'JWT_PAYLOAD_HANDLER': 'shipinsurance.authentication.jwt_payload_handler'}
190DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
191ADMINS = [('Rudy Cortes', 'fxjeane@gmail.com'), ('Ralph Leyga', 'ralphfleyga@gmail.com')]
192FORMAT_MODULE_PATH = None
193DEFAULT_FROM_EMAIL = 'admin@codementary.com'
194REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ('shipinsurance.authentication.ClientKeyAuthentication', 'shipinsurance.authentication.ShopifyAuthentication', 'rest_framework_jwt.authentication.JSONWebTokenAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.BasicAuthentication'), 'COERCE_DECIMAL_TO_STRING': False, 'DEFAULT_PERMISSION_CLASSES': ('shipinsurance.permissions.ApiAccessPermission', 'shipinsurance.permissions.SignatureClientMatch'), 'PAGE_SIZE': 100, 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer'), 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination'}
195MEDIA_URL = '/uploads/'
196DATETIME_FORMAT = 'N j, Y, P'
197TEMPLATE_DIRS = []
198SITE_ID = 1
199DISALLOWED_USER_AGENTS = []
200ALLOWED_INCLUDE_ROOTS = []
201LOGGING = {'loggers': {'django.request': {'handlers': ['file', 'mail_admins'], 'propagate': True, 'level': 'WARNING'}}, 'version': 1, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'disable_existing_loggers': False, 'handlers': {'file': {'level': 'WARNING', 'formatter': 'verbose', 'class': 'logging.FileHandler', 'filename': '/var/log/django/shipguarantee-warning.log'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}}
202SHORT_DATE_FORMAT = 'm/d/Y'
203TEMPLATES = [{'DIRS': ['/home/centos/shopguarantee/src/templates'], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.media', 'shopify_insurance.context_processors.shopify', 'shipinsurance.context_processors.get_version']}, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}]
204TEST_RUNNER = 'core.runner.TestRunner'
205CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
206SECURE_SSL_REDIRECT = True
207TIME_ZONE = 'UTC'
208CORS_ORIGIN_ALLOW_ALL = True
209FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
210EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
211DJANGO_RUNTIME_MODE = 'prod'
212EMAIL_USE_SSL = False
213TEMPLATE_CONTEXT_PROCESSORS = ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']
214MIGRATION_MODULES = {}
215SESSION_COOKIE_AGE = 1209600
216SETTINGS_MODULE = 'core.settings'
217USE_ETAGS = False
218LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
219FILE_UPLOAD_TEMP_DIR = None
220INTERNAL_IPS = []
221STATIC_URL = '/static/'
222EMAIL_PORT = 25
223USE_TZ = True
224SHORT_DATETIME_FORMAT = 'm/d/Y P'
225TEST_NON_SERIALIZED_APPS = []
226PASSWORD_HASHERS = u'********************'
227ABSOLUTE_URL_OVERRIDES = {}
228LANGUAGE_COOKIE_PATH = '/'
229CACHE_MIDDLEWARE_SECONDS = 600
230EMAIL_SSL_CERTFILE = None
231CSRF_COOKIE_HTTPONLY = False
232DATETIME_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']
233EMAIL_HOST_USER = 'admin@codementary.com'