2026-09-16 12:17:15,065 - root - INFO - ЕДДС старт скрипта 2026-09-16 12:17:15,073 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 2026-09-16 12:17:15,077 - urllib3.connectionpool - DEBUG - http://10.2.0.220:6120 "GET /see/entities/number?text=%D0%B2%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B0%D1%8F%20%D1%88%D0%B5%D1%81%D1%82%D0%BD%D0%B0%D0%B4%D1%86%D0%B0%D1%82%D1%8C HTTP/1.1" 200 120 2026-09-16 12:17:15,080 - root - ERROR - --- Logging error --- 2026-09-16 12:17:15,082 - root - ERROR - Traceback (most recent call last): 2026-09-16 12:17:15,082 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/logging/handlers.py", line 1512, in emit 2026-09-16 12:17:15,082 - root - ERROR - self.enqueue(self.prepare(record)) 2026-09-16 12:17:15,082 - root - ERROR - ^^^^^^^^^^^^^^^^^^^^ 2026-09-16 12:17:15,082 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/logging/handlers.py", line 1494, in prepare 2026-09-16 12:17:15,082 - root - ERROR - msg = self.format(record) 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^^ 2026-09-16 12:17:15,083 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/logging/init.py", line 999, in format 2026-09-16 12:17:15,083 - root - ERROR - return fmt.format(record) 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^ 2026-09-16 12:17:15,083 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/logging/init.py", line 703, in format 2026-09-16 12:17:15,083 - root - ERROR - record.message = record.getMessage() 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^^ 2026-09-16 12:17:15,083 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/logging/init.py", line 392, in getMessage 2026-09-16 12:17:15,083 - root - ERROR - msg = msg % self.args 2026-09-16 12:17:15,083 - root - ERROR - ~~~~^~~~~~~~~~~ 2026-09-16 12:17:15,083 - root - ERROR - TypeError: not all arguments converted during string formatting 2026-09-16 12:17:15,083 - root - ERROR - Call stack: 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/bin/gunicorn", line 7, in 2026-09-16 12:17:15,087 - root - ERROR - sys.exit(run()) 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 66, in run 2026-09-16 12:17:15,087 - root - ERROR - WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run() 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/app/base.py", line 235, in run 2026-09-16 12:17:15,087 - root - ERROR - super().run() 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/app/base.py", line 71, in run 2026-09-16 12:17:15,087 - root - ERROR - Arbiter(self).run() 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/arbiter.py", line 223, in run 2026-09-16 12:17:15,087 - root - ERROR - self.manage_workers() 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/arbiter.py", line 657, in manage_workers 2026-09-16 12:17:15,087 - root - ERROR - self.spawn_workers() 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/arbiter.py", line 743, in spawn_workers 2026-09-16 12:17:15,087 - root - ERROR - self.spawn_worker() 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/arbiter.py", line 708, in spawn_worker 2026-09-16 12:17:15,087 - root - ERROR - worker.init_process() 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/workers/gthread.py", line 196, in init_process 2026-09-16 12:17:15,088 - root - ERROR - super().init_process() 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/workers/base.py", line 136, in init_process 2026-09-16 12:17:15,088 - root - ERROR - self.load_wsgi() 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/workers/base.py", line 148, in load_wsgi 2026-09-16 12:17:15,088 - root - ERROR - self.wsgi = self.app.wsgi() 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/app/base.py", line 66, in wsgi 2026-09-16 12:17:15,088 - root - ERROR - self.callable = self.load() 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 57, in load 2026-09-16 12:17:15,088 - root - ERROR - return self.load_wsgiapp() 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp 2026-09-16 12:17:15,088 - root - ERROR - return util.import_app(self.app_uri) 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/util.py", line 377, in import_app 2026-09-16 12:17:15,088 - root - ERROR - mod = importlib.import_module(module) 2026-09-16 12:17:15,088 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/importlib/init.py", line 90, in import_module 2026-09-16 12:17:15,088 - root - ERROR - return _bootstrap._gcd_import(name[level:], package, level) 2026-09-16 12:17:15,088 - root - ERROR - File "", line 1387, in _gcd_import 2026-09-16 12:17:15,088 - root - ERROR - File "", line 1360, in _find_and_load 2026-09-16 12:17:15,088 - root - ERROR - File "", line 1331, in _find_and_load_unlocked 2026-09-16 12:17:15,088 - root - ERROR - File "", line 935, in _load_unlocked 2026-09-16 12:17:15,088 - root - ERROR - File "", line 999, in exec_module 2026-09-16 12:17:15,088 - root - ERROR - File "", line 488, in _call_with_frames_removed 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/ses/api.py", line 6, in 2026-09-16 12:17:15,088 - root - ERROR - from app.ses import api 2026-09-16 12:17:15,088 - root - ERROR - File "", line 1360, in _find_and_load 2026-09-16 12:17:15,088 - root - ERROR - File "", line 1331, in _find_and_load_unlocked 2026-09-16 12:17:15,089 - root - ERROR - File "", line 935, in _load_unlocked 2026-09-16 12:17:15,089 - root - ERROR - File "", line 1301, in exec_module 2026-09-16 12:17:15,089 - root - ERROR - File "", line 488, in _call_with_frames_removed 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/process.py", line 121, in start 2026-09-16 12:17:15,089 - root - ERROR - self._popen = self._Popen(self) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/context.py", line 224, in _Popen 2026-09-16 12:17:15,089 - root - ERROR - return _default_context.get_context().Process._Popen(process_obj) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/context.py", line 282, in _Popen 2026-09-16 12:17:15,089 - root - ERROR - return Popen(process_obj) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/popen_fork.py", line 19, in init 2026-09-16 12:17:15,089 - root - ERROR - self._launch(process_obj) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/popen_fork.py", line 71, in _launch 2026-09-16 12:17:15,089 - root - ERROR - code = process_obj._bootstrap(parent_sentinel=child_r) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap 2026-09-16 12:17:15,089 - root - ERROR - self.run() 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/process.py", line 108, in run 2026-09-16 12:17:15,089 - root - ERROR - self._target(*self._args, **self._kwargs) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/process.py", line 121, in start 2026-09-16 12:17:15,089 - root - ERROR - self._popen = self._Popen(self) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/context.py", line 224, in _Popen 2026-09-16 12:17:15,089 - root - ERROR - return _default_context.get_context().Process._Popen(process_obj) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/context.py", line 282, in _Popen 2026-09-16 12:17:15,089 - root - ERROR - return Popen(process_obj) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/popen_fork.py", line 19, in init 2026-09-16 12:17:15,089 - root - ERROR - self._launch(process_obj) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/popen_fork.py", line 71, in _launch 2026-09-16 12:17:15,089 - root - ERROR - code = process_obj._bootstrap(parent_sentinel=child_r) 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap 2026-09-16 12:17:15,089 - root - ERROR - self.run() 2026-09-16 12:17:15,089 - root - ERROR - File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/multiprocessing/process.py", line 108, in run 2026-09-16 12:17:15,089 - root - ERROR - self._target(*self._args, **self._kwargs) 2026-09-16 12:17:15,089 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 752, in handler 2026-09-16 12:17:15,089 - root - ERROR - address = correct_address( 2026-09-16 12:17:15,089 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 214, in correct_address 2026-09-16 12:17:15,090 - root - ERROR - result = w2n() 2026-09-16 12:17:15,090 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 201, in w2n 2026-09-16 12:17:15,090 - root - ERROR - logging.info("ЕДДС status_code", status_code) 2026-09-16 12:17:15,090 - root - ERROR - Message: 'ЕДДС status_code' 2026-09-16 12:17:15,090 - root - ERROR - Arguments: (200,) 2026-09-16 12:17:15,092 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:9200 2026-09-16 12:17:15,096 - root - ERROR - ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) 2026-09-16 12:17:15,100 - root - ERROR - Traceback (most recent call last): File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request response = conn.getresponse() ^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 571, in getresponse httplib_response = super().getresponse() ^^^^^^^^^^^^^^^^^^^^^ File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 1430, in getresponse response.begin() File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 331, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 300, in _read_status raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 696, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 842, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/util/retry.py", line 498, in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise raise value.with_traceback(tb) File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request response = conn.getresponse() ^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 571, in getresponse httplib_response = super().getresponse() ^^^^^^^^^^^^^^^^^^^^^ File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 1430, in getresponse response.begin() File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 331, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 300, in _read_status raise RemoteDisconnected("Remote end closed connection without" urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "app/tools.py", line 121, in tools.apiRequest File "/opt/pve/lib/python3.12/site-packages/requests/api.py", line 71, in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 651, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 784, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 711, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) 2026-09-16 12:17:15,101 - root - ERROR - 'NoneType' object is not subscriptable 2026-09-16 12:17:15,101 - root - ERROR - Traceback (most recent call last): File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 771, in handler if not address["address"]: ~~~~~~~^^^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable