en2zmax revised this gist . Go to revision
1 file changed, 20 insertions, 79 deletions
log.log
| @@ -1,79 +1,20 @@ | |||
| 1 | - | 2026-09-16 12:21:10,566 - root - INFO - ЕДДС старт скрипта | |
| 2 | - | 2026-09-16 12:21:10,573 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 | |
| 3 | - | 2026-09-16 12:21:10,577 - 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 | |
| 4 | - | 2026-09-16 12:21:10,579 - root - INFO - ЕДДС status_code: 200 | |
| 5 | - | 2026-09-16 12:21:10,582 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): 10.2.0.220:9200 | |
| 6 | - | 2026-09-16 12:21:10,598 - root - ERROR - HTTPSConnectionPool(host='10.2.0.220', port=9200): Max retries exceeded with url: /address_registry/_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)'))) | |
| 7 | - | 2026-09-16 12:21:10,623 - root - ERROR - Traceback (most recent call last): | |
| 8 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 464, in _make_request | |
| 9 | - | self._validate_conn(conn) | |
| 10 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1106, in _validate_conn | |
| 11 | - | conn.connect() | |
| 12 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 796, in connect | |
| 13 | - | sock_and_verified = _ssl_wrap_socket_and_match_hostname( | |
| 14 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 15 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 975, in _ssl_wrap_socket_and_match_hostname | |
| 16 | - | ssl_sock = ssl_wrap_socket( | |
| 17 | - | ^^^^^^^^^^^^^^^^ | |
| 18 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/ssl_.py", line 433, in ssl_wrap_socket | |
| 19 | - | ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname) | |
| 20 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 21 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/ssl_.py", line 477, in _ssl_wrap_socket_impl | |
| 22 | - | return ssl_context.wrap_socket(sock, server_hostname=server_hostname) | |
| 23 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 24 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/ssl.py", line 455, in wrap_socket | |
| 25 | - | return self.sslsocket_class._create( | |
| 26 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 27 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/ssl.py", line 1041, in _create | |
| 28 | - | self.do_handshake() | |
| 29 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/ssl.py", line 1319, in do_handshake | |
| 30 | - | self._sslobj.do_handshake() | |
| 31 | - | ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010) | |
| 32 | - | ||
| 33 | - | During handling of the above exception, another exception occurred: | |
| 34 | - | ||
| 35 | - | Traceback (most recent call last): | |
| 36 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen | |
| 37 | - | response = self._make_request( | |
| 38 | - | ^^^^^^^^^^^^^^^^^^^ | |
| 39 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 488, in _make_request | |
| 40 | - | raise new_e | |
| 41 | - | urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010) | |
| 42 | - | ||
| 43 | - | The above exception was the direct cause of the following exception: | |
| 44 | - | ||
| 45 | - | Traceback (most recent call last): | |
| 46 | - | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 696, in send | |
| 47 | - | resp = conn.urlopen( | |
| 48 | - | ^^^^^^^^^^^^^ | |
| 49 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 842, in urlopen | |
| 50 | - | retries = retries.increment( | |
| 51 | - | ^^^^^^^^^^^^^^^^^^ | |
| 52 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/retry.py", line 543, in increment | |
| 53 | - | raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] | |
| 54 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 55 | - | urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='10.2.0.220', port=9200): Max retries exceeded with url: /address_registry/_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)'))) | |
| 56 | - | ||
| 57 | - | During handling of the above exception, another exception occurred: | |
| 58 | - | ||
| 59 | - | Traceback (most recent call last): | |
| 60 | - | File "app/tools.py", line 121, in tools.apiRequest | |
| 61 | - | File "/opt/pve/lib/python3.12/site-packages/requests/api.py", line 71, in request | |
| 62 | - | return session.request(method=method, url=url, **kwargs) | |
| 63 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 64 | - | File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 651, in request | |
| 65 | - | resp = self.send(prep, **send_kwargs) | |
| 66 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 67 | - | File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 784, in send | |
| 68 | - | r = adapter.send(request, **kwargs) | |
| 69 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 70 | - | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 727, in send | |
| 71 | - | raise SSLError(e, request=request) | |
| 72 | - | requests.exceptions.SSLError: HTTPSConnectionPool(host='10.2.0.220', port=9200): Max retries exceeded with url: /address_registry/_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)'))) | |
| 73 | - | ||
| 74 | - | 2026-09-16 12:21:10,624 - root - ERROR - 'NoneType' object is not subscriptable | |
| 75 | - | 2026-09-16 12:21:10,625 - root - ERROR - Traceback (most recent call last): | |
| 76 | - | File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/sdce77dc1f78cad8460966ffbe191889b.py", line 771, in handler | |
| 77 | - | if not address["address"]: | |
| 78 | - | ~~~~~~~^^^^^^^^^^^ | |
| 79 | - | TypeError: 'NoneType' object is not subscriptable | |
| 1 | + | 2026-09-16 12:24:53,175 - root - INFO - ЕДДС старт скрипта | |
| 2 | + | 2026-09-16 12:24:53,182 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 | |
| 3 | + | 2026-09-16 12:24:53,186 - 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 | |
| 4 | + | 2026-09-16 12:24:53,189 - root - INFO - ЕДДС status_code: 200 | |
| 5 | + | 2026-09-16 12:24:53,191 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): 10.2.0.220:9200 | |
| 6 | + | 2026-09-16 12:24:53,240 - urllib3.connectionpool - DEBUG - https://10.2.0.220:9200 "POST /address_registry/_search HTTP/1.1" 200 None | |
| 7 | + | 2026-09-16 12:24:53,244 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): map.novo-sibirsk.ru:443 | |
| 8 | + | 2026-09-16 12:24:53,597 - urllib3.connectionpool - DEBUG - https://map.novo-sibirsk.ru:443 "GET /elitegis/rest/services/maps/disconnections/MapServer/101/query?where=%28address+like+%27%25%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B0%D1%8F%25%D1%83%D0%BB%D0%B8%D1%86%D0%B0%2516%25%27%29&text=&geometry=&spatialRel=+&objectIds=&orderByFields=&outFields=&f=json&geometryType=+&inSR=&groupByFieldsForStatistics=&outSR=&outStatistics=&resultOffset=&resultRecordCount=&time= HTTP/1.1" 200 3761 | |
| 9 | + | 2026-09-16 12:24:53,601 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): 10.2.0.220:9200 | |
| 10 | + | 2026-09-16 12:24:53,617 - urllib3.connectionpool - DEBUG - https://10.2.0.220:9200 "POST /integrations/events/d738356026deded6a97e5348cf6e82b8 HTTP/1.1" 400 110 | |
| 11 | + | 2026-09-16 12:30:09,329 - root - INFO - ЕДДС старт скрипта | |
| 12 | + | 2026-09-16 12:30:09,336 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 | |
| 13 | + | 2026-09-16 12:30:09,340 - 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 | |
| 14 | + | 2026-09-16 12:30:09,343 - root - INFO - ЕДДС status_code: 200 | |
| 15 | + | 2026-09-16 12:30:09,345 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): 10.2.0.220:9200 | |
| 16 | + | 2026-09-16 12:30:09,393 - urllib3.connectionpool - DEBUG - https://10.2.0.220:9200 "POST /address_registry/_search HTTP/1.1" 200 None | |
| 17 | + | 2026-09-16 12:30:09,396 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): map.novo-sibirsk.ru:443 | |
| 18 | + | 2026-09-16 12:30:09,797 - urllib3.connectionpool - DEBUG - https://map.novo-sibirsk.ru:443 "GET /elitegis/rest/services/maps/disconnections/MapServer/101/query?where=%28address+like+%27%25%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B0%D1%8F%25%D1%83%D0%BB%D0%B8%D1%86%D0%B0%2516%25%27%29&text=&geometry=&spatialRel=+&objectIds=&orderByFields=&outFields=&f=json&geometryType=+&inSR=&groupByFieldsForStatistics=&outSR=&outStatistics=&resultOffset=&resultRecordCount=&time= HTTP/1.1" 200 3761 | |
| 19 | + | 2026-09-16 12:30:09,801 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): 10.2.0.220:9200 | |
| 20 | + | 2026-09-16 12:30:09,817 - urllib3.connectionpool - DEBUG - https://10.2.0.220:9200 "POST /integrations/events/aec8e30a9e0da7b09b79e896e70eb386 HTTP/1.1" 400 110 | |
en2zmax revised this gist . Go to revision
1 file changed, 54 insertions, 149 deletions
log.log
| @@ -1,127 +1,47 @@ | |||
| 1 | - | 2026-09-16 12:17:15,065 - root - INFO - ЕДДС старт скрипта | |
| 2 | - | 2026-09-16 12:17:15,073 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 | |
| 3 | - | 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 | |
| 4 | - | 2026-09-16 12:17:15,080 - root - ERROR - --- Logging error --- | |
| 5 | - | 2026-09-16 12:17:15,082 - root - ERROR - Traceback (most recent call last): | |
| 6 | - | 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 | |
| 7 | - | 2026-09-16 12:17:15,082 - root - ERROR - self.enqueue(self.prepare(record)) | |
| 8 | - | 2026-09-16 12:17:15,082 - root - ERROR - ^^^^^^^^^^^^^^^^^^^^ | |
| 9 | - | 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 | |
| 10 | - | 2026-09-16 12:17:15,082 - root - ERROR - msg = self.format(record) | |
| 11 | - | 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^^ | |
| 12 | - | 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 | |
| 13 | - | 2026-09-16 12:17:15,083 - root - ERROR - return fmt.format(record) | |
| 14 | - | 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^ | |
| 15 | - | 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 | |
| 16 | - | 2026-09-16 12:17:15,083 - root - ERROR - record.message = record.getMessage() | |
| 17 | - | 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^^ | |
| 18 | - | 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 | |
| 19 | - | 2026-09-16 12:17:15,083 - root - ERROR - msg = msg % self.args | |
| 20 | - | 2026-09-16 12:17:15,083 - root - ERROR - ~~~~^~~~~~~~~~~ | |
| 21 | - | 2026-09-16 12:17:15,083 - root - ERROR - TypeError: not all arguments converted during string formatting | |
| 22 | - | 2026-09-16 12:17:15,083 - root - ERROR - Call stack: | |
| 23 | - | 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/bin/gunicorn", line 7, in <module> | |
| 24 | - | 2026-09-16 12:17:15,087 - root - ERROR - sys.exit(run()) | |
| 25 | - | 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 | |
| 26 | - | 2026-09-16 12:17:15,087 - root - ERROR - WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run() | |
| 27 | - | 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 | |
| 28 | - | 2026-09-16 12:17:15,087 - root - ERROR - super().run() | |
| 29 | - | 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 | |
| 30 | - | 2026-09-16 12:17:15,087 - root - ERROR - Arbiter(self).run() | |
| 31 | - | 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/arbiter.py", line 223, in run | |
| 32 | - | 2026-09-16 12:17:15,087 - root - ERROR - self.manage_workers() | |
| 33 | - | 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 | |
| 34 | - | 2026-09-16 12:17:15,087 - root - ERROR - self.spawn_workers() | |
| 35 | - | 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 | |
| 36 | - | 2026-09-16 12:17:15,087 - root - ERROR - self.spawn_worker() | |
| 37 | - | 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 | |
| 38 | - | 2026-09-16 12:17:15,087 - root - ERROR - worker.init_process() | |
| 39 | - | 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 | |
| 40 | - | 2026-09-16 12:17:15,088 - root - ERROR - super().init_process() | |
| 41 | - | 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 | |
| 42 | - | 2026-09-16 12:17:15,088 - root - ERROR - self.load_wsgi() | |
| 43 | - | 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 | |
| 44 | - | 2026-09-16 12:17:15,088 - root - ERROR - self.wsgi = self.app.wsgi() | |
| 45 | - | 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 | |
| 46 | - | 2026-09-16 12:17:15,088 - root - ERROR - self.callable = self.load() | |
| 47 | - | 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 | |
| 48 | - | 2026-09-16 12:17:15,088 - root - ERROR - return self.load_wsgiapp() | |
| 49 | - | 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 | |
| 50 | - | 2026-09-16 12:17:15,088 - root - ERROR - return util.import_app(self.app_uri) | |
| 51 | - | 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 | |
| 52 | - | 2026-09-16 12:17:15,088 - root - ERROR - mod = importlib.import_module(module) | |
| 53 | - | 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 | |
| 54 | - | 2026-09-16 12:17:15,088 - root - ERROR - return _bootstrap._gcd_import(name[level:], package, level) | |
| 55 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1387, in _gcd_import | |
| 56 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1360, in _find_and_load | |
| 57 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked | |
| 58 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 935, in _load_unlocked | |
| 59 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap_external>", line 999, in exec_module | |
| 60 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed | |
| 61 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/ses/api.py", line 6, in <module> | |
| 62 | - | 2026-09-16 12:17:15,088 - root - ERROR - from app.ses import api | |
| 63 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1360, in _find_and_load | |
| 64 | - | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked | |
| 65 | - | 2026-09-16 12:17:15,089 - root - ERROR - File "<frozen importlib._bootstrap>", line 935, in _load_unlocked | |
| 66 | - | 2026-09-16 12:17:15,089 - root - ERROR - File "<frozen importlib._bootstrap_external>", line 1301, in exec_module | |
| 67 | - | 2026-09-16 12:17:15,089 - root - ERROR - File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed | |
| 68 | - | 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 | |
| 69 | - | 2026-09-16 12:17:15,089 - root - ERROR - self._popen = self._Popen(self) | |
| 70 | - | 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 | |
| 71 | - | 2026-09-16 12:17:15,089 - root - ERROR - return _default_context.get_context().Process._Popen(process_obj) | |
| 72 | - | 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 | |
| 73 | - | 2026-09-16 12:17:15,089 - root - ERROR - return Popen(process_obj) | |
| 74 | - | 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 | |
| 75 | - | 2026-09-16 12:17:15,089 - root - ERROR - self._launch(process_obj) | |
| 76 | - | 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 | |
| 77 | - | 2026-09-16 12:17:15,089 - root - ERROR - code = process_obj._bootstrap(parent_sentinel=child_r) | |
| 78 | - | 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 | |
| 79 | - | 2026-09-16 12:17:15,089 - root - ERROR - self.run() | |
| 80 | - | 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 | |
| 81 | - | 2026-09-16 12:17:15,089 - root - ERROR - self._target(*self._args, **self._kwargs) | |
| 82 | - | 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 | |
| 83 | - | 2026-09-16 12:17:15,089 - root - ERROR - self._popen = self._Popen(self) | |
| 84 | - | 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 | |
| 85 | - | 2026-09-16 12:17:15,089 - root - ERROR - return _default_context.get_context().Process._Popen(process_obj) | |
| 86 | - | 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 | |
| 87 | - | 2026-09-16 12:17:15,089 - root - ERROR - return Popen(process_obj) | |
| 88 | - | 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 | |
| 89 | - | 2026-09-16 12:17:15,089 - root - ERROR - self._launch(process_obj) | |
| 90 | - | 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 | |
| 91 | - | 2026-09-16 12:17:15,089 - root - ERROR - code = process_obj._bootstrap(parent_sentinel=child_r) | |
| 92 | - | 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 | |
| 93 | - | 2026-09-16 12:17:15,089 - root - ERROR - self.run() | |
| 94 | - | 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 | |
| 95 | - | 2026-09-16 12:17:15,089 - root - ERROR - self._target(*self._args, **self._kwargs) | |
| 96 | - | 2026-09-16 12:17:15,089 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 752, in handler | |
| 97 | - | 2026-09-16 12:17:15,089 - root - ERROR - address = correct_address( | |
| 98 | - | 2026-09-16 12:17:15,089 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 214, in correct_address | |
| 99 | - | 2026-09-16 12:17:15,090 - root - ERROR - result = w2n() | |
| 100 | - | 2026-09-16 12:17:15,090 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 201, in w2n | |
| 101 | - | 2026-09-16 12:17:15,090 - root - ERROR - logging.info("ЕДДС status_code", status_code) | |
| 102 | - | 2026-09-16 12:17:15,090 - root - ERROR - Message: 'ЕДДС status_code' | |
| 103 | - | 2026-09-16 12:17:15,090 - root - ERROR - Arguments: (200,) | |
| 104 | - | 2026-09-16 12:17:15,092 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:9200 | |
| 105 | - | 2026-09-16 12:17:15,096 - root - ERROR - ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | |
| 106 | - | 2026-09-16 12:17:15,100 - root - ERROR - Traceback (most recent call last): | |
| 1 | + | 2026-09-16 12:21:10,566 - root - INFO - ЕДДС старт скрипта | |
| 2 | + | 2026-09-16 12:21:10,573 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 | |
| 3 | + | 2026-09-16 12:21:10,577 - 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 | |
| 4 | + | 2026-09-16 12:21:10,579 - root - INFO - ЕДДС status_code: 200 | |
| 5 | + | 2026-09-16 12:21:10,582 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): 10.2.0.220:9200 | |
| 6 | + | 2026-09-16 12:21:10,598 - root - ERROR - HTTPSConnectionPool(host='10.2.0.220', port=9200): Max retries exceeded with url: /address_registry/_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)'))) | |
| 7 | + | 2026-09-16 12:21:10,623 - root - ERROR - Traceback (most recent call last): | |
| 8 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 464, in _make_request | |
| 9 | + | self._validate_conn(conn) | |
| 10 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1106, in _validate_conn | |
| 11 | + | conn.connect() | |
| 12 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 796, in connect | |
| 13 | + | sock_and_verified = _ssl_wrap_socket_and_match_hostname( | |
| 14 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 15 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 975, in _ssl_wrap_socket_and_match_hostname | |
| 16 | + | ssl_sock = ssl_wrap_socket( | |
| 17 | + | ^^^^^^^^^^^^^^^^ | |
| 18 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/ssl_.py", line 433, in ssl_wrap_socket | |
| 19 | + | ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname) | |
| 20 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 21 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/ssl_.py", line 477, in _ssl_wrap_socket_impl | |
| 22 | + | return ssl_context.wrap_socket(sock, server_hostname=server_hostname) | |
| 23 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 24 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/ssl.py", line 455, in wrap_socket | |
| 25 | + | return self.sslsocket_class._create( | |
| 26 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 27 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/ssl.py", line 1041, in _create | |
| 28 | + | self.do_handshake() | |
| 29 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/ssl.py", line 1319, in do_handshake | |
| 30 | + | self._sslobj.do_handshake() | |
| 31 | + | ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010) | |
| 32 | + | ||
| 33 | + | During handling of the above exception, another exception occurred: | |
| 34 | + | ||
| 35 | + | Traceback (most recent call last): | |
| 107 | 36 | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen | |
| 108 | 37 | response = self._make_request( | |
| 109 | 38 | ^^^^^^^^^^^^^^^^^^^ | |
| 110 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request | |
| 111 | - | response = conn.getresponse() | |
| 112 | - | ^^^^^^^^^^^^^^^^^^ | |
| 113 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 571, in getresponse | |
| 114 | - | httplib_response = super().getresponse() | |
| 115 | - | ^^^^^^^^^^^^^^^^^^^^^ | |
| 116 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 1430, in getresponse | |
| 117 | - | response.begin() | |
| 118 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 331, in begin | |
| 119 | - | version, status, reason = self._read_status() | |
| 120 | - | ^^^^^^^^^^^^^^^^^^^ | |
| 121 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 300, in _read_status | |
| 122 | - | raise RemoteDisconnected("Remote end closed connection without" | |
| 123 | - | http.client.RemoteDisconnected: Remote end closed connection without response | |
| 124 | - | During handling of the above exception, another exception occurred: | |
| 39 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 488, in _make_request | |
| 40 | + | raise new_e | |
| 41 | + | urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010) | |
| 42 | + | ||
| 43 | + | The above exception was the direct cause of the following exception: | |
| 44 | + | ||
| 125 | 45 | Traceback (most recent call last): | |
| 126 | 46 | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 696, in send | |
| 127 | 47 | resp = conn.urlopen( | |
| @@ -129,29 +49,13 @@ Traceback (most recent call last): | |||
| 129 | 49 | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 842, in urlopen | |
| 130 | 50 | retries = retries.increment( | |
| 131 | 51 | ^^^^^^^^^^^^^^^^^^ | |
| 132 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/retry.py", line 498, in increment | |
| 133 | - | raise reraise(type(error), error, _stacktrace) | |
| 134 | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 135 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise | |
| 136 | - | raise value.with_traceback(tb) | |
| 137 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen | |
| 138 | - | response = self._make_request( | |
| 139 | - | ^^^^^^^^^^^^^^^^^^^ | |
| 140 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request | |
| 141 | - | response = conn.getresponse() | |
| 142 | - | ^^^^^^^^^^^^^^^^^^ | |
| 143 | - | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 571, in getresponse | |
| 144 | - | httplib_response = super().getresponse() | |
| 145 | - | ^^^^^^^^^^^^^^^^^^^^^ | |
| 146 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 1430, in getresponse | |
| 147 | - | response.begin() | |
| 148 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 331, in begin | |
| 149 | - | version, status, reason = self._read_status() | |
| 150 | - | ^^^^^^^^^^^^^^^^^^^ | |
| 151 | - | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 300, in _read_status | |
| 152 | - | raise RemoteDisconnected("Remote end closed connection without" | |
| 153 | - | urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | |
| 52 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/retry.py", line 543, in increment | |
| 53 | + | raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] | |
| 54 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 55 | + | urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='10.2.0.220', port=9200): Max retries exceeded with url: /address_registry/_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)'))) | |
| 56 | + | ||
| 154 | 57 | During handling of the above exception, another exception occurred: | |
| 58 | + | ||
| 155 | 59 | Traceback (most recent call last): | |
| 156 | 60 | File "app/tools.py", line 121, in tools.apiRequest | |
| 157 | 61 | File "/opt/pve/lib/python3.12/site-packages/requests/api.py", line 71, in request | |
| @@ -163,12 +67,13 @@ Traceback (most recent call last): | |||
| 163 | 67 | File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 784, in send | |
| 164 | 68 | r = adapter.send(request, **kwargs) | |
| 165 | 69 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 166 | - | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 711, in send | |
| 167 | - | raise ConnectionError(err, request=request) | |
| 168 | - | requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | |
| 169 | - | 2026-09-16 12:17:15,101 - root - ERROR - 'NoneType' object is not subscriptable | |
| 170 | - | 2026-09-16 12:17:15,101 - root - ERROR - Traceback (most recent call last): | |
| 171 | - | File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 771, in handler | |
| 70 | + | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 727, in send | |
| 71 | + | raise SSLError(e, request=request) | |
| 72 | + | requests.exceptions.SSLError: HTTPSConnectionPool(host='10.2.0.220', port=9200): Max retries exceeded with url: /address_registry/_search (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)'))) | |
| 73 | + | ||
| 74 | + | 2026-09-16 12:21:10,624 - root - ERROR - 'NoneType' object is not subscriptable | |
| 75 | + | 2026-09-16 12:21:10,625 - root - ERROR - Traceback (most recent call last): | |
| 76 | + | File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/sdce77dc1f78cad8460966ffbe191889b.py", line 771, in handler | |
| 172 | 77 | if not address["address"]: | |
| 173 | 78 | ~~~~~~~^^^^^^^^^^^ | |
| 174 | 79 | TypeError: 'NoneType' object is not subscriptable | |
en2zmax revised this gist . Go to revision
1 file changed, 174 insertions
log.log(file created)
| @@ -0,0 +1,174 @@ | |||
| 1 | + | 2026-09-16 12:17:15,065 - root - INFO - ЕДДС старт скрипта | |
| 2 | + | 2026-09-16 12:17:15,073 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:6120 | |
| 3 | + | 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 | |
| 4 | + | 2026-09-16 12:17:15,080 - root - ERROR - --- Logging error --- | |
| 5 | + | 2026-09-16 12:17:15,082 - root - ERROR - Traceback (most recent call last): | |
| 6 | + | 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 | |
| 7 | + | 2026-09-16 12:17:15,082 - root - ERROR - self.enqueue(self.prepare(record)) | |
| 8 | + | 2026-09-16 12:17:15,082 - root - ERROR - ^^^^^^^^^^^^^^^^^^^^ | |
| 9 | + | 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 | |
| 10 | + | 2026-09-16 12:17:15,082 - root - ERROR - msg = self.format(record) | |
| 11 | + | 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^^ | |
| 12 | + | 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 | |
| 13 | + | 2026-09-16 12:17:15,083 - root - ERROR - return fmt.format(record) | |
| 14 | + | 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^ | |
| 15 | + | 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 | |
| 16 | + | 2026-09-16 12:17:15,083 - root - ERROR - record.message = record.getMessage() | |
| 17 | + | 2026-09-16 12:17:15,083 - root - ERROR - ^^^^^^^^^^^^^^^^^^^ | |
| 18 | + | 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 | |
| 19 | + | 2026-09-16 12:17:15,083 - root - ERROR - msg = msg % self.args | |
| 20 | + | 2026-09-16 12:17:15,083 - root - ERROR - ~~~~^~~~~~~~~~~ | |
| 21 | + | 2026-09-16 12:17:15,083 - root - ERROR - TypeError: not all arguments converted during string formatting | |
| 22 | + | 2026-09-16 12:17:15,083 - root - ERROR - Call stack: | |
| 23 | + | 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/bin/gunicorn", line 7, in <module> | |
| 24 | + | 2026-09-16 12:17:15,087 - root - ERROR - sys.exit(run()) | |
| 25 | + | 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 | |
| 26 | + | 2026-09-16 12:17:15,087 - root - ERROR - WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run() | |
| 27 | + | 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 | |
| 28 | + | 2026-09-16 12:17:15,087 - root - ERROR - super().run() | |
| 29 | + | 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 | |
| 30 | + | 2026-09-16 12:17:15,087 - root - ERROR - Arbiter(self).run() | |
| 31 | + | 2026-09-16 12:17:15,087 - root - ERROR - File "/opt/pve/lib/python3.12/site-packages/gunicorn/arbiter.py", line 223, in run | |
| 32 | + | 2026-09-16 12:17:15,087 - root - ERROR - self.manage_workers() | |
| 33 | + | 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 | |
| 34 | + | 2026-09-16 12:17:15,087 - root - ERROR - self.spawn_workers() | |
| 35 | + | 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 | |
| 36 | + | 2026-09-16 12:17:15,087 - root - ERROR - self.spawn_worker() | |
| 37 | + | 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 | |
| 38 | + | 2026-09-16 12:17:15,087 - root - ERROR - worker.init_process() | |
| 39 | + | 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 | |
| 40 | + | 2026-09-16 12:17:15,088 - root - ERROR - super().init_process() | |
| 41 | + | 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 | |
| 42 | + | 2026-09-16 12:17:15,088 - root - ERROR - self.load_wsgi() | |
| 43 | + | 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 | |
| 44 | + | 2026-09-16 12:17:15,088 - root - ERROR - self.wsgi = self.app.wsgi() | |
| 45 | + | 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 | |
| 46 | + | 2026-09-16 12:17:15,088 - root - ERROR - self.callable = self.load() | |
| 47 | + | 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 | |
| 48 | + | 2026-09-16 12:17:15,088 - root - ERROR - return self.load_wsgiapp() | |
| 49 | + | 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 | |
| 50 | + | 2026-09-16 12:17:15,088 - root - ERROR - return util.import_app(self.app_uri) | |
| 51 | + | 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 | |
| 52 | + | 2026-09-16 12:17:15,088 - root - ERROR - mod = importlib.import_module(module) | |
| 53 | + | 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 | |
| 54 | + | 2026-09-16 12:17:15,088 - root - ERROR - return _bootstrap._gcd_import(name[level:], package, level) | |
| 55 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1387, in _gcd_import | |
| 56 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1360, in _find_and_load | |
| 57 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked | |
| 58 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 935, in _load_unlocked | |
| 59 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap_external>", line 999, in exec_module | |
| 60 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed | |
| 61 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "/opt/ses/api.py", line 6, in <module> | |
| 62 | + | 2026-09-16 12:17:15,088 - root - ERROR - from app.ses import api | |
| 63 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1360, in _find_and_load | |
| 64 | + | 2026-09-16 12:17:15,088 - root - ERROR - File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked | |
| 65 | + | 2026-09-16 12:17:15,089 - root - ERROR - File "<frozen importlib._bootstrap>", line 935, in _load_unlocked | |
| 66 | + | 2026-09-16 12:17:15,089 - root - ERROR - File "<frozen importlib._bootstrap_external>", line 1301, in exec_module | |
| 67 | + | 2026-09-16 12:17:15,089 - root - ERROR - File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed | |
| 68 | + | 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 | |
| 69 | + | 2026-09-16 12:17:15,089 - root - ERROR - self._popen = self._Popen(self) | |
| 70 | + | 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 | |
| 71 | + | 2026-09-16 12:17:15,089 - root - ERROR - return _default_context.get_context().Process._Popen(process_obj) | |
| 72 | + | 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 | |
| 73 | + | 2026-09-16 12:17:15,089 - root - ERROR - return Popen(process_obj) | |
| 74 | + | 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 | |
| 75 | + | 2026-09-16 12:17:15,089 - root - ERROR - self._launch(process_obj) | |
| 76 | + | 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 | |
| 77 | + | 2026-09-16 12:17:15,089 - root - ERROR - code = process_obj._bootstrap(parent_sentinel=child_r) | |
| 78 | + | 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 | |
| 79 | + | 2026-09-16 12:17:15,089 - root - ERROR - self.run() | |
| 80 | + | 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 | |
| 81 | + | 2026-09-16 12:17:15,089 - root - ERROR - self._target(*self._args, **self._kwargs) | |
| 82 | + | 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 | |
| 83 | + | 2026-09-16 12:17:15,089 - root - ERROR - self._popen = self._Popen(self) | |
| 84 | + | 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 | |
| 85 | + | 2026-09-16 12:17:15,089 - root - ERROR - return _default_context.get_context().Process._Popen(process_obj) | |
| 86 | + | 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 | |
| 87 | + | 2026-09-16 12:17:15,089 - root - ERROR - return Popen(process_obj) | |
| 88 | + | 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 | |
| 89 | + | 2026-09-16 12:17:15,089 - root - ERROR - self._launch(process_obj) | |
| 90 | + | 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 | |
| 91 | + | 2026-09-16 12:17:15,089 - root - ERROR - code = process_obj._bootstrap(parent_sentinel=child_r) | |
| 92 | + | 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 | |
| 93 | + | 2026-09-16 12:17:15,089 - root - ERROR - self.run() | |
| 94 | + | 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 | |
| 95 | + | 2026-09-16 12:17:15,089 - root - ERROR - self._target(*self._args, **self._kwargs) | |
| 96 | + | 2026-09-16 12:17:15,089 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 752, in handler | |
| 97 | + | 2026-09-16 12:17:15,089 - root - ERROR - address = correct_address( | |
| 98 | + | 2026-09-16 12:17:15,089 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 214, in correct_address | |
| 99 | + | 2026-09-16 12:17:15,090 - root - ERROR - result = w2n() | |
| 100 | + | 2026-09-16 12:17:15,090 - root - ERROR - File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 201, in w2n | |
| 101 | + | 2026-09-16 12:17:15,090 - root - ERROR - logging.info("ЕДДС status_code", status_code) | |
| 102 | + | 2026-09-16 12:17:15,090 - root - ERROR - Message: 'ЕДДС status_code' | |
| 103 | + | 2026-09-16 12:17:15,090 - root - ERROR - Arguments: (200,) | |
| 104 | + | 2026-09-16 12:17:15,092 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 10.2.0.220:9200 | |
| 105 | + | 2026-09-16 12:17:15,096 - root - ERROR - ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | |
| 106 | + | 2026-09-16 12:17:15,100 - root - ERROR - Traceback (most recent call last): | |
| 107 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen | |
| 108 | + | response = self._make_request( | |
| 109 | + | ^^^^^^^^^^^^^^^^^^^ | |
| 110 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request | |
| 111 | + | response = conn.getresponse() | |
| 112 | + | ^^^^^^^^^^^^^^^^^^ | |
| 113 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 571, in getresponse | |
| 114 | + | httplib_response = super().getresponse() | |
| 115 | + | ^^^^^^^^^^^^^^^^^^^^^ | |
| 116 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 1430, in getresponse | |
| 117 | + | response.begin() | |
| 118 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 331, in begin | |
| 119 | + | version, status, reason = self._read_status() | |
| 120 | + | ^^^^^^^^^^^^^^^^^^^ | |
| 121 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 300, in _read_status | |
| 122 | + | raise RemoteDisconnected("Remote end closed connection without" | |
| 123 | + | http.client.RemoteDisconnected: Remote end closed connection without response | |
| 124 | + | During handling of the above exception, another exception occurred: | |
| 125 | + | Traceback (most recent call last): | |
| 126 | + | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 696, in send | |
| 127 | + | resp = conn.urlopen( | |
| 128 | + | ^^^^^^^^^^^^^ | |
| 129 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 842, in urlopen | |
| 130 | + | retries = retries.increment( | |
| 131 | + | ^^^^^^^^^^^^^^^^^^ | |
| 132 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/retry.py", line 498, in increment | |
| 133 | + | raise reraise(type(error), error, _stacktrace) | |
| 134 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 135 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/util/util.py", line 38, in reraise | |
| 136 | + | raise value.with_traceback(tb) | |
| 137 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 788, in urlopen | |
| 138 | + | response = self._make_request( | |
| 139 | + | ^^^^^^^^^^^^^^^^^^^ | |
| 140 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connectionpool.py", line 534, in _make_request | |
| 141 | + | response = conn.getresponse() | |
| 142 | + | ^^^^^^^^^^^^^^^^^^ | |
| 143 | + | File "/opt/pve/lib/python3.12/site-packages/urllib3/connection.py", line 571, in getresponse | |
| 144 | + | httplib_response = super().getresponse() | |
| 145 | + | ^^^^^^^^^^^^^^^^^^^^^ | |
| 146 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 1430, in getresponse | |
| 147 | + | response.begin() | |
| 148 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 331, in begin | |
| 149 | + | version, status, reason = self._read_status() | |
| 150 | + | ^^^^^^^^^^^^^^^^^^^ | |
| 151 | + | File "/home/lexicom/.pyenv/versions/3.12.12/lib/python3.12/http/client.py", line 300, in _read_status | |
| 152 | + | raise RemoteDisconnected("Remote end closed connection without" | |
| 153 | + | urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | |
| 154 | + | During handling of the above exception, another exception occurred: | |
| 155 | + | Traceback (most recent call last): | |
| 156 | + | File "app/tools.py", line 121, in tools.apiRequest | |
| 157 | + | File "/opt/pve/lib/python3.12/site-packages/requests/api.py", line 71, in request | |
| 158 | + | return session.request(method=method, url=url, **kwargs) | |
| 159 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 160 | + | File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 651, in request | |
| 161 | + | resp = self.send(prep, **send_kwargs) | |
| 162 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 163 | + | File "/opt/pve/lib/python3.12/site-packages/requests/sessions.py", line 784, in send | |
| 164 | + | r = adapter.send(request, **kwargs) | |
| 165 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| 166 | + | File "/opt/pve/lib/python3.12/site-packages/requests/adapters.py", line 711, in send | |
| 167 | + | raise ConnectionError(err, request=request) | |
| 168 | + | requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | |
| 169 | + | 2026-09-16 12:17:15,101 - root - ERROR - 'NoneType' object is not subscriptable | |
| 170 | + | 2026-09-16 12:17:15,101 - root - ERROR - Traceback (most recent call last): | |
| 171 | + | File "/opt/ses/tmp/scripts/r6ee8c9262a234018b2659c26a51afd03/s78bd84abcccd7d694916ea8db3474479.py", line 771, in handler | |
| 172 | + | if not address["address"]: | |
| 173 | + | ~~~~~~~^^^^^^^^^^^ | |
| 174 | + | TypeError: 'NoneType' object is not subscriptable | |