Advertisement
StasSychov

Untitled

Apr 10th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.40 KB | None | 0 0
  1. ResponseError at /api/v0/orders/tariffs
  2. MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  3. Request Method: GET
  4. Request URL: http://104.248.247.9/api/v0/orders/tariffs?tariff_type=1&type=individual
  5. Django Version: 2.1.7
  6. Exception Type: ResponseError
  7. Exception Value:
  8. MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  9. Exception Location: /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/connection.py in read_response, line 642
  10. Python Executable: /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/bin/python3.7
  11. Python Version: 3.7.1
  12. Python Path:
  13. ['/home/ukrtelekom/ukrtelekom/ukrtelekom/server',
  14. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server',
  15. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/bin',
  16. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python37.zip',
  17. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7',
  18. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/lib-dynload',
  19. '/usr/lib/python3.7',
  20. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages',
  21. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf',
  22. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf',
  23. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf',
  24. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf',
  25. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf',
  26. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf',
  27. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/odf']
  28. Server time: Ср, 10 Кві 2019 13:54:07 +0300
  29. Traceback Switch to copy-and-paste view
  30. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/cache.py in _decorator
  31. if method is None:
  32. return functools.partial(omit_exception, return_value=return_value)
  33. @functools.wraps(method)
  34. def _decorator(self, *args, **kwargs):
  35. try:
  36. return method(self, *args, **kwargs) ...
  37. except ConnectionInterrupted as e:
  38. if self._ignore_exceptions:
  39. if DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS:
  40. logger.error(str(e))
  41. return return_value
  42. ▶ Local vars
  43. Variable Value
  44. args
  45. ('solo:preferencesmodel', <PreferencesModel: PreferencesModel object (1)>, 300)
  46. kwargs
  47. {}
  48. method
  49. <function RedisCache.set at 0x7f0e12a68378>
  50. return_value
  51. None
  52. self
  53. <django_redis.cache.RedisCache object at 0x7f0e09cd50f0>
  54. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/cache.py in set
  55. """
  56. if self._client is None:
  57. self._client = self._client_cls(self._server, self._params, self)
  58. return self._client
  59. @omit_exception
  60. def set(self, *args, **kwargs):
  61. return self.client.set(*args, **kwargs) ...
  62. @omit_exception
  63. def incr_version(self, *args, **kwargs):
  64. return self.client.incr_version(*args, **kwargs)
  65. @omit_exception
  66. ▶ Local vars
  67. Variable Value
  68. args
  69. ('solo:preferencesmodel', <PreferencesModel: PreferencesModel object (1)>, 300)
  70. kwargs
  71. {}
  72. self
  73. <django_redis.cache.RedisCache object at 0x7f0e09cd50f0>
  74. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/client/default.py in set
  75. return client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)
  76. except _main_exceptions as e:
  77. if not original_client and not self._slave_read_only and len(tried) < len(self._server):
  78. tried.append(index)
  79. client = None
  80. continue
  81. raise ConnectionInterrupted(connection=client, parent=e) ...
  82. def incr_version(self, key, delta=1, version=None, client=None):
  83. """
  84. Adds delta to the cache version for the supplied key. Returns the
  85. new version.
  86. """
  87. ▶ Local vars
  88. Variable Value
  89. client
  90. Redis<ConnectionPool<Connection<host=127.0.0.1,port=6379,db=1>>>
  91. index
  92. 0
  93. key
  94. 'solo:preferencesmodel'
  95. nkey
  96. ':1:solo:preferencesmodel'
  97. nvalue
  98. (b'\x80\x04\x95\x15\x06\x00\x00\x00\x00\x00\x00\x8c\x15django.db.models.ba'
  99. b'se\x94\x8c\x0emodel_unpickle\x94\x93\x94\x8c\x0bpreferences\x94\x8c\x10Pr'
  100. b'eferencesModel\x94\x86\x94\x85\x94R\x94}\x94(\x8c\x06_state\x94h\x00\x8c'
  101. b'\nModelState\x94\x93\x94)\x81\x94}\x94(\x8c\x06adding\x94\x89\x8c\x02'
  102. b'db\x94\x8c\x07default\x94ub\x8c\x02id\x94K\x01\x8c\x04logo\x94\x8c\rlogo_'
  103. b'3mob.png\x94\x8c\tlogo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G?'
  104. b'\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\nadmin_logo\x94\x8c\x13logo_admin_3'
  105. b'mob.png\x94\x8c\x0fadmin_logo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G'
  106. b'?\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\x12recaptcha_site_key\x94\x8c(6Lc'
  107. b'ig3IUAAAAACmNkl8RzkhCDLWygKWngAv0szbZ\x94\x8c\twatermark\x94\x8c\x12logo_wat'
  108. b'ermark.png\x94\x8c\x11ukraine_operators\x94]\x94(\x8c\x0239\x94\x8c'
  109. b'\x0250\x94\x8c\x0263\x94\x8c\x0266\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273'
  110. b'\x94\x8c\x0291\x94\x8c\x0292\x94\x8c\x0293\x94\x8c\x0294\x94\x8c\x029'
  111. b'5\x94\x8c\x0296\x94\x8c\x0297\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x12not'
  112. b'ifier_operators\x94]\x94(\x8c\x0239\x94\x8c\x0250\x94\x8c\x0263\x94\x8c\x02'
  113. b'66\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273\x94\x8c\x0291\x94\x8c\x0292\x94'
  114. b'\x8c\x0293\x94\x8c\x0294\x94\x8c\x0295\x94\x8c\x0296\x94\x8c\x0297'
  115. b'\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x0fthree_mob_codes\x94]\x94\x8c\x0291'
  116. b'\x94a\x8c\x1amain_page_info_first_image\x94\x8c\x051.png\x94\x8c\x19main_pa'
  117. b'ge_info_last_image\x94\x8c\x053.png\x94\x8c\rauth_code_ttl\x94K\xb4\x8c\na'
  118. b'uth_tries\x94K\x03\x8c\x10auth_tries_range\x94K\x05\x8c\x16auth_code_errors_'
  119. b'limit\x94K\x03\x8c\x14username_valid_regex\x94\x8c/^[a-zA-Z\xd0\xb0-'
  120. b'\xd1\x8f\xd0\x90-\xd0\xaf\xd1\x8f\xd1\x91\xd0\x81\xd0\x87\xd1'
  121. b"\x97\xd0\x86\xd1\x96\xd0\x84\xd1\x94\xd2\x90\xd2\x91 '_-]+$\x94\x8c\x19regis"
  122. b'tration_files_amount\x94K\x05\x8c\x16registration_file_size\x94K\x05\x8c\x17'
  123. b'registration_file_types\x94]\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04ti'
  124. b'ff\x94\x8c\x03pdf\x94\x8c\x03jpg\x94e\x8c\x15guardian_files_amount\x94'
  125. b'K\x05\x8c\x12guardian_file_size\x94K\x05\x8c\x13guardian_file_types\x94]'
  126. b'\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04tiff\x94\x8c\x03pdf\x94'
  127. b'\x8c\x03jpg\x94e\x8c\torder_ttl\x94J\xbe\\\x01\x00\x8c\x10order_extend_t'
  128. b'tl\x94M \x1c\x8c\x1aorder_success_redirect_url\x94\x8c@https://register.3m'
  129. b'ob.ua/pages/uspeshnoe-podtverzhdenie-zayavki/\x94\x8c\x1fregistration_not'
  130. b'_complete_delta\x94K\x05\x8c\x0blogin_tries\x94K\x03\x8c\x0cuser_ban_ttl'
  131. b'\x94K<\x8c\x0bsession_ttl\x94K<\x8c\x07smpp_ip\x94\x8c\x0e88.198.186.15'
  132. b'0\x94\x8c\tsmpp_port\x94\x8c\x0513000\x94\x8c\rsmpp_systemid\x94\x8c\x0bSerg'
  133. b'ey test\x94\x8c\rsmpp_password\x94\x8c\x08sgh59mra\x94\x8c\x13smpp_source'
  134. b'_address\x94\x8c\x15sms.acemountmedia.com\x94\x8c\x15working_day_starts_at'
  135. b'\x94\x8c\x08datetime\x94\x8c\x04time\x94\x93\x94C\x06\x08\x00\x00\x00\x00'
  136. b'\x00\x94\x85\x94R\x94\x8c\x13working_day_ends_at\x94hvC\x06\x12\x00\x00\x00'
  137. b'\x00\x00\x94\x85\x94R\x94\x8c\x0f_django_version\x94\x8c\x052.1.7\x94ub.')
  138. nx
  139. False
  140. original_client
  141. None
  142. self
  143. <django_redis.client.default.DefaultClient object at 0x7f0e09cd5978>
  144. timeout
  145. 300000
  146. tried
  147. []
  148. value
  149. <PreferencesModel: PreferencesModel object (1)>
  150. version
  151. None
  152. xx
  153. False
  154. During handling of the above exception (Redis ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.), another exception occurred:
  155. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py in inner
  156. This decorator is automatically applied to all middleware to ensure that
  157. no middleware leaks an exception and that the next middleware in the stack
  158. can rely on getting a response instead of an exception.
  159. """
  160. @wraps(get_response)
  161. def inner(request):
  162. try:
  163. response = get_response(request) ...
  164. except Exception as exc:
  165. response = response_for_exception(request, exc)
  166. return response
  167. return inner
  168. ▶ Local vars
  169. Variable Value
  170. exc
  171. ResponseError('MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.')
  172. get_response
  173. <apps.staff.middleware.AdminSessionMiddleware object at 0x7f0e0b9aa7f0>
  174. request
  175. <WSGIRequest: GET '/api/v0/orders/tariffs?tariff_type=1&type=individual'>
  176. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/staff/middleware.py in __call__
  177. def __call__(self, request):
  178. # Code to be executed for each request before
  179. # the view (and later middleware) are called.
  180. # Ajax requests should not be considered
  181. if request.user.is_authenticated and not request.is_ajax():
  182. # Can't log out if not logged in
  183. self.process_session(request) ...
  184. response = self.get_response(request)
  185. # Code to be executed for each request/response after
  186. # the view is called.
  187. return response
  188. ▶ Local vars
  189. Variable Value
  190. request
  191. <WSGIRequest: GET '/api/v0/orders/tariffs?tariff_type=1&type=individual'>
  192. self
  193. <apps.staff.middleware.AdminSessionMiddleware object at 0x7f0e0b9aa7f0>
  194. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/staff/middleware.py in process_session
  195. def process_session(self, request):
  196. now = datetime.now()
  197. passed_after_last_touch = (
  198. now - request.session.get("last_touch", now)
  199. ).total_seconds() // 60
  200. if passed_after_last_touch >= preferences.get("session_ttl"): ...
  201. auth.logout(request)
  202. try:
  203. del request.session["last_touch"]
  204. except KeyError:
  205. pass
  206. ▶ Local vars
  207. Variable Value
  208. now
  209. datetime.datetime(2019, 4, 10, 13, 54, 6, 750766)
  210. passed_after_last_touch
  211. 3.0
  212. request
  213. <WSGIRequest: GET '/api/v0/orders/tariffs?tariff_type=1&type=individual'>
  214. self
  215. <apps.staff.middleware.AdminSessionMiddleware object at 0x7f0e0b9aa7f0>
  216. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/preferences/roots.py in get
  217. class Preferences:
  218. @property
  219. def db(self):
  220. return PreferencesModel.get_solo()
  221. def get(self, name: str, default=None) -> Any:
  222. return getattr(self.db, name, default) ...
  223. def to_json(self) -> Dict:
  224. return PreferenceSerializer(instance=self.db).data
  225. # As preferences can be only one, skip initialization by user.
  226. ▶ Local vars
  227. Variable Value
  228. default
  229. None
  230. name
  231. 'session_ttl'
  232. self
  233. <apps.preferences.roots.Preferences object at 0x7f0e119c63c8>
  234. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/preferences/roots.py in db
  235. __all__ = ("preferences",)
  236. class Preferences:
  237. @property
  238. def db(self):
  239. return PreferencesModel.get_solo() ...
  240. def get(self, name: str, default=None) -> Any:
  241. return getattr(self.db, name, default)
  242. def to_json(self) -> Dict:
  243. return PreferenceSerializer(instance=self.db).data
  244. ▶ Local vars
  245. Variable Value
  246. self
  247. <apps.preferences.roots.Preferences object at 0x7f0e119c63c8>
  248. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/solo/models.py in get_solo
  249. obj, created = cls.objects.get_or_create(pk=cls.singleton_instance_id)
  250. return obj
  251. cache = get_cache(cache_name)
  252. cache_key = cls.get_cache_key()
  253. obj = cache.get(cache_key)
  254. if not obj:
  255. obj, created = cls.objects.get_or_create(pk=cls.singleton_instance_id)
  256. obj.set_to_cache() ...
  257. return obj
  258. ▶ Local vars
  259. Variable Value
  260. cache
  261. <django_redis.cache.RedisCache object at 0x7f0e09cd50f0>
  262. cache_key
  263. 'solo:preferencesmodel'
  264. cache_name
  265. 'default'
  266. cls
  267. <class 'apps.preferences.models.PreferencesModel'>
  268. created
  269. False
  270. obj
  271. <PreferencesModel: PreferencesModel object (1)>
  272. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/solo/models.py in set_to_cache
  273. def set_to_cache(self):
  274. cache_name = getattr(settings, 'SOLO_CACHE', solo_settings.SOLO_CACHE)
  275. if not cache_name:
  276. return None
  277. cache = get_cache(cache_name)
  278. cache_key = self.get_cache_key()
  279. timeout = getattr(settings, 'SOLO_CACHE_TIMEOUT', solo_settings.SOLO_CACHE_TIMEOUT)
  280. cache.set(cache_key, self, timeout) ...
  281. @classmethod
  282. def get_cache_key(cls):
  283. prefix = getattr(settings, 'SOLO_CACHE_PREFIX', solo_settings.SOLO_CACHE_PREFIX)
  284. return '%s:%s' % (prefix, cls.__name__.lower())
  285. ▶ Local vars
  286. Variable Value
  287. cache
  288. <django_redis.cache.RedisCache object at 0x7f0e09cd50f0>
  289. cache_key
  290. 'solo:preferencesmodel'
  291. cache_name
  292. 'default'
  293. self
  294. <PreferencesModel: PreferencesModel object (1)>
  295. timeout
  296. 300
  297. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/cache.py in _decorator
  298. return method(self, *args, **kwargs)
  299. except ConnectionInterrupted as e:
  300. if self._ignore_exceptions:
  301. if DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS:
  302. logger.error(str(e))
  303. return return_value
  304. raise e.parent ...
  305. return _decorator
  306. class RedisCache(BaseCache):
  307. def __init__(self, server, params):
  308. super(RedisCache, self).__init__(params)
  309. ▶ Local vars
  310. Variable Value
  311. args
  312. ('solo:preferencesmodel', <PreferencesModel: PreferencesModel object (1)>, 300)
  313. kwargs
  314. {}
  315. method
  316. <function RedisCache.set at 0x7f0e12a68378>
  317. return_value
  318. None
  319. self
  320. <django_redis.cache.RedisCache object at 0x7f0e09cd50f0>
  321. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/client/default.py in set
  322. return not self.has_key(key, version=version, client=client)
  323. else:
  324. # redis doesn't support negative timeouts in ex flags
  325. # so it seems that it's better to just delete the key
  326. # than to set it and than expire in a pipeline
  327. return self.delete(key, client=client, version=version)
  328. return client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx) ...
  329. except _main_exceptions as e:
  330. if not original_client and not self._slave_read_only and len(tried) < len(self._server):
  331. tried.append(index)
  332. client = None
  333. continue
  334. raise ConnectionInterrupted(connection=client, parent=e)
  335. ▶ Local vars
  336. Variable Value
  337. client
  338. Redis<ConnectionPool<Connection<host=127.0.0.1,port=6379,db=1>>>
  339. index
  340. 0
  341. key
  342. 'solo:preferencesmodel'
  343. nkey
  344. ':1:solo:preferencesmodel'
  345. nvalue
  346. (b'\x80\x04\x95\x15\x06\x00\x00\x00\x00\x00\x00\x8c\x15django.db.models.ba'
  347. b'se\x94\x8c\x0emodel_unpickle\x94\x93\x94\x8c\x0bpreferences\x94\x8c\x10Pr'
  348. b'eferencesModel\x94\x86\x94\x85\x94R\x94}\x94(\x8c\x06_state\x94h\x00\x8c'
  349. b'\nModelState\x94\x93\x94)\x81\x94}\x94(\x8c\x06adding\x94\x89\x8c\x02'
  350. b'db\x94\x8c\x07default\x94ub\x8c\x02id\x94K\x01\x8c\x04logo\x94\x8c\rlogo_'
  351. b'3mob.png\x94\x8c\tlogo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G?'
  352. b'\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\nadmin_logo\x94\x8c\x13logo_admin_3'
  353. b'mob.png\x94\x8c\x0fadmin_logo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G'
  354. b'?\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\x12recaptcha_site_key\x94\x8c(6Lc'
  355. b'ig3IUAAAAACmNkl8RzkhCDLWygKWngAv0szbZ\x94\x8c\twatermark\x94\x8c\x12logo_wat'
  356. b'ermark.png\x94\x8c\x11ukraine_operators\x94]\x94(\x8c\x0239\x94\x8c'
  357. b'\x0250\x94\x8c\x0263\x94\x8c\x0266\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273'
  358. b'\x94\x8c\x0291\x94\x8c\x0292\x94\x8c\x0293\x94\x8c\x0294\x94\x8c\x029'
  359. b'5\x94\x8c\x0296\x94\x8c\x0297\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x12not'
  360. b'ifier_operators\x94]\x94(\x8c\x0239\x94\x8c\x0250\x94\x8c\x0263\x94\x8c\x02'
  361. b'66\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273\x94\x8c\x0291\x94\x8c\x0292\x94'
  362. b'\x8c\x0293\x94\x8c\x0294\x94\x8c\x0295\x94\x8c\x0296\x94\x8c\x0297'
  363. b'\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x0fthree_mob_codes\x94]\x94\x8c\x0291'
  364. b'\x94a\x8c\x1amain_page_info_first_image\x94\x8c\x051.png\x94\x8c\x19main_pa'
  365. b'ge_info_last_image\x94\x8c\x053.png\x94\x8c\rauth_code_ttl\x94K\xb4\x8c\na'
  366. b'uth_tries\x94K\x03\x8c\x10auth_tries_range\x94K\x05\x8c\x16auth_code_errors_'
  367. b'limit\x94K\x03\x8c\x14username_valid_regex\x94\x8c/^[a-zA-Z\xd0\xb0-'
  368. b'\xd1\x8f\xd0\x90-\xd0\xaf\xd1\x8f\xd1\x91\xd0\x81\xd0\x87\xd1'
  369. b"\x97\xd0\x86\xd1\x96\xd0\x84\xd1\x94\xd2\x90\xd2\x91 '_-]+$\x94\x8c\x19regis"
  370. b'tration_files_amount\x94K\x05\x8c\x16registration_file_size\x94K\x05\x8c\x17'
  371. b'registration_file_types\x94]\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04ti'
  372. b'ff\x94\x8c\x03pdf\x94\x8c\x03jpg\x94e\x8c\x15guardian_files_amount\x94'
  373. b'K\x05\x8c\x12guardian_file_size\x94K\x05\x8c\x13guardian_file_types\x94]'
  374. b'\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04tiff\x94\x8c\x03pdf\x94'
  375. b'\x8c\x03jpg\x94e\x8c\torder_ttl\x94J\xbe\\\x01\x00\x8c\x10order_extend_t'
  376. b'tl\x94M \x1c\x8c\x1aorder_success_redirect_url\x94\x8c@https://register.3m'
  377. b'ob.ua/pages/uspeshnoe-podtverzhdenie-zayavki/\x94\x8c\x1fregistration_not'
  378. b'_complete_delta\x94K\x05\x8c\x0blogin_tries\x94K\x03\x8c\x0cuser_ban_ttl'
  379. b'\x94K<\x8c\x0bsession_ttl\x94K<\x8c\x07smpp_ip\x94\x8c\x0e88.198.186.15'
  380. b'0\x94\x8c\tsmpp_port\x94\x8c\x0513000\x94\x8c\rsmpp_systemid\x94\x8c\x0bSerg'
  381. b'ey test\x94\x8c\rsmpp_password\x94\x8c\x08sgh59mra\x94\x8c\x13smpp_source'
  382. b'_address\x94\x8c\x15sms.acemountmedia.com\x94\x8c\x15working_day_starts_at'
  383. b'\x94\x8c\x08datetime\x94\x8c\x04time\x94\x93\x94C\x06\x08\x00\x00\x00\x00'
  384. b'\x00\x94\x85\x94R\x94\x8c\x13working_day_ends_at\x94hvC\x06\x12\x00\x00\x00'
  385. b'\x00\x00\x94\x85\x94R\x94\x8c\x0f_django_version\x94\x8c\x052.1.7\x94ub.')
  386. nx
  387. False
  388. original_client
  389. None
  390. self
  391. <django_redis.client.default.DefaultClient object at 0x7f0e09cd5978>
  392. timeout
  393. 300000
  394. tried
  395. []
  396. value
  397. <PreferencesModel: PreferencesModel object (1)>
  398. version
  399. None
  400. xx
  401. False
  402. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/client.py in set
  403. px = int(px.total_seconds() * 1000)
  404. pieces.append(px)
  405. if nx:
  406. pieces.append('NX')
  407. if xx:
  408. pieces.append('XX')
  409. return self.execute_command('SET', *pieces) ...
  410. def __setitem__(self, name, value):
  411. self.set(name, value)
  412. def setbit(self, name, offset, value):
  413. """
  414. ▶ Local vars
  415. Variable Value
  416. ex
  417. None
  418. name
  419. ':1:solo:preferencesmodel'
  420. nx
  421. False
  422. pieces
  423. [':1:solo:preferencesmodel',
  424. b'\x80\x04\x95\x15\x06\x00\x00\x00\x00\x00\x00\x8c\x15django.db.models.ba'
  425. b'se\x94\x8c\x0emodel_unpickle\x94\x93\x94\x8c\x0bpreferences\x94\x8c\x10Pr'
  426. b'eferencesModel\x94\x86\x94\x85\x94R\x94}\x94(\x8c\x06_state\x94h\x00\x8c'
  427. b'\nModelState\x94\x93\x94)\x81\x94}\x94(\x8c\x06adding\x94\x89\x8c\x02'
  428. b'db\x94\x8c\x07default\x94ub\x8c\x02id\x94K\x01\x8c\x04logo\x94\x8c\rlogo_'
  429. b'3mob.png\x94\x8c\tlogo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G?'
  430. b'\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\nadmin_logo\x94\x8c\x13logo_admin_3'
  431. b'mob.png\x94\x8c\x0fadmin_logo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G'
  432. b'?\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\x12recaptcha_site_key\x94\x8c(6Lc'
  433. b'ig3IUAAAAACmNkl8RzkhCDLWygKWngAv0szbZ\x94\x8c\twatermark\x94\x8c\x12logo_wat'
  434. b'ermark.png\x94\x8c\x11ukraine_operators\x94]\x94(\x8c\x0239\x94\x8c'
  435. b'\x0250\x94\x8c\x0263\x94\x8c\x0266\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273'
  436. b'\x94\x8c\x0291\x94\x8c\x0292\x94\x8c\x0293\x94\x8c\x0294\x94\x8c\x029'
  437. b'5\x94\x8c\x0296\x94\x8c\x0297\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x12not'
  438. b'ifier_operators\x94]\x94(\x8c\x0239\x94\x8c\x0250\x94\x8c\x0263\x94\x8c\x02'
  439. b'66\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273\x94\x8c\x0291\x94\x8c\x0292\x94'
  440. b'\x8c\x0293\x94\x8c\x0294\x94\x8c\x0295\x94\x8c\x0296\x94\x8c\x0297'
  441. b'\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x0fthree_mob_codes\x94]\x94\x8c\x0291'
  442. b'\x94a\x8c\x1amain_page_info_first_image\x94\x8c\x051.png\x94\x8c\x19main_pa'
  443. b'ge_info_last_image\x94\x8c\x053.png\x94\x8c\rauth_code_ttl\x94K\xb4\x8c\na'
  444. b'uth_tries\x94K\x03\x8c\x10auth_tries_range\x94K\x05\x8c\x16auth_code_errors_'
  445. b'limit\x94K\x03\x8c\x14username_valid_regex\x94\x8c/^[a-zA-Z\xd0\xb0-'
  446. b'\xd1\x8f\xd0\x90-\xd0\xaf\xd1\x8f\xd1\x91\xd0\x81\xd0\x87\xd1'
  447. b"\x97\xd0\x86\xd1\x96\xd0\x84\xd1\x94\xd2\x90\xd2\x91 '_-]+$\x94\x8c\x19regis"
  448. b'tration_files_amount\x94K\x05\x8c\x16registration_file_size\x94K\x05\x8c\x17'
  449. b'registration_file_types\x94]\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04ti'
  450. b'ff\x94\x8c\x03pdf\x94\x8c\x03jpg\x94e\x8c\x15guardian_files_amount\x94'
  451. b'K\x05\x8c\x12guardian_file_size\x94K\x05\x8c\x13guardian_file_types\x94]'
  452. b'\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04tiff\x94\x8c\x03pdf\x94'
  453. b'\x8c\x03jpg\x94e\x8c\torder_ttl\x94J\xbe\\\x01\x00\x8c\x10order_extend_t'
  454. b'tl\x94M \x1c\x8c\x1aorder_success_redirect_url\x94\x8c@https://register.3m'
  455. b'ob.ua/pages/uspeshnoe-podtverzhdenie-zayavki/\x94\x8c\x1fregistration_not'
  456. b'_complete_delta\x94K\x05\x8c\x0blogin_tries\x94K\x03\x8c\x0cuser_ban_ttl'
  457. b'\x94K<\x8c\x0bsession_ttl\x94K<\x8c\x07smpp_ip\x94\x8c\x0e88.198.186.15'
  458. b'0\x94\x8c\tsmpp_port\x94\x8c\x0513000\x94\x8c\rsmpp_systemid\x94\x8c\x0bSerg'
  459. b'ey test\x94\x8c\rsmpp_password\x94\x8c\x08sgh59mra\x94\x8c\x13smpp_source'
  460. b'_address\x94\x8c\x15sms.acemountmedia.com\x94\x8c\x15working_day_starts_at'
  461. b'\x94\x8c\x08datetime\x94\x8c\x04time\x94\x93\x94C\x06\x08\x00\x00\x00\x00'
  462. b'\x00\x94\x85\x94R\x94\x8c\x13working_day_ends_at\x94hvC\x06\x12\x00\x00\x00'
  463. b'\x00\x00\x94\x85\x94R\x94\x8c\x0f_django_version\x94\x8c\x052.1.7\x94ub.',
  464. 'PX',
  465. 300000]
  466. px
  467. 300000
  468. self
  469. Redis<ConnectionPool<Connection<host=127.0.0.1,port=6379,db=1>>>
  470. value
  471. (b'\x80\x04\x95\x15\x06\x00\x00\x00\x00\x00\x00\x8c\x15django.db.models.ba'
  472. b'se\x94\x8c\x0emodel_unpickle\x94\x93\x94\x8c\x0bpreferences\x94\x8c\x10Pr'
  473. b'eferencesModel\x94\x86\x94\x85\x94R\x94}\x94(\x8c\x06_state\x94h\x00\x8c'
  474. b'\nModelState\x94\x93\x94)\x81\x94}\x94(\x8c\x06adding\x94\x89\x8c\x02'
  475. b'db\x94\x8c\x07default\x94ub\x8c\x02id\x94K\x01\x8c\x04logo\x94\x8c\rlogo_'
  476. b'3mob.png\x94\x8c\tlogo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G?'
  477. b'\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\nadmin_logo\x94\x8c\x13logo_admin_3'
  478. b'mob.png\x94\x8c\x0fadmin_logo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G'
  479. b'?\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\x12recaptcha_site_key\x94\x8c(6Lc'
  480. b'ig3IUAAAAACmNkl8RzkhCDLWygKWngAv0szbZ\x94\x8c\twatermark\x94\x8c\x12logo_wat'
  481. b'ermark.png\x94\x8c\x11ukraine_operators\x94]\x94(\x8c\x0239\x94\x8c'
  482. b'\x0250\x94\x8c\x0263\x94\x8c\x0266\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273'
  483. b'\x94\x8c\x0291\x94\x8c\x0292\x94\x8c\x0293\x94\x8c\x0294\x94\x8c\x029'
  484. b'5\x94\x8c\x0296\x94\x8c\x0297\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x12not'
  485. b'ifier_operators\x94]\x94(\x8c\x0239\x94\x8c\x0250\x94\x8c\x0263\x94\x8c\x02'
  486. b'66\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273\x94\x8c\x0291\x94\x8c\x0292\x94'
  487. b'\x8c\x0293\x94\x8c\x0294\x94\x8c\x0295\x94\x8c\x0296\x94\x8c\x0297'
  488. b'\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x0fthree_mob_codes\x94]\x94\x8c\x0291'
  489. b'\x94a\x8c\x1amain_page_info_first_image\x94\x8c\x051.png\x94\x8c\x19main_pa'
  490. b'ge_info_last_image\x94\x8c\x053.png\x94\x8c\rauth_code_ttl\x94K\xb4\x8c\na'
  491. b'uth_tries\x94K\x03\x8c\x10auth_tries_range\x94K\x05\x8c\x16auth_code_errors_'
  492. b'limit\x94K\x03\x8c\x14username_valid_regex\x94\x8c/^[a-zA-Z\xd0\xb0-'
  493. b'\xd1\x8f\xd0\x90-\xd0\xaf\xd1\x8f\xd1\x91\xd0\x81\xd0\x87\xd1'
  494. b"\x97\xd0\x86\xd1\x96\xd0\x84\xd1\x94\xd2\x90\xd2\x91 '_-]+$\x94\x8c\x19regis"
  495. b'tration_files_amount\x94K\x05\x8c\x16registration_file_size\x94K\x05\x8c\x17'
  496. b'registration_file_types\x94]\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04ti'
  497. b'ff\x94\x8c\x03pdf\x94\x8c\x03jpg\x94e\x8c\x15guardian_files_amount\x94'
  498. b'K\x05\x8c\x12guardian_file_size\x94K\x05\x8c\x13guardian_file_types\x94]'
  499. b'\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04tiff\x94\x8c\x03pdf\x94'
  500. b'\x8c\x03jpg\x94e\x8c\torder_ttl\x94J\xbe\\\x01\x00\x8c\x10order_extend_t'
  501. b'tl\x94M \x1c\x8c\x1aorder_success_redirect_url\x94\x8c@https://register.3m'
  502. b'ob.ua/pages/uspeshnoe-podtverzhdenie-zayavki/\x94\x8c\x1fregistration_not'
  503. b'_complete_delta\x94K\x05\x8c\x0blogin_tries\x94K\x03\x8c\x0cuser_ban_ttl'
  504. b'\x94K<\x8c\x0bsession_ttl\x94K<\x8c\x07smpp_ip\x94\x8c\x0e88.198.186.15'
  505. b'0\x94\x8c\tsmpp_port\x94\x8c\x0513000\x94\x8c\rsmpp_systemid\x94\x8c\x0bSerg'
  506. b'ey test\x94\x8c\rsmpp_password\x94\x8c\x08sgh59mra\x94\x8c\x13smpp_source'
  507. b'_address\x94\x8c\x15sms.acemountmedia.com\x94\x8c\x15working_day_starts_at'
  508. b'\x94\x8c\x08datetime\x94\x8c\x04time\x94\x93\x94C\x06\x08\x00\x00\x00\x00'
  509. b'\x00\x94\x85\x94R\x94\x8c\x13working_day_ends_at\x94hvC\x06\x12\x00\x00\x00'
  510. b'\x00\x00\x94\x85\x94R\x94\x8c\x0f_django_version\x94\x8c\x052.1.7\x94ub.')
  511. xx
  512. False
  513. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/client.py in execute_command
  514. def execute_command(self, *args, **options):
  515. "Execute a command and return a parsed response"
  516. pool = self.connection_pool
  517. command_name = args[0]
  518. connection = pool.get_connection(command_name, **options)
  519. try:
  520. connection.send_command(*args)
  521. return self.parse_response(connection, command_name, **options) ...
  522. except (ConnectionError, TimeoutError) as e:
  523. connection.disconnect()
  524. if not (connection.retry_on_timeout and
  525. isinstance(e, TimeoutError)):
  526. raise
  527. connection.send_command(*args)
  528. ▶ Local vars
  529. Variable Value
  530. args
  531. ('SET',
  532. ':1:solo:preferencesmodel',
  533. b'\x80\x04\x95\x15\x06\x00\x00\x00\x00\x00\x00\x8c\x15django.db.models.ba'
  534. b'se\x94\x8c\x0emodel_unpickle\x94\x93\x94\x8c\x0bpreferences\x94\x8c\x10Pr'
  535. b'eferencesModel\x94\x86\x94\x85\x94R\x94}\x94(\x8c\x06_state\x94h\x00\x8c'
  536. b'\nModelState\x94\x93\x94)\x81\x94}\x94(\x8c\x06adding\x94\x89\x8c\x02'
  537. b'db\x94\x8c\x07default\x94ub\x8c\x02id\x94K\x01\x8c\x04logo\x94\x8c\rlogo_'
  538. b'3mob.png\x94\x8c\tlogo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G?'
  539. b'\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\nadmin_logo\x94\x8c\x13logo_admin_3'
  540. b'mob.png\x94\x8c\x0fadmin_logo_ppoi\x94G?\xe0\x00\x00\x00\x00\x00\x00G'
  541. b'?\xe0\x00\x00\x00\x00\x00\x00\x86\x94\x8c\x12recaptcha_site_key\x94\x8c(6Lc'
  542. b'ig3IUAAAAACmNkl8RzkhCDLWygKWngAv0szbZ\x94\x8c\twatermark\x94\x8c\x12logo_wat'
  543. b'ermark.png\x94\x8c\x11ukraine_operators\x94]\x94(\x8c\x0239\x94\x8c'
  544. b'\x0250\x94\x8c\x0263\x94\x8c\x0266\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273'
  545. b'\x94\x8c\x0291\x94\x8c\x0292\x94\x8c\x0293\x94\x8c\x0294\x94\x8c\x029'
  546. b'5\x94\x8c\x0296\x94\x8c\x0297\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x12not'
  547. b'ifier_operators\x94]\x94(\x8c\x0239\x94\x8c\x0250\x94\x8c\x0263\x94\x8c\x02'
  548. b'66\x94\x8c\x0267\x94\x8c\x0268\x94\x8c\x0273\x94\x8c\x0291\x94\x8c\x0292\x94'
  549. b'\x8c\x0293\x94\x8c\x0294\x94\x8c\x0295\x94\x8c\x0296\x94\x8c\x0297'
  550. b'\x94\x8c\x0298\x94\x8c\x0299\x94e\x8c\x0fthree_mob_codes\x94]\x94\x8c\x0291'
  551. b'\x94a\x8c\x1amain_page_info_first_image\x94\x8c\x051.png\x94\x8c\x19main_pa'
  552. b'ge_info_last_image\x94\x8c\x053.png\x94\x8c\rauth_code_ttl\x94K\xb4\x8c\na'
  553. b'uth_tries\x94K\x03\x8c\x10auth_tries_range\x94K\x05\x8c\x16auth_code_errors_'
  554. b'limit\x94K\x03\x8c\x14username_valid_regex\x94\x8c/^[a-zA-Z\xd0\xb0-'
  555. b'\xd1\x8f\xd0\x90-\xd0\xaf\xd1\x8f\xd1\x91\xd0\x81\xd0\x87\xd1'
  556. b"\x97\xd0\x86\xd1\x96\xd0\x84\xd1\x94\xd2\x90\xd2\x91 '_-]+$\x94\x8c\x19regis"
  557. b'tration_files_amount\x94K\x05\x8c\x16registration_file_size\x94K\x05\x8c\x17'
  558. b'registration_file_types\x94]\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04ti'
  559. b'ff\x94\x8c\x03pdf\x94\x8c\x03jpg\x94e\x8c\x15guardian_files_amount\x94'
  560. b'K\x05\x8c\x12guardian_file_size\x94K\x05\x8c\x13guardian_file_types\x94]'
  561. b'\x94(\x8c\x04jpeg\x94\x8c\x03png\x94\x8c\x04tiff\x94\x8c\x03pdf\x94'
  562. b'\x8c\x03jpg\x94e\x8c\torder_ttl\x94J\xbe\\\x01\x00\x8c\x10order_extend_t'
  563. b'tl\x94M \x1c\x8c\x1aorder_success_redirect_url\x94\x8c@https://register.3m'
  564. b'ob.ua/pages/uspeshnoe-podtverzhdenie-zayavki/\x94\x8c\x1fregistration_not'
  565. b'_complete_delta\x94K\x05\x8c\x0blogin_tries\x94K\x03\x8c\x0cuser_ban_ttl'
  566. b'\x94K<\x8c\x0bsession_ttl\x94K<\x8c\x07smpp_ip\x94\x8c\x0e88.198.186.15'
  567. b'0\x94\x8c\tsmpp_port\x94\x8c\x0513000\x94\x8c\rsmpp_systemid\x94\x8c\x0bSerg'
  568. b'ey test\x94\x8c\rsmpp_password\x94\x8c\x08sgh59mra\x94\x8c\x13smpp_source'
  569. b'_address\x94\x8c\x15sms.acemountmedia.com\x94\x8c\x15working_day_starts_at'
  570. b'\x94\x8c\x08datetime\x94\x8c\x04time\x94\x93\x94C\x06\x08\x00\x00\x00\x00'
  571. b'\x00\x94\x85\x94R\x94\x8c\x13working_day_ends_at\x94hvC\x06\x12\x00\x00\x00'
  572. b'\x00\x00\x94\x85\x94R\x94\x8c\x0f_django_version\x94\x8c\x052.1.7\x94ub.',
  573. 'PX',
  574. 300000)
  575. command_name
  576. 'SET'
  577. connection
  578. Connection<host=127.0.0.1,port=6379,db=1>
  579. options
  580. {}
  581. pool
  582. ConnectionPool<Connection<host=127.0.0.1,port=6379,db=1>>
  583. self
  584. Redis<ConnectionPool<Connection<host=127.0.0.1,port=6379,db=1>>>
  585. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/client.py in parse_response
  586. return self.parse_response(connection, command_name, **options)
  587. finally:
  588. pool.release(connection)
  589. def parse_response(self, connection, command_name, **options):
  590. "Parses a response from the Redis server"
  591. try:
  592. response = connection.read_response() ...
  593. except ResponseError:
  594. if EMPTY_RESPONSE in options:
  595. return options[EMPTY_RESPONSE]
  596. raise
  597. if command_name in self.response_callbacks:
  598. return self.response_callbacks[command_name](response, **options)
  599. ▶ Local vars
  600. Variable Value
  601. command_name
  602. 'SET'
  603. connection
  604. Connection<host=127.0.0.1,port=6379,db=1>
  605. options
  606. {}
  607. self
  608. Redis<ConnectionPool<Connection<host=127.0.0.1,port=6379,db=1>>>
  609. /home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/connection.py in read_response
  610. "Read the response from a previously sent command"
  611. try:
  612. response = self._parser.read_response()
  613. except: # noqa: E722
  614. self.disconnect()
  615. raise
  616. if isinstance(response, ResponseError):
  617. raise response ...
  618. return response
  619. def pack_command(self, *args):
  620. "Pack a series of arguments into the Redis protocol"
  621. output = []
  622. # the client might have included 1 or more literal arguments in
  623. ▶ Local vars
  624. Variable Value
  625. response
  626. ResponseError('MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.')
  627. self
  628. Connection<host=127.0.0.1,port=6379,db=1>
  629. Environment:
  630.  
  631.  
  632. Request Method: GET
  633. Request URL: http://104.248.247.9/api/v0/orders/tariffs?tariff_type=1&type=individual
  634.  
  635. Django Version: 2.1.7
  636. Python Version: 3.7.1
  637. Installed Applications:
  638. ['markup',
  639. 'shared',
  640. 'apps.staff',
  641. 'apps.orders',
  642. 'apps.geo',
  643. 'apps.pages',
  644. 'apps.preferences',
  645. 'apps.logger',
  646. 'apps.sms',
  647. 'apps.chat',
  648. 'apps.novaposhta',
  649. 'rosetta',
  650. 'django_jinja',
  651. 'parler',
  652. 'dal',
  653. 'dal_select2',
  654. 'reversion',
  655. 'reversion_compare',
  656. 'ckeditor',
  657. 'solo',
  658. 'versatileimagefield',
  659. 'adminsortable2',
  660. 'django_filters',
  661. 'rest_framework',
  662. 'drf_yasg',
  663. 'recaptcha',
  664. 'vuejs_translate',
  665. 'postie',
  666. 'codemirror2',
  667. 'des',
  668. 'zxcvbn_password',
  669. 'multi_captcha_admin',
  670. 'snowpenguin.django.recaptcha2',
  671. 'django_json_widget',
  672. 'robots',
  673. 'jet',
  674. 'jet.dashboard',
  675. 'channels',
  676. 'import_export',
  677. 'social_django',
  678. 'django.contrib.admin',
  679. 'django.contrib.auth',
  680. 'django.contrib.contenttypes',
  681. 'django.contrib.sessions',
  682. 'django.contrib.messages',
  683. 'django.contrib.staticfiles',
  684. 'django.contrib.sites']
  685. Installed Middleware:
  686. ['django.middleware.security.SecurityMiddleware',
  687. 'django.contrib.sessions.middleware.SessionMiddleware',
  688. 'django.middleware.locale.LocaleMiddleware',
  689. 'django.middleware.common.CommonMiddleware',
  690. 'django.middleware.csrf.CsrfViewMiddleware',
  691. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  692. 'apps.staff.middleware.AdminSessionMiddleware',
  693. 'django.contrib.messages.middleware.MessageMiddleware',
  694. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  695.  
  696.  
  697.  
  698. Traceback:
  699.  
  700. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/cache.py" in _decorator
  701. 32. return method(self, *args, **kwargs)
  702.  
  703. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/cache.py" in set
  704. 67. return self.client.set(*args, **kwargs)
  705.  
  706. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/client/default.py" in set
  707. 149. raise ConnectionInterrupted(connection=client, parent=e)
  708.  
  709. During handling of the above exception (Redis ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.), another exception occurred:
  710.  
  711. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
  712. 34. response = get_response(request)
  713.  
  714. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/staff/middleware.py" in __call__
  715. 21. self.process_session(request)
  716.  
  717. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/staff/middleware.py" in process_session
  718. 35. if passed_after_last_touch >= preferences.get("session_ttl"):
  719.  
  720. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/preferences/roots.py" in get
  721. 15. return getattr(self.db, name, default)
  722.  
  723. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/apps/preferences/roots.py" in db
  724. 12. return PreferencesModel.get_solo()
  725.  
  726. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/solo/models.py" in get_solo
  727. 61. obj.set_to_cache()
  728.  
  729. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/solo/models.py" in set_to_cache
  730. 43. cache.set(cache_key, self, timeout)
  731.  
  732. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/cache.py" in _decorator
  733. 39. raise e.parent
  734.  
  735. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/django_redis/client/default.py" in set
  736. 143. return client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)
  737.  
  738. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/client.py" in set
  739. 1451. return self.execute_command('SET', *pieces)
  740.  
  741. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/client.py" in execute_command
  742. 775. return self.parse_response(connection, command_name, **options)
  743.  
  744. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/client.py" in parse_response
  745. 789. response = connection.read_response()
  746.  
  747. File "/home/ukrtelekom/ukrtelekom/ukrtelekom/server/.venv/lib/python3.7/site-packages/redis/connection.py" in read_response
  748. 642. raise response
  749.  
  750. Exception Type: ResponseError at /api/v0/orders/tariffs
  751. Exception Value: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  752.  
  753.  
  754.  
  755. Request information
  756. USER
  757. admin
  758.  
  759. GET
  760. Variable Value
  761. tariff_type
  762. '1'
  763. type
  764. 'individual'
  765. POST
  766. No POST data
  767.  
  768. FILES
  769. No FILES data
  770.  
  771. COOKIES
  772. Variable Value
  773. popup
  774. 'hidden'
  775. sidebar_pinned
  776. 'true'
  777. csrftoken
  778. 'jvDPziUZPbpTBIQUMkg9Pp8IGlpZsuUw9QKBJWKD1v3fhSxTYISpeDaC4NJ5GRVB'
  779. sessionid
  780. 'j85sn9x3cag3jptziq9iqu4ahjm8r4ms'
  781. META
  782. Variable Value
  783. CSRF_COOKIE
  784. 'jvDPziUZPbpTBIQUMkg9Pp8IGlpZsuUw9QKBJWKD1v3fhSxTYISpeDaC4NJ5GRVB'
  785. HTTP_ACCEPT
  786. '*/*'
  787. HTTP_ACCEPT_ENCODING
  788. 'gzip, deflate'
  789. HTTP_ACCEPT_LANGUAGE
  790. 'en-US,en;q=0.9,ru;q=0.8,uk;q=0.7'
  791. HTTP_CACHE_CONTROL
  792. 'no-cache'
  793. HTTP_CONNECTION
  794. 'close'
  795. HTTP_COOKIE
  796. ('popup=hidden; sidebar_pinned=true; '
  797. 'csrftoken=jvDPziUZPbpTBIQUMkg9Pp8IGlpZsuUw9QKBJWKD1v3fhSxTYISpeDaC4NJ5GRVB; '
  798. 'sessionid=j85sn9x3cag3jptziq9iqu4ahjm8r4ms')
  799. HTTP_DNT
  800. '1'
  801. HTTP_HOST
  802. '104.248.247.9'
  803. HTTP_PRAGMA
  804. 'no-cache'
  805. HTTP_REFERER
  806. 'http://104.248.247.9/orders/register'
  807. HTTP_USER_AGENT
  808. ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '
  809. 'Gecko) Chrome/73.0.3683.103 Safari/537.36')
  810. HTTP_X_FORWARDED_FOR
  811. '185.248.130.27'
  812. PATH_INFO
  813. '/api/v0/orders/tariffs'
  814. QUERY_STRING
  815. 'tariff_type=1&type=individual'
  816. RAW_URI
  817. '/api/v0/orders/tariffs?tariff_type=1&type=individual'
  818. REMOTE_ADDR
  819. ''
  820. REQUEST_METHOD
  821. 'GET'
  822. SCRIPT_NAME
  823. ''
  824. SERVER_NAME
  825. '104.248.247.9'
  826. SERVER_PORT
  827. '80'
  828. SERVER_PROTOCOL
  829. 'HTTP/1.0'
  830. SERVER_SOFTWARE
  831. 'gunicorn/19.9.0'
  832. gunicorn.socket
  833. <gevent._socket3.socket object, fd=18, family=1, type=1, proto=0>
  834. wsgi.errors
  835. <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f0e0a174a20>
  836. wsgi.file_wrapper
  837. ''
  838. wsgi.input
  839. <gunicorn.http.body.Body object at 0x7f0e0a9f0908>
  840. wsgi.multiprocess
  841. True
  842. wsgi.multithread
  843. True
  844. wsgi.run_once
  845. False
  846. wsgi.url_scheme
  847. 'http'
  848. wsgi.version
  849. (1, 0)
  850. Settings
  851. Using settings module app.settings
  852. Setting Value
  853. ABSOLUTE_URL_OVERRIDES
  854. {}
  855. ADMINS
  856. []
  857. ALLOWED_HOSTS
  858. ['104.248.247.9']
  859. APPEND_SLASH
  860. True
  861. ASGI_APPLICATION
  862. 'app.routing.application'
  863. AUTHENTICATION_BACKENDS
  864. ('django.contrib.auth.backends.ModelBackend',
  865. 'apps.bankid.backends.privat.BankIDPrivat',
  866. 'apps.bankid.backends.nbu.BankIDNBU')
  867. AUTH_PASSWORD_VALIDATORS
  868. '********************'
  869. AUTH_USER_MODEL
  870. 'staff.User'
  871. BASE_DIR
  872. PosixPath('/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/settings/default.py')
  873. BASE_ROOT
  874. PosixPath('/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app')
  875. CACHES
  876. {'default': {'BACKEND': 'django_redis.cache.RedisCache',
  877. 'LOCATION': 'redis://127.0.0.1:6379/1'}}
  878. CACHE_MIDDLEWARE_ALIAS
  879. 'default'
  880. CACHE_MIDDLEWARE_KEY_PREFIX
  881. '********************'
  882. CACHE_MIDDLEWARE_SECONDS
  883. 600
  884. CELERY_ACCEPT_CONTENT
  885. ['json']
  886. CELERY_BROKER_URL
  887. 'redis://127.0.0.1:6379/0'
  888. CELERY_RESULT_SERIALIZER
  889. 'json'
  890. CELERY_TASK_SERIALIZER
  891. 'json'
  892. CHANNEL_LAYERS
  893. {'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer',
  894. 'CONFIG': {'capacity': 10000, 'hosts': [('localhost', 6379)]}}}
  895. CKEDITOR_CONFIGS
  896. {'default': {'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,autogrow,widget,lineutils,clipboard,dialog,dialogui,elementspath',
  897. 'skin': 'moono',
  898. 'tabSpaces': 4,
  899. 'toolbar': 'YourCustomToolbarConfig',
  900. 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']],
  901. 'toolbar_YourCustomToolbarConfig': [{'items': ['Source',
  902. '-',
  903. 'Save',
  904. 'NewPage',
  905. 'Preview',
  906. 'Print',
  907. '-',
  908. 'Templates'],
  909. 'name': 'document'},
  910. {'items': ['Cut',
  911. 'Copy',
  912. 'Paste',
  913. 'PasteText',
  914. 'PasteFromWord',
  915. '-',
  916. 'Undo',
  917. 'Redo'],
  918. 'name': 'clipboard'},
  919. {'items': ['Find',
  920. 'Replace',
  921. '-',
  922. 'SelectAll'],
  923. 'name': 'editing'},
  924. {'items': ['Form',
  925. 'Checkbox',
  926. 'Radio',
  927. 'TextField',
  928. 'Textarea',
  929. 'Select',
  930. 'Button',
  931. 'ImageButton',
  932. 'HiddenField'],
  933. 'name': 'forms'},
  934. '/',
  935. {'items': ['Bold',
  936. 'Italic',
  937. 'Underline',
  938. 'Strike',
  939. 'Subscript',
  940. 'Superscript',
  941. '-',
  942. 'RemoveFormat'],
  943. 'name': 'basicstyles'},
  944. {'items': ['NumberedList',
  945. 'BulletedList',
  946. '-',
  947. 'Outdent',
  948. 'Indent',
  949. '-',
  950. 'Blockquote',
  951. 'CreateDiv',
  952. '-',
  953. 'JustifyLeft',
  954. 'JustifyCenter',
  955. 'JustifyRight',
  956. 'JustifyBlock',
  957. '-',
  958. 'BidiLtr',
  959. 'BidiRtl',
  960. 'Language'],
  961. 'name': 'paragraph'},
  962. {'items': ['Link',
  963. 'Unlink',
  964. 'Anchor'],
  965. 'name': 'links'},
  966. {'items': ['Image',
  967. 'Flash',
  968. 'Table',
  969. 'HorizontalRule',
  970. 'Smiley',
  971. 'SpecialChar',
  972. 'PageBreak',
  973. 'Iframe'],
  974. 'name': 'insert'},
  975. '/',
  976. {'items': ['Styles',
  977. 'Format',
  978. 'Font',
  979. 'FontSize'],
  980. 'name': 'styles'},
  981. {'items': ['TextColor',
  982. 'BGColor'],
  983. 'name': 'colors'},
  984. {'items': ['Maximize',
  985. 'ShowBlocks'],
  986. 'name': 'tools'},
  987. {'items': ['About'],
  988. 'name': 'about'},
  989. '/',
  990. {'items': ['Preview',
  991. 'Maximize'],
  992. 'name': 'yourcustomtools'}]}}
  993. CSRF_COOKIE_AGE
  994. 31449600
  995. CSRF_COOKIE_DOMAIN
  996. None
  997. CSRF_COOKIE_HTTPONLY
  998. False
  999. CSRF_COOKIE_NAME
  1000. 'csrftoken'
  1001. CSRF_COOKIE_PATH
  1002. '/'
  1003. CSRF_COOKIE_SAMESITE
  1004. 'Lax'
  1005. CSRF_COOKIE_SECURE
  1006. False
  1007. CSRF_FAILURE_VIEW
  1008. 'django.views.csrf.csrf_failure'
  1009. CSRF_HEADER_NAME
  1010. 'HTTP_X_CSRFTOKEN'
  1011. CSRF_TRUSTED_ORIGINS
  1012. []
  1013. CSRF_USE_SESSIONS
  1014. False
  1015. DATABASES
  1016. {'default': {'ATOMIC_REQUESTS': False,
  1017. 'AUTOCOMMIT': True,
  1018. 'CONN_MAX_AGE': 0,
  1019. 'ENGINE': 'django.db.backends.postgresql',
  1020. 'HOST': '127.0.0.1',
  1021. 'NAME': 'ukrmob',
  1022. 'OPTIONS': {},
  1023. 'PASSWORD': '********************',
  1024. 'PORT': 5432,
  1025. 'TEST': {'CHARSET': None,
  1026. 'COLLATION': None,
  1027. 'MIRROR': None,
  1028. 'NAME': None},
  1029. 'TIME_ZONE': None,
  1030. 'USER': 'ukrtelecom_db'}}
  1031. DATABASE_ROUTERS
  1032. []
  1033. DATA_UPLOAD_MAX_MEMORY_SIZE
  1034. 2621440
  1035. DATA_UPLOAD_MAX_NUMBER_FIELDS
  1036. 1000
  1037. DATETIME_FORMAT
  1038. 'N j, Y, P'
  1039. DATETIME_INPUT_FORMATS
  1040. ['%Y-%m-%d %H:%M:%S',
  1041. '%Y-%m-%d %H:%M:%S.%f',
  1042. '%Y-%m-%d %H:%M',
  1043. '%Y-%m-%d',
  1044. '%m/%d/%Y %H:%M:%S',
  1045. '%m/%d/%Y %H:%M:%S.%f',
  1046. '%m/%d/%Y %H:%M',
  1047. '%m/%d/%Y',
  1048. '%m/%d/%y %H:%M:%S',
  1049. '%m/%d/%y %H:%M:%S.%f',
  1050. '%m/%d/%y %H:%M',
  1051. '%m/%d/%y']
  1052. DATE_FORMAT
  1053. 'N j, Y'
  1054. DATE_INPUT_FORMATS
  1055. ['%Y-%m-%d',
  1056. '%m/%d/%Y',
  1057. '%m/%d/%y',
  1058. '%b %d %Y',
  1059. '%b %d, %Y',
  1060. '%d %b %Y',
  1061. '%d %b, %Y',
  1062. '%B %d %Y',
  1063. '%B %d, %Y',
  1064. '%d %B %Y',
  1065. '%d %B, %Y']
  1066. DEBUG
  1067. 'True'
  1068. DEBUG_PROPAGATE_EXCEPTIONS
  1069. False
  1070. DECIMAL_SEPARATOR
  1071. '.'
  1072. DEFAULT_CHARSET
  1073. 'utf-8'
  1074. DEFAULT_CONTENT_TYPE
  1075. 'text/html'
  1076. DEFAULT_EXCEPTION_REPORTER_FILTER
  1077. 'django.views.debug.SafeExceptionReporterFilter'
  1078. DEFAULT_EXTENSIONS
  1079. ['jinja2.ext.do',
  1080. 'jinja2.ext.loopcontrols',
  1081. 'jinja2.ext.with_',
  1082. 'jinja2.ext.i18n',
  1083. 'jinja2.ext.autoescape',
  1084. 'django_jinja.builtins.extensions.CsrfExtension',
  1085. 'django_jinja.builtins.extensions.CacheExtension',
  1086. 'django_jinja.builtins.extensions.TimezoneExtension',
  1087. 'django_jinja.builtins.extensions.UrlsExtension',
  1088. 'django_jinja.builtins.extensions.StaticFilesExtension',
  1089. 'django_jinja.builtins.extensions.DjangoFiltersExtension']
  1090. DEFAULT_FILE_STORAGE
  1091. 'django.core.files.storage.FileSystemStorage'
  1092. DEFAULT_FROM_EMAIL
  1093. DEFAULT_INDEX_TABLESPACE
  1094. ''
  1095. DEFAULT_TABLESPACE
  1096. ''
  1097. DISALLOWED_USER_AGENTS
  1098. []
  1099. EMAIL_BACKEND
  1100. 'des.backends.ConfiguredEmailBackend'
  1101. EMAIL_CONFIG
  1102. {'EMAIL_BACKEND': 'django.core.mail.backends.console.EmailBackend',
  1103. 'EMAIL_FILE_PATH': '',
  1104. 'EMAIL_HOST': '127.0.0.1',
  1105. 'EMAIL_HOST_PASSWORD': '********************',
  1106. 'EMAIL_HOST_USER': None,
  1107. 'EMAIL_PORT': None}
  1108. EMAIL_FILE_PATH
  1109. ''
  1110. EMAIL_HOST
  1111. '127.0.0.1'
  1112. EMAIL_HOST_PASSWORD
  1113. '********************'
  1114. EMAIL_HOST_USER
  1115. None
  1116. EMAIL_PORT
  1117. None
  1118. EMAIL_SSL_CERTFILE
  1119. None
  1120. EMAIL_SSL_KEYFILE
  1121. '********************'
  1122. EMAIL_SUBJECT_PREFIX
  1123. '[Django] '
  1124. EMAIL_TIMEOUT
  1125. None
  1126. EMAIL_USE_LOCALTIME
  1127. False
  1128. EMAIL_USE_SSL
  1129. False
  1130. EMAIL_USE_TLS
  1131. False
  1132. FILE_CHARSET
  1133. 'utf-8'
  1134. FILE_UPLOAD_DIRECTORY_PERMISSIONS
  1135. None
  1136. FILE_UPLOAD_HANDLERS
  1137. ['django.core.files.uploadhandler.MemoryFileUploadHandler',
  1138. 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  1139. FILE_UPLOAD_MAX_MEMORY_SIZE
  1140. 2621440
  1141. FILE_UPLOAD_PERMISSIONS
  1142. None
  1143. FILE_UPLOAD_TEMP_DIR
  1144. None
  1145. FIRST_DAY_OF_WEEK
  1146. 0
  1147. FIXTURE_DIRS
  1148. []
  1149. FORCE_SCRIPT_NAME
  1150. None
  1151. FORMAT_MODULE_PATH
  1152. None
  1153. FORM_RENDERER
  1154. 'django.forms.renderers.DjangoTemplates'
  1155. GR_CAPTCHA_SECRET_KEY
  1156. '********************'
  1157. GUNICORN_PID
  1158. ''
  1159. IGNORABLE_404_URLS
  1160. []
  1161. INSTALLED_APPS
  1162. ['markup',
  1163. 'shared',
  1164. 'apps.staff',
  1165. 'apps.orders',
  1166. 'apps.geo',
  1167. 'apps.pages',
  1168. 'apps.preferences',
  1169. 'apps.logger',
  1170. 'apps.sms',
  1171. 'apps.chat',
  1172. 'apps.novaposhta',
  1173. 'rosetta',
  1174. 'django_jinja',
  1175. 'parler',
  1176. 'dal',
  1177. 'dal_select2',
  1178. 'reversion',
  1179. 'reversion_compare',
  1180. 'ckeditor',
  1181. 'solo',
  1182. 'versatileimagefield',
  1183. 'adminsortable2',
  1184. 'django_filters',
  1185. 'rest_framework',
  1186. 'drf_yasg',
  1187. 'recaptcha',
  1188. 'vuejs_translate',
  1189. 'postie',
  1190. 'codemirror2',
  1191. 'des',
  1192. 'zxcvbn_password',
  1193. 'multi_captcha_admin',
  1194. 'snowpenguin.django.recaptcha2',
  1195. 'django_json_widget',
  1196. 'robots',
  1197. 'jet',
  1198. 'jet.dashboard',
  1199. 'channels',
  1200. 'import_export',
  1201. 'social_django',
  1202. 'django.contrib.admin',
  1203. 'django.contrib.auth',
  1204. 'django.contrib.contenttypes',
  1205. 'django.contrib.sessions',
  1206. 'django.contrib.messages',
  1207. 'django.contrib.staticfiles',
  1208. 'django.contrib.sites']
  1209. INTERNAL_IPS
  1210. []
  1211. LANGUAGES
  1212. (('uk', 'УКР'), ('en', ' ENG'), ('ru', 'РОС'))
  1213. LANGUAGES_BIDI
  1214. ['he', 'ar', 'fa', 'ur']
  1215. LANGUAGE_CODE
  1216. 'uk'
  1217. LANGUAGE_COOKIE_AGE
  1218. None
  1219. LANGUAGE_COOKIE_DOMAIN
  1220. None
  1221. LANGUAGE_COOKIE_NAME
  1222. 'django_language'
  1223. LANGUAGE_COOKIE_PATH
  1224. '/'
  1225. LOCALE_PATHS
  1226. (PosixPath('/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/locale'),)
  1227. LOGGING
  1228. {'disable_existing_loggers': False,
  1229. 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'},
  1230. 'logfile': {'class': 'logging.FileHandler',
  1231. 'filename': PosixPath('/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/settings/default.py/../logfile.log'),
  1232. 'level': 'DEBUG'}},
  1233. 'root': {'handlers': ['console', 'logfile'], 'level': 'INFO'},
  1234. 'version': 1}
  1235. LOGGING_CONFIG
  1236. 'logging.config.dictConfig'
  1237. LOGIN_REDIRECT_URL
  1238. '/accounts/profile/'
  1239. LOGIN_URL
  1240. 'admin:login'
  1241. LOGOUT_REDIRECT_URL
  1242. None
  1243. MANAGERS
  1244. []
  1245. MEDIA_ROOT
  1246. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/uploads'
  1247. MEDIA_URL
  1248. '/uploads/'
  1249. MESSAGE_STORAGE
  1250. 'django.contrib.messages.storage.fallback.FallbackStorage'
  1251. MIDDLEWARE
  1252. ['django.middleware.security.SecurityMiddleware',
  1253. 'django.contrib.sessions.middleware.SessionMiddleware',
  1254. 'django.middleware.locale.LocaleMiddleware',
  1255. 'django.middleware.common.CommonMiddleware',
  1256. 'django.middleware.csrf.CsrfViewMiddleware',
  1257. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  1258. 'apps.staff.middleware.AdminSessionMiddleware',
  1259. 'django.contrib.messages.middleware.MessageMiddleware',
  1260. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  1261. MIGRATION_MODULES
  1262. {}
  1263. MONTH_DAY_FORMAT
  1264. 'F j'
  1265. MULTI_CAPTCHA_ADMIN
  1266. {'engine': 'recaptcha2'}
  1267. NUMBER_GROUPING
  1268. 0
  1269. PARLER_LANGUAGES
  1270. {1: ({'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False},
  1271. {'code': 'en', 'fallbacks': ['uk'], 'hide_untranslated': False},
  1272. {'code': 'ru', 'fallbacks': ['uk'], 'hide_untranslated': False}),
  1273. 'default': {'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False}}
  1274. PASSWORD_HASHERS
  1275. '********************'
  1276. PASSWORD_RESET_TIMEOUT_DAYS
  1277. '********************'
  1278. POSTIE_HTML_ADMIN_WIDGET
  1279. {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets'}
  1280. POSTIE_INSTANT_SEND
  1281. True
  1282. POSTIE_TEMPLATE_CHOICES
  1283. Choices(('order_created', 'order_created', 'Заявку створено'), ('order_almost_exceeded', 'order_almost_exceeded', 'Order registration almost exceeded'), ('user_creation', 'user_creation', 'Створення користувача'), ('order_status_change', 'order_status_change', 'Notification about order status change to subscriptions'), ('order_cancelled', 'order_cancelled', 'Order was cancelled notify registrator'), ('order_porting_created', 'order_porting_created', 'Создание заявки на портирование номера'), ('order_porting_status_change', 'order_porting_status_change', 'Уведомление об отмене заявки на портирование номеров'), ('order_porting_almost_exceeded', 'order_porting_almost_exceeded', 'Уведомление о почти истечении срока отмены заявки на портирование номеров'))
  1284. POSTIE_TEMPLATE_CONTEXTS
  1285. {'order_almost_exceeded': {'creation_time': 'Час створення замовлення',
  1286. 'order_number': 'Номер заявки'},
  1287. 'order_cancelled': {'cancel_reason': 'Час зміни статусу заявки',
  1288. 'order_number': 'Номер заявки',
  1289. 'time': 'Час зміни статусу заявки'},
  1290. 'order_created': {'creation_time': 'Час створення замовлення',
  1291. 'order_number': 'Номер заявки'},
  1292. 'order_porting_almost_exceeded': {'creation_time': 'Время создания заявки',
  1293. 'order_number': 'Номер заявки'},
  1294. 'order_porting_created': {'name': 'ПІБ',
  1295. 'order_number': 'Номер заявки',
  1296. 'time': 'Час зміни статусу заявки',
  1297. 'url': 'Ссылка на заявку'},
  1298. 'order_porting_status_change': {'name': 'ПІБ',
  1299. 'order_number': 'Номер заявки',
  1300. 'status': 'Новий статус замовлення',
  1301. 'time': 'Час зміни статусу заявки'},
  1302. 'order_status_change': {'name': 'ПІБ',
  1303. 'order_number': 'Номер заявки',
  1304. 'status': 'Новий статус замовлення',
  1305. 'time': 'Час зміни статусу заявки'},
  1306. 'user_creation': {'first_name': 'Імя',
  1307. 'last_name': 'Прізвище',
  1308. 'password': '********************'}}
  1309. PREPEND_WWW
  1310. False
  1311. PRIVAT_USE_DEPLOY_URLS
  1312. False
  1313. PROJECT_APPS
  1314. ['markup',
  1315. 'shared',
  1316. 'apps.staff',
  1317. 'apps.orders',
  1318. 'apps.geo',
  1319. 'apps.pages',
  1320. 'apps.preferences',
  1321. 'apps.logger',
  1322. 'apps.sms',
  1323. 'apps.chat',
  1324. 'apps.novaposhta']
  1325. RECAPTCHA_PRIVATE_KEY
  1326. '********************'
  1327. RECAPTCHA_PUBLIC_KEY
  1328. '********************'
  1329. REST_FRAMEWORK
  1330. {'PAGE_SIZE': 50}
  1331. ROOT_URLCONF
  1332. 'app.urls'
  1333. ROSETTA_ACCESS_CONTROL_FUNCTION
  1334. 'apps.staff.utils.can_translate'
  1335. ROSETTA_REQUIRES_AUTH
  1336. False
  1337. ROSETTA_SHOW_AT_ADMIN_PANEL
  1338. True
  1339. SECRET_KEY
  1340. '********************'
  1341. SECURE_BROWSER_XSS_FILTER
  1342. False
  1343. SECURE_CONTENT_TYPE_NOSNIFF
  1344. False
  1345. SECURE_HSTS_INCLUDE_SUBDOMAINS
  1346. False
  1347. SECURE_HSTS_PRELOAD
  1348. False
  1349. SECURE_HSTS_SECONDS
  1350. 0
  1351. SECURE_PROXY_SSL_HEADER
  1352. None
  1353. SECURE_REDIRECT_EXEMPT
  1354. []
  1355. SECURE_SSL_HOST
  1356. None
  1357. SECURE_SSL_REDIRECT
  1358. False
  1359. SERVER_EMAIL
  1360. 'root@localhost'
  1361. SESSION_CACHE_ALIAS
  1362. 'default'
  1363. SESSION_COOKIE_AGE
  1364. 1209600
  1365. SESSION_COOKIE_DOMAIN
  1366. None
  1367. SESSION_COOKIE_HTTPONLY
  1368. True
  1369. SESSION_COOKIE_NAME
  1370. 'sessionid'
  1371. SESSION_COOKIE_PATH
  1372. '/'
  1373. SESSION_COOKIE_SAMESITE
  1374. 'Lax'
  1375. SESSION_COOKIE_SECURE
  1376. False
  1377. SESSION_ENGINE
  1378. 'django.contrib.sessions.backends.cache'
  1379. SESSION_EXPIRE_AT_BROWSER_CLOSE
  1380. False
  1381. SESSION_FILE_PATH
  1382. None
  1383. SESSION_SAVE_EVERY_REQUEST
  1384. False
  1385. SESSION_SERIALIZER
  1386. 'django.contrib.sessions.serializers.JSONSerializer'
  1387. SETTINGS_INSTANT_SEND
  1388. True
  1389. SETTINGS_MODULE
  1390. 'app.settings'
  1391. SHORT_DATETIME_FORMAT
  1392. 'm/d/Y P'
  1393. SHORT_DATE_FORMAT
  1394. 'm/d/Y'
  1395. SIGNING_BACKEND
  1396. 'django.core.signing.TimestampSigner'
  1397. SILENCED_SYSTEM_CHECKS
  1398. []
  1399. SITE_ID
  1400. 1
  1401. SMS_TEMPLATE_CHOICES
  1402. Choices(('order_created', 'order_created', 'Заявку створено'), ('order_almost_exceeded', 'order_almost_exceeded', 'Order registration almost exceeded'), ('auth_code', 'auth_code', 'Код авторизації'), ('order_status_change', 'order_status_change', 'Notification about order status change to subscriptions'), ('order_porting_created', 'order_porting_created', 'Создание заявки на портирование номера'), ('order_porting_status_change', 'order_porting_status_change', 'Уведомление об отмене заявки на портирование номеров'), ('order_porting_almost_exceeded', 'order_porting_almost_exceeded', 'Уведомление о почти истечении срока отмены заявки на портирование номеров'))
  1403. SMS_TEMPLATE_CONTEXTS
  1404. {'auth_code': {'code': 'Auth код'},
  1405. 'order_almost_exceeded': {'creation_time': 'Час створення замовлення',
  1406. 'order_number': 'Номер заявки'},
  1407. 'order_created': {'creation_time': 'Час створення замовлення',
  1408. 'order_number': 'Номер заявки'},
  1409. 'order_porting_almost_exceeded': {'creation_time': 'Время создания заявки',
  1410. 'order_number': 'Номер заявки'},
  1411. 'order_porting_created': {'name': 'ПІБ',
  1412. 'order_number': 'Номер заявки',
  1413. 'time': 'Час зміни статусу заявки',
  1414. 'url': 'Ссылка на заявку'},
  1415. 'order_porting_status_change': {'name': 'ПІБ',
  1416. 'order_number': 'Номер заявки',
  1417. 'status': 'Новий статус замовлення',
  1418. 'time': 'Час зміни статусу заявки'},
  1419. 'order_status_change': {'name': 'ПІБ',
  1420. 'order_number': 'Номер заявки',
  1421. 'status': 'Новий статус замовлення',
  1422. 'time': 'Час зміни статусу заявки'}}
  1423. SOCIAL_AUTH_PIPELINE
  1424. ('social_core.pipeline.social_auth.social_details',
  1425. 'social_core.pipeline.social_auth.social_uid',
  1426. 'social_core.pipeline.social_auth.auth_allowed',
  1427. 'apps.bankid.pipelines.user.set_user_session_data')
  1428. SOCIAL_AUTH_POSTGRES_JSONFIELD
  1429. True
  1430. SOCIAL_AUTH_URL_NAMESPACE
  1431. 'social'
  1432. SOLO_CACHE
  1433. 'default'
  1434. STATICFILES_DIRS
  1435. []
  1436. STATICFILES_FINDERS
  1437. ['django.contrib.staticfiles.finders.FileSystemFinder',
  1438. 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  1439. STATICFILES_STORAGE
  1440. 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
  1441. STATIC_ROOT
  1442. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/static'
  1443. STATIC_URL
  1444. '/static/'
  1445. SWAGGER_SETTINGS
  1446. {'DEFAULT_INFO': 'app.urls.swagger_info'}
  1447. TEMPLATES
  1448. [{'APP_DIRS': True,
  1449. 'BACKEND': 'django_jinja.backend.Jinja2',
  1450. 'DIRS': [],
  1451. 'NAME': 'jinja2',
  1452. 'OPTIONS': {'auto_reload': True,
  1453. 'bytecode_cache': {'backend': 'django_jinja.cache.BytecodeCache',
  1454. 'enabled': True,
  1455. 'name': 'default'},
  1456. 'context_processors': ['django.contrib.auth.context_processors.auth',
  1457. 'django.template.context_processors.debug',
  1458. 'django.template.context_processors.i18n',
  1459. 'django.template.context_processors.media',
  1460. 'django.template.context_processors.static',
  1461. 'django.template.context_processors.tz',
  1462. 'django.contrib.messages.context_processors.messages'],
  1463. 'debug': True,
  1464. 'environment': 'shared.env.jinja2.environment',
  1465. 'extensions': ['jinja2.ext.do',
  1466. 'jinja2.ext.loopcontrols',
  1467. 'jinja2.ext.with_',
  1468. 'jinja2.ext.i18n',
  1469. 'jinja2.ext.autoescape',
  1470. 'django_jinja.builtins.extensions.CsrfExtension',
  1471. 'django_jinja.builtins.extensions.CacheExtension',
  1472. 'django_jinja.builtins.extensions.TimezoneExtension',
  1473. 'django_jinja.builtins.extensions.UrlsExtension',
  1474. 'django_jinja.builtins.extensions.StaticFilesExtension',
  1475. 'django_jinja.builtins.extensions.DjangoFiltersExtension'],
  1476. 'filters': {},
  1477. 'globals': {},
  1478. 'match_extension': '.jinja',
  1479. 'newstyle_gettext': True,
  1480. 'undefined': <class 'jinja2.runtime.Undefined'>}},
  1481. {'APP_DIRS': True,
  1482. 'BACKEND': 'django.template.backends.django.DjangoTemplates',
  1483. 'DIRS': [],
  1484. 'OPTIONS': {'context_processors': ['django.template.context_processors.media',
  1485. 'django.template.context_processors.static',
  1486. 'django.template.context_processors.debug',
  1487. 'django.template.context_processors.request',
  1488. 'django.contrib.messages.context_processors.messages',
  1489. 'django.contrib.auth.context_processors.auth']}}]
  1490. TEST_NON_SERIALIZED_APPS
  1491. []
  1492. TEST_RUNNER
  1493. 'django.test.runner.DiscoverRunner'
  1494. THOUSAND_SEPARATOR
  1495. ','
  1496. TIME_FORMAT
  1497. 'P'
  1498. TIME_INPUT_FORMATS
  1499. ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  1500. TIME_ZONE
  1501. 'Europe/Kiev'
  1502. USE_I18N
  1503. True
  1504. USE_L10N
  1505. True
  1506. USE_THOUSAND_SEPARATOR
  1507. False
  1508. USE_TZ
  1509. True
  1510. USE_X_FORWARDED_HOST
  1511. False
  1512. USE_X_FORWARDED_PORT
  1513. False
  1514. WKHTMLTOPDF_CMD
  1515. 'xvfb-run -a wkhtmltopdf'
  1516. WSGI_APPLICATION
  1517. 'app.wsgi.application'
  1518. X_FRAME_OPTIONS
  1519. 'SAMEORIGIN'
  1520. YEAR_MONTH_FORMAT
  1521. 'F Y'
  1522. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement