· 8 years ago · Jun 19, 2017, 10:58 AM
1GET https://dev-assessment.iaugmentor.com/v2/test/3?module_id=15&user_module_package_id= http/1.1
206-19 16:24:56.471 6281-19980/com.iaugmentor.android D/OkHttp: --> END GET
306-19 16:24:56.473 6281-6281/com.iaugmentor.android D/ActivityThread: ACT-AM_ON_RESUME_CALLED ActivityRecord{2d63ce token=android.os.BinderProxy@71072ef {com.iaugmentor.android/com.iaugmentor.android.activities.assessment.AssessmentTestDetailActivity}}
406-19 16:24:56.483 6281-6281/com.iaugmentor.android D/ActivityThread: ACT-LAUNCH_ACTIVITY handled : 0 / ActivityRecord{2d63ce token=android.os.BinderProxy@71072ef {com.iaugmentor.android/com.iaugmentor.android.activities.assessment.AssessmentTestDetailActivity}}
506-19 16:24:56.750 6281-19980/com.iaugmentor.android D/NativeCrypto: ssl=0x7f51995480 handshake done in SSLOK SSL negotiation finished successfully
606-19 16:24:56.750 6281-19980/com.iaugmentor.android D/NativeCrypto: ssl=0x7f51995480 SSL_connect:ok exit in SSLOK SSL negotiation finished successfully
706-19 16:24:57.721 6281-19980/com.iaugmentor.android D/OkHttp: <-- 500 Internal Server Error https://dev-assessment.iaugmentor.com/v2/test/3?module_id=15&user_module_package_id= (1249ms)
806-19 16:24:57.721 6281-19980/com.iaugmentor.android D/OkHttp: Server: nginx/1.4.6 (Ubuntu)
906-19 16:24:57.721 6281-19980/com.iaugmentor.android D/OkHttp: Date: Mon, 19 Jun 2017 10:54:57 GMT
1006-19 16:24:57.722 6281-19980/com.iaugmentor.android D/OkHttp: Content-Type: text/plain
1106-19 16:24:57.722 6281-19980/com.iaugmentor.android D/OkHttp: Transfer-Encoding: chunked
1206-19 16:24:57.722 6281-19980/com.iaugmentor.android D/OkHttp: Connection: keep-alive
1306-19 16:24:57.722 6281-19980/com.iaugmentor.android D/OkHttp: Vary: Cookie
1406-19 16:24:57.722 6281-19980/com.iaugmentor.android D/OkHttp: X-Frame-Options: SAMEORIGIN
1506-19 16:24:57.723 6281-19980/com.iaugmentor.android D/OkHttp: ValueError at /v2/test/3
1606-19 16:24:57.723 6281-19980/com.iaugmentor.android D/OkHttp: No JSON object could be decoded
1706-19 16:24:57.723 6281-19980/com.iaugmentor.android D/OkHttp: Request Method: GET
1806-19 16:24:57.723 6281-19980/com.iaugmentor.android D/OkHttp: Request URL: http://dev-assessment.iaugmentor.com/v2/test/3?module_id=15&user_module_package_id=
1906-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Django Version: 1.9.7
2006-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Python Executable: /usr/bin/python
2106-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Python Version: 2.7.6
2206-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Python Path: ['/home/ubuntu/assessment', '/usr/local/bin', '/home/ubuntu/assessment', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
2306-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Server time: Mon, 19 Jun 2017 10:54:57 +0000
2406-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Installed Applications:
2506-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: ['django.contrib.admin',
2606-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.auth',
2706-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.contenttypes',
2806-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.sessions',
2906-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.messages',
3006-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.staticfiles',
3106-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'rest_framework',
3206-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'apiapp',
3306-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'rest_framework_jwt',
3406-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'corsheaders']
3506-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: Installed Middleware:
3606-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: ['django.middleware.security.SecurityMiddleware',
3706-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.sessions.middleware.SessionMiddleware',
3806-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'corsheaders.middleware.CorsMiddleware',
3906-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.middleware.common.CommonMiddleware',
4006-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.middleware.csrf.CsrfViewMiddleware',
4106-19 16:24:57.724 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.auth.middleware.AuthenticationMiddleware',
4206-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
4306-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 'django.contrib.messages.middleware.MessageMiddleware',
4406-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 'django.middleware.clickjacking.XFrameOptionsMiddleware',
4506-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 'apiapp.middleware.request_logger.LoggingMiddleware',
4606-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 'apiapp.middleware.token_check.ApiTokenCheckMiddleware']
4706-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: Traceback:
4806-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
4906-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 149. response = self.process_exception_by_middleware(e, request)
5006-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
5106-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 147. response = wrapped_callback(request, *callback_args, **callback_kwargs)
5206-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py" in wrapped_view
5306-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 58. return view_func(*args, **kwargs)
5406-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
5506-19 16:24:57.725 6281-19980/com.iaugmentor.android D/OkHttp: 68. return self.dispatch(request, *args, **kwargs)
5606-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch
5706-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: 477. response = self.handle_exception(exc)
5806-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in handle_exception
5906-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: 437. self.raise_uncaught_exception(exc)
6006-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py" in dispatch
6106-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: 474. response = handler(request, *args, **kwargs)
6206-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: File "/home/ubuntu/assessment/apiapp/views/v2_tests.py" in get
6306-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: 42. user_validation = user_module_validation(module_id, user_module_package_id, auth, api_key)
6406-19 16:24:57.726 6281-19980/com.iaugmentor.android D/OkHttp: File "/home/ubuntu/assessment/apiapp/common/service.py" in user_module_validation
6506-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: 17. res = {'res_code': r.status_code, 'data': r.json()}
6606-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/lib/python2.7/dist-packages/requests/models.py" in json
6706-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: 741. return json.loads(self.text, **kwargs)
6806-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/lib/python2.7/json/__init__.py" in loads
6906-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: 338. return _default_decoder.decode(s)
7006-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/lib/python2.7/json/decoder.py" in decode
7106-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: 366. obj, end = self.raw_decode(s, idx=_w(s, 0).end())
7206-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: File "/usr/lib/python2.7/json/decoder.py" in raw_decode
7306-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: 384. raise ValueError("No JSON object could be decoded")
7406-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: Exception Type: ValueError at /v2/test/3
7506-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: Exception Value: No JSON object could be decoded
7606-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: Request information:
7706-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: GET:
7806-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: module_id = u'15'
7906-19 16:24:57.727 6281-19980/com.iaugmentor.android D/OkHttp: user_module_package_id = u''
8006-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: POST: No POST data
8106-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: FILES: No FILES data
8206-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: COOKIES: No cookie data
8306-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: META:
8406-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_AUTHORIZATION = 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM2ODEsImlzcyI6Imh0dHBzOlwvXC9kZXYtYWNjb3VudHMtYXBpLmlhdWdtZW50b3IuY29tXC92MVwvYXV0aFwvc2lnbmluIiwiaWF0IjoxNDk3ODY5NTU5LCJleHAiOjE0OTc4Njk2MTksIm5iZiI6MTQ5Nzg2OTU1OSwianRpIjoiZmM3NTcyMjZjMzVjZjM0NmRiYWNjMWU5MDQ3MmJjNTcifQ.ATWY4BePnu4NNAhJHrG2Bb0cziK9QS7QkNTet5ganyI'
8506-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_KEY = 'TcS99L07QkDezB5n4Qdw'
8606-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: SERVER_SOFTWARE = 'gunicorn/19.6.0'
8706-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: SCRIPT_NAME = u''
8806-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: REQUEST_METHOD = 'GET'
8906-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: PATH_INFO = u'/v2/test/3'
9006-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: SERVER_PROTOCOL = 'HTTP/1.0'
9106-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: QUERY_STRING = 'module_id=15&user_module_package_id='
9206-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_USER_AGENT = 'okhttp/3.6.0'
9306-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_CONNECTION = 'close'
9406-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: REMOTE_PORT = '44268'
9506-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: SERVER_NAME = '127.0.0.1'
9606-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: REMOTE_ADDR = '127.0.0.1'
9706-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.url_scheme = 'http'
9806-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: SERVER_PORT = '8000'
9906-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_CLIENT = 'android-1.4'
10006-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.input = <gunicorn.http.body.Body object at 0x7fa1f40a1d50>
10106-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_HOST = 'dev-assessment.iaugmentor.com'
10206-19 16:24:57.728 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.multithread = False
10306-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.version =
10406-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: RAW_URI = '/v2/test/3?module_id=15&user_module_package_id='
10506-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.run_once = False
10606-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fa1f40a1210>
10706-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.multiprocess = True
10806-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: gunicorn.socket = <socket._socketobject object at 0x7fa1efddf520>
10906-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_X_FORWARDED_FOR = '47.31.6.200'
11006-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: wsgi.file_wrapper = ''
11106-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: HTTP_ACCEPT_ENCODING = 'gzip'
11206-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: Settings:
11306-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: Using settings module assessment.settings
11406-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_BROWSER_XSS_FILTER = False
11506-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: USE_X_FORWARDED_PORT = False
11606-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: USE_THOUSAND_SEPARATOR = False
11706-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_COOKIE_SECURE = False
11806-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: LANGUAGE_CODE = 'en-us'
11906-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: ROOT_URLCONF = 'assessment.urls'
12006-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: MANAGERS = []
12106-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: BASE_DIR = '/home/ubuntu/assessment'
12206-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: SILENCED_SYSTEM_CHECKS = []
12306-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_CHARSET = 'utf-8'
12406-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: CORS_ALLOW_HEADERS =
12506-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
12606-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: STATIC_ROOT = 'staticfiles'
12706-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: ALLOWED_HOSTS = []
12806-19 16:24:57.729 6281-19980/com.iaugmentor.android D/OkHttp: MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
12906-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_SUBJECT_PREFIX = '[Django] '
13006-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SERVER_EMAIL = 'root@localhost'
13106-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_HSTS_SECONDS = 0
13206-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
13306-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_CACHE_ALIAS = 'default'
13406-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_COOKIE_DOMAIN = None
13506-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_COOKIE_NAME = 'sessionid'
13606-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
13706-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_REDIRECT_EXEMPT = []
13806-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: DATABASES = {'default': {'ENGINE': 'django.db.backends.mysql', 'AUTOCOMMIT': True, 'ATOMIC_REQUESTS': False, 'NAME': 'iaugmntr_db_', 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'PORT': '3306', 'HOST': 'iaugmentor-dev.cs9d1mlccdvr.ap-southeast-1.rds.amazonaws.com', 'USER': 'iaugmntr_usr_', 'TEST': {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None}, 'PASSWORD': u'********************', 'OPTIONS': {'charset': 'utf8'}}}
13906-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_SSL_KEYFILE = u'********************'
14006-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
14106-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: FILE_UPLOAD_PERMISSIONS = None
14206-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
14306-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_CONTENT_TYPE = 'text/html'
14406-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: APPEND_SLASH = True
14506-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: LOCALE_PATHS = []
14606-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: DATABASE_ROUTERS = []
14706-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_TABLESPACE = ''
14806-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: YEAR_MONTH_FORMAT = 'F Y'
14906-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
15006-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
15106-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: APP_DIR = '/home/ubuntu/assessment/assessment'
15206-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_COOKIE_PATH = '/'
15306-19 16:24:57.730 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_HOST_PASSWORD = u'********************'
15406-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_CONTENT_TYPE_NOSNIFF = False
15506-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: MIDDLEWARE_CLASSES = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', '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', 'apiapp.middleware.request_logger.LoggingMiddleware', 'apiapp.middleware.token_check.ApiTokenCheckMiddleware']
15606-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: USE_I18N = True
15706-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: THOUSAND_SEPARATOR = ','
15806-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: SECRET_KEY = u'********************'
15906-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: LANGUAGE_COOKIE_NAME = 'django_language'
16006-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_INDEX_TABLESPACE = ''
16106-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: LOGGING_CONFIG = 'logging.config.dictConfig'
16206-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: TEMPLATE_LOADERS = ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']
16306-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: FIRST_DAY_OF_WEEK = 0
16406-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: WSGI_APPLICATION = 'assessment.wsgi.application'
16506-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: TEMPLATE_DEBUG = False
16606-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: X_FRAME_OPTIONS = 'SAMEORIGIN'
16706-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_COOKIE_NAME = 'csrftoken'
16806-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: FORCE_SCRIPT_NAME = None
16906-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: USE_X_FORWARDED_HOST = False
17006-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
17106-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_TIMEOUT = None
17206-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_SSL_HOST = None
17306-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
17406-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_COOKIE_SECURE = False
17506-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_COOKIE_DOMAIN = None
17606-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: FILE_CHARSET = 'utf-8'
17706-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: DEBUG = True
17806-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_TRUSTED_ORIGINS = []
17906-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: LANGUAGE_COOKIE_DOMAIN = None
18006-19 16:24:57.731 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
18106-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: INSTALLED_APPS = ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', 'apiapp', 'rest_framework_jwt', 'corsheaders']
18206-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: 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'), ('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')]
18306-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: USE_L10N = True
18406-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_HSTS_INCLUDE_SUBDOMAINS = False
18506-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: STATICFILES_DIRS = '/home/ubuntu/assessment/assessment/static'
18606-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: PREPEND_WWW = False
18706-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_PROXY_SSL_HEADER = None
18806-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: LANGUAGE_COOKIE_AGE = None
18906-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_COOKIE_HTTPONLY = True
19006-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: DEBUG_PROPAGATE_EXCEPTIONS = False
19106-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_COOKIE_AGE = 31449600
19206-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: MONTH_DAY_FORMAT = 'F j'
19306-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: LOGIN_URL = '/accounts/login/'
19406-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_EXPIRE_AT_BROWSER_CLOSE = False
19506-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: TIME_FORMAT = 'P'
19606-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: AUTH_USER_MODEL = 'apiapp.Users'
19706-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: 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']
19806-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
19906-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: AUTH_PASSWORD_VALIDATORS = u'********************'
20006-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: PASSWORD_RESET_TIMEOUT_DAYS = u'********************'
20106-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_FILE_PATH = None
20206-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: CACHE_MIDDLEWARE_ALIAS = 'default'
20306-19 16:24:57.732 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_SAVE_EVERY_REQUEST = False
20406-19 16:24:57.733 6281-19980/com.iaugmentor.android D/OkHttp: NUMBER_GROUPING = 0
20506-19 16:24:57.733 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_ENGINE = 'django.contrib.sessions.backends.db'
20606-19 16:24:57.733 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
20706-19 16:24:57.733 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_COOKIE_PATH = '/'
20806-19 16:24:57.733 6281-19980/com.iaugmentor.android D/OkHttp: LOGIN_REDIRECT_URL = '/accounts/profile/'
20906-19 16:24:57.733 6281-19980/com.iaugmentor.android D/OkHttp: DECIMAL_SEPARATOR = '.'
21006-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: IGNORABLE_404_URLS = []
21106-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: MIGRATION_MODULES = {}
21206-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: TEMPLATE_STRING_IF_INVALID = ''
21306-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: LOGOUT_URL = '/accounts/logout/'
21406-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_USE_TLS = False
21506-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: FIXTURE_DIRS = []
21606-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_HOST = 'localhost'
21706-19 16:24:57.735 6281-19980/com.iaugmentor.android D/OkHttp: DATE_FORMAT = 'N j, Y'
21806-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: MEDIA_ROOT = ''
21906-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: JWT_AUTH = {'JWT_SECRET_KEY': u'********************', 'JWT_AUDIENCE': None, 'JWT_LEEWAY': 0, 'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(3650), 'JWT_VERIFY': True, 'JWT_PRIVATE_KEY': u'********************', 'JWT_AUTH_HEADER_PREFIX': 'Bearer', 'JWT_DECODE_HANDLER': 'rest_framework_jwt.utils.jwt_decode_handler', 'JWT_RESPONSE_PAYLOAD_HANDLER': 'rest_framework_jwt.utils.jwt_response_payload_handler', 'JWT_EXPIRATION_DELTA': datetime.timedelta(365), 'JWT_PAYLOAD_GET_USER_ID_HANDLER': 'apiapp.authentication.jwt_utils.jwt_get_user_id_from_payload_handler', 'JWT_VERIFY_EXPIRATION': True, 'JWT_PAYLOAD_GET_USERNAME_HANDLER': 'apiapp.authentication.jwt_utils.custom_jwt_get_username_from_payload_handler', 'JWT_PAYLOAD_HANDLER': 'apiapp.authentication.jwt_utils.custom_jwt_payload_handler', 'JWT_ALGORITHM': 'HS256', 'JWT_ENCODE_HANDLER': 'rest_framework_jwt.utils.jwt_encode_handler', 'JWT_ALLOW_REFRESH': False, 'JWT_PUBLIC_KEY': u'********************'}
22006-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
22106-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: ADMINS = []
22206-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: FORMAT_MODULE_PATH = None
22306-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: DEFAULT_FROM_EMAIL = 'webmaster@localhost'
22406-19 16:24:57.736 6281-19980/com.iaugmentor.android D/OkHttp: MEDIA_URL = ''
22506-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: DATETIME_FORMAT = 'N j, Y, P'
22606-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: TEMPLATE_DIRS = []
22706-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: DISALLOWED_USER_AGENTS = []
22806-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: ALLOWED_INCLUDE_ROOTS = []
22906-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: LOGGING = {'version': 1, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}, 'disable_existing_loggers': False, 'handlers': {'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': '/home/ubuntu/assessment/logs/django.log'}, 'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'}}}
23006-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: SHORT_DATE_FORMAT = 'm/d/Y'
23106-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: TEMPLATES = [{'DIRS': [], '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']}, 'BACKEND': 'django.template.backends.django.DjangoTemplates'}]
23206-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: SERVICE_API_BASE_URL = u'********************'
23306-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: TEST_RUNNER = 'django.test.runner.DiscoverRunner'
23406-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: CACHE_MIDDLEWARE_KEY_PREFIX = u'********************'
23506-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: SECURE_SSL_REDIRECT = False
23606-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: TIME_ZONE = 'UTC'
23706-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: CORS_ORIGIN_ALLOW_ALL = True
23806-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
23906-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
24006-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_USE_SSL = False
24106-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: TEMPLATE_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']
24206-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: SESSION_COOKIE_AGE = 1209600
24306-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: SETTINGS_MODULE = 'assessment.settings'
24406-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: USE_ETAGS = False
24506-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
24606-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: FILE_UPLOAD_TEMP_DIR = None
24706-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: INTERNAL_IPS = []
24806-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: STATIC_URL = '/static/'
24906-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_PORT = 25
25006-19 16:24:57.737 6281-19980/com.iaugmentor.android D/OkHttp: USE_TZ = True
25106-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: SHORT_DATETIME_FORMAT = 'm/d/Y P'
25206-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: TEST_NON_SERIALIZED_APPS = []
25306-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: PASSWORD_HASHERS = u'********************'
25406-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: ABSOLUTE_URL_OVERRIDES = {}
25506-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: LANGUAGE_COOKIE_PATH = '/'
25606-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: CACHE_MIDDLEWARE_SECONDS = 600
25706-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_SSL_CERTFILE = None
25806-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: CSRF_COOKIE_HTTPONLY = False
25906-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: 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']
26006-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: EMAIL_HOST_USER = ''
26106-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: You're seeing this error because you have DEBUG = True in your
26206-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: Django settings file. Change that to False, and Django will
26306-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: display a standard page generated by the handler for this status code.
26406-19 16:24:57.738 6281-19980/com.iaugmentor.android D/OkHttp: <-- END HTTP (15456-byte body)