Advertisement
StasSychov

Untitled

Apr 10th, 2019
92
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. 'admin@admin.admin'
  1094. DEFAULT_INDEX_TABLESPACE
  1095. ''
  1096. DEFAULT_TABLESPACE
  1097. ''
  1098. DISALLOWED_USER_AGENTS
  1099. []
  1100. EMAIL_BACKEND
  1101. 'des.backends.ConfiguredEmailBackend'
  1102. EMAIL_CONFIG
  1103. {'EMAIL_BACKEND': 'django.core.mail.backends.console.EmailBackend',
  1104. 'EMAIL_FILE_PATH': '',
  1105. 'EMAIL_HOST': '127.0.0.1',
  1106. 'EMAIL_HOST_PASSWORD': '********************',
  1107. 'EMAIL_HOST_USER': None,
  1108. 'EMAIL_PORT': None}
  1109. EMAIL_FILE_PATH
  1110. ''
  1111. EMAIL_HOST
  1112. '127.0.0.1'
  1113. EMAIL_HOST_PASSWORD
  1114. '********************'
  1115. EMAIL_HOST_USER
  1116. None
  1117. EMAIL_PORT
  1118. None
  1119. EMAIL_SSL_CERTFILE
  1120. None
  1121. EMAIL_SSL_KEYFILE
  1122. '********************'
  1123. EMAIL_SUBJECT_PREFIX
  1124. '[Django] '
  1125. EMAIL_TIMEOUT
  1126. None
  1127. EMAIL_USE_LOCALTIME
  1128. False
  1129. EMAIL_USE_SSL
  1130. False
  1131. EMAIL_USE_TLS
  1132. False
  1133. FILE_CHARSET
  1134. 'utf-8'
  1135. FILE_UPLOAD_DIRECTORY_PERMISSIONS
  1136. None
  1137. FILE_UPLOAD_HANDLERS
  1138. ['django.core.files.uploadhandler.MemoryFileUploadHandler',
  1139. 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  1140. FILE_UPLOAD_MAX_MEMORY_SIZE
  1141. 2621440
  1142. FILE_UPLOAD_PERMISSIONS
  1143. None
  1144. FILE_UPLOAD_TEMP_DIR
  1145. None
  1146. FIRST_DAY_OF_WEEK
  1147. 0
  1148. FIXTURE_DIRS
  1149. []
  1150. FORCE_SCRIPT_NAME
  1151. None
  1152. FORMAT_MODULE_PATH
  1153. None
  1154. FORM_RENDERER
  1155. 'django.forms.renderers.DjangoTemplates'
  1156. GR_CAPTCHA_SECRET_KEY
  1157. '********************'
  1158. GUNICORN_PID
  1159. ''
  1160. IGNORABLE_404_URLS
  1161. []
  1162. INSTALLED_APPS
  1163. ['markup',
  1164. 'shared',
  1165. 'apps.staff',
  1166. 'apps.orders',
  1167. 'apps.geo',
  1168. 'apps.pages',
  1169. 'apps.preferences',
  1170. 'apps.logger',
  1171. 'apps.sms',
  1172. 'apps.chat',
  1173. 'apps.novaposhta',
  1174. 'rosetta',
  1175. 'django_jinja',
  1176. 'parler',
  1177. 'dal',
  1178. 'dal_select2',
  1179. 'reversion',
  1180. 'reversion_compare',
  1181. 'ckeditor',
  1182. 'solo',
  1183. 'versatileimagefield',
  1184. 'adminsortable2',
  1185. 'django_filters',
  1186. 'rest_framework',
  1187. 'drf_yasg',
  1188. 'recaptcha',
  1189. 'vuejs_translate',
  1190. 'postie',
  1191. 'codemirror2',
  1192. 'des',
  1193. 'zxcvbn_password',
  1194. 'multi_captcha_admin',
  1195. 'snowpenguin.django.recaptcha2',
  1196. 'django_json_widget',
  1197. 'robots',
  1198. 'jet',
  1199. 'jet.dashboard',
  1200. 'channels',
  1201. 'import_export',
  1202. 'social_django',
  1203. 'django.contrib.admin',
  1204. 'django.contrib.auth',
  1205. 'django.contrib.contenttypes',
  1206. 'django.contrib.sessions',
  1207. 'django.contrib.messages',
  1208. 'django.contrib.staticfiles',
  1209. 'django.contrib.sites']
  1210. INTERNAL_IPS
  1211. []
  1212. LANGUAGES
  1213. (('uk', 'УКР'), ('en', ' ENG'), ('ru', 'РОС'))
  1214. LANGUAGES_BIDI
  1215. ['he', 'ar', 'fa', 'ur']
  1216. LANGUAGE_CODE
  1217. 'uk'
  1218. LANGUAGE_COOKIE_AGE
  1219. None
  1220. LANGUAGE_COOKIE_DOMAIN
  1221. None
  1222. LANGUAGE_COOKIE_NAME
  1223. 'django_language'
  1224. LANGUAGE_COOKIE_PATH
  1225. '/'
  1226. LOCALE_PATHS
  1227. (PosixPath('/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/locale'),)
  1228. LOGGING
  1229. {'disable_existing_loggers': False,
  1230. 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'},
  1231. 'logfile': {'class': 'logging.FileHandler',
  1232. 'filename': PosixPath('/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/settings/default.py/../logfile.log'),
  1233. 'level': 'DEBUG'}},
  1234. 'root': {'handlers': ['console', 'logfile'], 'level': 'INFO'},
  1235. 'version': 1}
  1236. LOGGING_CONFIG
  1237. 'logging.config.dictConfig'
  1238. LOGIN_REDIRECT_URL
  1239. '/accounts/profile/'
  1240. LOGIN_URL
  1241. 'admin:login'
  1242. LOGOUT_REDIRECT_URL
  1243. None
  1244. MANAGERS
  1245. []
  1246. MEDIA_ROOT
  1247. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/uploads'
  1248. MEDIA_URL
  1249. '/uploads/'
  1250. MESSAGE_STORAGE
  1251. 'django.contrib.messages.storage.fallback.FallbackStorage'
  1252. MIDDLEWARE
  1253. ['django.middleware.security.SecurityMiddleware',
  1254. 'django.contrib.sessions.middleware.SessionMiddleware',
  1255. 'django.middleware.locale.LocaleMiddleware',
  1256. 'django.middleware.common.CommonMiddleware',
  1257. 'django.middleware.csrf.CsrfViewMiddleware',
  1258. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  1259. 'apps.staff.middleware.AdminSessionMiddleware',
  1260. 'django.contrib.messages.middleware.MessageMiddleware',
  1261. 'django.middleware.clickjacking.XFrameOptionsMiddleware']
  1262. MIGRATION_MODULES
  1263. {}
  1264. MONTH_DAY_FORMAT
  1265. 'F j'
  1266. MULTI_CAPTCHA_ADMIN
  1267. {'engine': 'recaptcha2'}
  1268. NUMBER_GROUPING
  1269. 0
  1270. PARLER_LANGUAGES
  1271. {1: ({'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False},
  1272. {'code': 'en', 'fallbacks': ['uk'], 'hide_untranslated': False},
  1273. {'code': 'ru', 'fallbacks': ['uk'], 'hide_untranslated': False}),
  1274. 'default': {'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False}}
  1275. PASSWORD_HASHERS
  1276. '********************'
  1277. PASSWORD_RESET_TIMEOUT_DAYS
  1278. '********************'
  1279. POSTIE_HTML_ADMIN_WIDGET
  1280. {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets'}
  1281. POSTIE_INSTANT_SEND
  1282. True
  1283. POSTIE_TEMPLATE_CHOICES
  1284. 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', 'Уведомление о почти истечении срока отмены заявки на портирование номеров'))
  1285. POSTIE_TEMPLATE_CONTEXTS
  1286. {'order_almost_exceeded': {'creation_time': 'Час створення замовлення',
  1287. 'order_number': 'Номер заявки'},
  1288. 'order_cancelled': {'cancel_reason': 'Час зміни статусу заявки',
  1289. 'order_number': 'Номер заявки',
  1290. 'time': 'Час зміни статусу заявки'},
  1291. 'order_created': {'creation_time': 'Час створення замовлення',
  1292. 'order_number': 'Номер заявки'},
  1293. 'order_porting_almost_exceeded': {'creation_time': 'Время создания заявки',
  1294. 'order_number': 'Номер заявки'},
  1295. 'order_porting_created': {'name': 'ПІБ',
  1296. 'order_number': 'Номер заявки',
  1297. 'time': 'Час зміни статусу заявки',
  1298. 'url': 'Ссылка на заявку'},
  1299. 'order_porting_status_change': {'name': 'ПІБ',
  1300. 'order_number': 'Номер заявки',
  1301. 'status': 'Новий статус замовлення',
  1302. 'time': 'Час зміни статусу заявки'},
  1303. 'order_status_change': {'name': 'ПІБ',
  1304. 'order_number': 'Номер заявки',
  1305. 'status': 'Новий статус замовлення',
  1306. 'time': 'Час зміни статусу заявки'},
  1307. 'user_creation': {'first_name': 'Імя',
  1308. 'last_name': 'Прізвище',
  1309. 'password': '********************'}}
  1310. PREPEND_WWW
  1311. False
  1312. PRIVAT_USE_DEPLOY_URLS
  1313. False
  1314. PROJECT_APPS
  1315. ['markup',
  1316. 'shared',
  1317. 'apps.staff',
  1318. 'apps.orders',
  1319. 'apps.geo',
  1320. 'apps.pages',
  1321. 'apps.preferences',
  1322. 'apps.logger',
  1323. 'apps.sms',
  1324. 'apps.chat',
  1325. 'apps.novaposhta']
  1326. RECAPTCHA_PRIVATE_KEY
  1327. '********************'
  1328. RECAPTCHA_PUBLIC_KEY
  1329. '********************'
  1330. REST_FRAMEWORK
  1331. {'PAGE_SIZE': 50}
  1332. ROOT_URLCONF
  1333. 'app.urls'
  1334. ROSETTA_ACCESS_CONTROL_FUNCTION
  1335. 'apps.staff.utils.can_translate'
  1336. ROSETTA_REQUIRES_AUTH
  1337. False
  1338. ROSETTA_SHOW_AT_ADMIN_PANEL
  1339. True
  1340. SECRET_KEY
  1341. '********************'
  1342. SECURE_BROWSER_XSS_FILTER
  1343. False
  1344. SECURE_CONTENT_TYPE_NOSNIFF
  1345. False
  1346. SECURE_HSTS_INCLUDE_SUBDOMAINS
  1347. False
  1348. SECURE_HSTS_PRELOAD
  1349. False
  1350. SECURE_HSTS_SECONDS
  1351. 0
  1352. SECURE_PROXY_SSL_HEADER
  1353. None
  1354. SECURE_REDIRECT_EXEMPT
  1355. []
  1356. SECURE_SSL_HOST
  1357. None
  1358. SECURE_SSL_REDIRECT
  1359. False
  1360. SERVER_EMAIL
  1361. 'root@localhost'
  1362. SESSION_CACHE_ALIAS
  1363. 'default'
  1364. SESSION_COOKIE_AGE
  1365. 1209600
  1366. SESSION_COOKIE_DOMAIN
  1367. None
  1368. SESSION_COOKIE_HTTPONLY
  1369. True
  1370. SESSION_COOKIE_NAME
  1371. 'sessionid'
  1372. SESSION_COOKIE_PATH
  1373. '/'
  1374. SESSION_COOKIE_SAMESITE
  1375. 'Lax'
  1376. SESSION_COOKIE_SECURE
  1377. False
  1378. SESSION_ENGINE
  1379. 'django.contrib.sessions.backends.cache'
  1380. SESSION_EXPIRE_AT_BROWSER_CLOSE
  1381. False
  1382. SESSION_FILE_PATH
  1383. None
  1384. SESSION_SAVE_EVERY_REQUEST
  1385. False
  1386. SESSION_SERIALIZER
  1387. 'django.contrib.sessions.serializers.JSONSerializer'
  1388. SETTINGS_INSTANT_SEND
  1389. True
  1390. SETTINGS_MODULE
  1391. 'app.settings'
  1392. SHORT_DATETIME_FORMAT
  1393. 'm/d/Y P'
  1394. SHORT_DATE_FORMAT
  1395. 'm/d/Y'
  1396. SIGNING_BACKEND
  1397. 'django.core.signing.TimestampSigner'
  1398. SILENCED_SYSTEM_CHECKS
  1399. []
  1400. SITE_ID
  1401. 1
  1402. SMS_TEMPLATE_CHOICES
  1403. 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', 'Уведомление о почти истечении срока отмены заявки на портирование номеров'))
  1404. SMS_TEMPLATE_CONTEXTS
  1405. {'auth_code': {'code': 'Auth код'},
  1406. 'order_almost_exceeded': {'creation_time': 'Час створення замовлення',
  1407. 'order_number': 'Номер заявки'},
  1408. 'order_created': {'creation_time': 'Час створення замовлення',
  1409. 'order_number': 'Номер заявки'},
  1410. 'order_porting_almost_exceeded': {'creation_time': 'Время создания заявки',
  1411. 'order_number': 'Номер заявки'},
  1412. 'order_porting_created': {'name': 'ПІБ',
  1413. 'order_number': 'Номер заявки',
  1414. 'time': 'Час зміни статусу заявки',
  1415. 'url': 'Ссылка на заявку'},
  1416. 'order_porting_status_change': {'name': 'ПІБ',
  1417. 'order_number': 'Номер заявки',
  1418. 'status': 'Новий статус замовлення',
  1419. 'time': 'Час зміни статусу заявки'},
  1420. 'order_status_change': {'name': 'ПІБ',
  1421. 'order_number': 'Номер заявки',
  1422. 'status': 'Новий статус замовлення',
  1423. 'time': 'Час зміни статусу заявки'}}
  1424. SOCIAL_AUTH_PIPELINE
  1425. ('social_core.pipeline.social_auth.social_details',
  1426. 'social_core.pipeline.social_auth.social_uid',
  1427. 'social_core.pipeline.social_auth.auth_allowed',
  1428. 'apps.bankid.pipelines.user.set_user_session_data')
  1429. SOCIAL_AUTH_POSTGRES_JSONFIELD
  1430. True
  1431. SOCIAL_AUTH_URL_NAMESPACE
  1432. 'social'
  1433. SOLO_CACHE
  1434. 'default'
  1435. STATICFILES_DIRS
  1436. []
  1437. STATICFILES_FINDERS
  1438. ['django.contrib.staticfiles.finders.FileSystemFinder',
  1439. 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  1440. STATICFILES_STORAGE
  1441. 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
  1442. STATIC_ROOT
  1443. '/home/ukrtelekom/ukrtelekom/ukrtelekom/server/app/static'
  1444. STATIC_URL
  1445. '/static/'
  1446. SWAGGER_SETTINGS
  1447. {'DEFAULT_INFO': 'app.urls.swagger_info'}
  1448. TEMPLATES
  1449. [{'APP_DIRS': True,
  1450. 'BACKEND': 'django_jinja.backend.Jinja2',
  1451. 'DIRS': [],
  1452. 'NAME': 'jinja2',
  1453. 'OPTIONS': {'auto_reload': True,
  1454. 'bytecode_cache': {'backend': 'django_jinja.cache.BytecodeCache',
  1455. 'enabled': True,
  1456. 'name': 'default'},
  1457. 'context_processors': ['django.contrib.auth.context_processors.auth',
  1458. 'django.template.context_processors.debug',
  1459. 'django.template.context_processors.i18n',
  1460. 'django.template.context_processors.media',
  1461. 'django.template.context_processors.static',
  1462. 'django.template.context_processors.tz',
  1463. 'django.contrib.messages.context_processors.messages'],
  1464. 'debug': True,
  1465. 'environment': 'shared.env.jinja2.environment',
  1466. 'extensions': ['jinja2.ext.do',
  1467. 'jinja2.ext.loopcontrols',
  1468. 'jinja2.ext.with_',
  1469. 'jinja2.ext.i18n',
  1470. 'jinja2.ext.autoescape',
  1471. 'django_jinja.builtins.extensions.CsrfExtension',
  1472. 'django_jinja.builtins.extensions.CacheExtension',
  1473. 'django_jinja.builtins.extensions.TimezoneExtension',
  1474. 'django_jinja.builtins.extensions.UrlsExtension',
  1475. 'django_jinja.builtins.extensions.StaticFilesExtension',
  1476. 'django_jinja.builtins.extensions.DjangoFiltersExtension'],
  1477. 'filters': {},
  1478. 'globals': {},
  1479. 'match_extension': '.jinja',
  1480. 'newstyle_gettext': True,
  1481. 'undefined': <class 'jinja2.runtime.Undefined'>}},
  1482. {'APP_DIRS': True,
  1483. 'BACKEND': 'django.template.backends.django.DjangoTemplates',
  1484. 'DIRS': [],
  1485. 'OPTIONS': {'context_processors': ['django.template.context_processors.media',
  1486. 'django.template.context_processors.static',
  1487. 'django.template.context_processors.debug',
  1488. 'django.template.context_processors.request',
  1489. 'django.contrib.messages.context_processors.messages',
  1490. 'django.contrib.auth.context_processors.auth']}}]
  1491. TEST_NON_SERIALIZED_APPS
  1492. []
  1493. TEST_RUNNER
  1494. 'django.test.runner.DiscoverRunner'
  1495. THOUSAND_SEPARATOR
  1496. ','
  1497. TIME_FORMAT
  1498. 'P'
  1499. TIME_INPUT_FORMATS
  1500. ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  1501. TIME_ZONE
  1502. 'Europe/Kiev'
  1503. USE_I18N
  1504. True
  1505. USE_L10N
  1506. True
  1507. USE_THOUSAND_SEPARATOR
  1508. False
  1509. USE_TZ
  1510. True
  1511. USE_X_FORWARDED_HOST
  1512. False
  1513. USE_X_FORWARDED_PORT
  1514. False
  1515. WKHTMLTOPDF_CMD
  1516. 'xvfb-run -a wkhtmltopdf'
  1517. WSGI_APPLICATION
  1518. 'app.wsgi.application'
  1519. X_FRAME_OPTIONS
  1520. 'SAMEORIGIN'
  1521. YEAR_MONTH_FORMAT
  1522. 'F Y'
  1523. 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