Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2021-11-28 18:44:53 +0000] [1070] [INFO] Booting worker with pid: 1070,
- [2021-11-28 18:45:24 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1070),
- [2021-11-28 18:45:25 +0000] [1] [WARNING] Worker with pid 1070 was terminated due to signal 9,
- [2021-11-28 18:45:25 +0000] [1071] [INFO] Booting worker with pid: 1071,
- [2021-11-28 18:45:55 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1071),
- [2021-11-28 18:45:56 +0000] [1] [WARNING] Worker with pid 1071 was terminated due to signal 9,
- [2021-11-28 18:45:56 +0000] [1072] [INFO] Booting worker with pid: 1072,
- [2021-11-28 18:46:26 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1072),
- [2021-11-28 18:46:27 +0000] [1] [WARNING] Worker with pid 1072 was terminated due to signal 9,
- [2021-11-28 18:46:27 +0000] [1073] [INFO] Booting worker with pid: 1073,
- [2021-11-28 18:46:57 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1073),
- [2021-11-28 18:46:58 +0000] [1] [WARNING] Worker with pid 1073 was terminated due to signal 9,
- [2021-11-28 18:46:58 +0000] [1074] [INFO] Booting worker with pid: 1074,
- [2021-11-28 18:47:28 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1074),
- [2021-11-28 18:47:29 +0000] [1] [WARNING] Worker with pid 1074 was terminated due to signal 9,
- [2021-11-28 18:47:29 +0000] [1075] [INFO] Booting worker with pid: 1075,
- [2021-11-28 18:47:59 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1075),
- [2021-11-28 18:48:00 +0000] [1] [WARNING] Worker with pid 1075 was terminated due to signal 9,
- [2021-11-28 18:48:00 +0000] [1076] [INFO] Booting worker with pid: 1076,
- [2021-11-28 18:48:30 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1076),
- [2021-11-28 18:48:31 +0000] [1] [WARNING] Worker with pid 1076 was terminated due to signal 9,
- [2021-11-28 18:48:31 +0000] [1077] [INFO] Booting worker with pid: 1077,
- [2021-11-28 18:49:01 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:1077),
- [2021-11-28 18:49:02 +0000] [1] [WARNING] Worker with pid 1077 was terminated due to signal 9,
- [2021-11-28 18:49:02 +0000] [1078] [INFO] Booting worker with pid: 1078,
- [2021-11-28 18:49:28 +0000] [1] [INFO] Handling signal: term,
- Updating database,
- Traceback (most recent call last):,
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection,
- self.connect(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
- return func(*args, **kwargs),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect,
- self.connection = self.get_new_connection(conn_params),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
- return func(*args, **kwargs),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection,
- connection = Database.connect(**conn_params),
- File "/opt/recipes/venv/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect,
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync),
- psycopg2.OperationalError: could not connect to server: Operation timed out,
- Is the server running on host "db_recipes" (172.18.0.2) and accepting,
- TCP/IP connections on port 5432?,
- ,
- ,
- The above exception was the direct cause of the following exception:,
- ,
- Traceback (most recent call last):,
- File "/opt/recipes/manage.py", line 15, in <module>,
- execute_from_command_line(sys.argv),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line,
- utility.execute(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute,
- django.setup(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/__init__.py", line 24, in setup,
- apps.populate(settings.INSTALLED_APPS),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/apps/registry.py", line 122, in populate,
- app_config.ready(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django_prometheus/apps.py", line 23, in ready,
- ExportMigrations(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django_prometheus/migrations.py", line 52, in ExportMigrations,
- executor = MigrationExecutor(connections[alias]),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/executor.py", line 18, in __init__,
- self.loader = MigrationLoader(self.connection),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 53, in __init__,
- self.build_graph(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 220, in build_graph,
- self.applied_migrations = recorder.applied_migrations(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/recorder.py", line 77, in applied_migrations,
- if self.has_table():,
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/migrations/recorder.py", line 55, in has_table,
- with self.connection.cursor() as cursor:,
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
- return func(*args, **kwargs),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 259, in cursor,
- return self._cursor(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 235, in _cursor,
- self.ensure_connection(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
- return func(*args, **kwargs),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection,
- self.connect(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__,
- raise dj_exc_value.with_traceback(traceback) from exc_value,
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection,
- self.connect(),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
- return func(*args, **kwargs),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect,
- self.connection = self.get_new_connection(conn_params),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner,
- return func(*args, **kwargs),
- File "/opt/recipes/venv/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection,
- connection = Database.connect(**conn_params),
- File "/opt/recipes/venv/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect,
- conn = _connect(dsn, connection_factory=connection_factory, **kwasync),
- django.db.utils.OperationalError: could not connect to server: Operation timed out,
- Is the server running on host "db_recipes" (172.18.0.2) and accepting,
- TCP/IP connections on port 5432?,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement