ERROR:AsyncPostgresDB:global:Exception occurred Traceback (most recent call last): File "/opt/latest/lib/python3.11/site-packages/services/data/postgres_async_db.py", line 125, in _init self.pool = await aiopg.create_pool( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 300, in from_pool_fill await self._fill_free_pool(False) File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 336, in _fill_free_pool conn = await connect( ^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 1225, in _connect await self._poll(self._waiter, self._timeout) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 881, in _poll await asyncio.wait_for(self._waiter, timeout) File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for return fut.result() ^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 788, in _ready state = self._conn.poll() ^^^^^^^^^^^^^^^^^ psycopg2.OperationalError: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? ERROR:AsyncPostgresDB:global:Exception occurred Traceback (most recent call last): File "/opt/latest/lib/python3.11/site-packages/services/data/postgres_async_db.py", line 125, in _init self.pool = await aiopg.create_pool( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 300, in from_pool_fill await self._fill_free_pool(False) File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 336, in _fill_free_pool conn = await connect( ^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 1225, in _connect await self._poll(self._waiter, self._timeout) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 881, in _poll await asyncio.wait_for(self._waiter, timeout) File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for return fut.result() ^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 788, in _ready state = self._conn.poll() ^^^^^^^^^^^^^^^^^ psycopg2.OperationalError: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? ERROR:AsyncPostgresDB:global:Exception occurred Traceback (most recent call last): File "/opt/latest/lib/python3.11/site-packages/services/data/postgres_async_db.py", line 125, in _init self.pool = await aiopg.create_pool( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 300, in from_pool_fill await self._fill_free_pool(False) File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 336, in _fill_free_pool conn = await connect( ^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 1225, in _connect await self._poll(self._waiter, self._timeout) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 881, in _poll await asyncio.wait_for(self._waiter, timeout) File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for return fut.result() ^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 788, in _ready state = self._conn.poll() ^^^^^^^^^^^^^^^^^ psycopg2.OperationalError: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? Traceback (most recent call last): File "/opt/latest/bin/metadata_service", line 10, in sys.exit(main()) ^^^^^^ File "/opt/latest/lib/python3.11/site-packages/services/metadata_service/server.py", line 46, in main the_app = app(loop, DBConfiguration(), path_prefix=PATH_PREFIX) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/services/metadata_service/server.py", line 28, in app loop.run_until_complete(async_db._init(db_conf)) File "/usr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/services/data/postgres_async_db.py", line 177, in _init raise e File "/opt/latest/lib/python3.11/site-packages/services/data/postgres_async_db.py", line 125, in _init self.pool = await aiopg.create_pool( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 300, in from_pool_fill await self._fill_free_pool(False) File "/opt/latest/lib/python3.11/site-packages/aiopg/pool.py", line 336, in _fill_free_pool conn = await connect( ^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 1225, in _connect await self._poll(self._waiter, self._timeout) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 881, in _poll await asyncio.wait_for(self._waiter, timeout) File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for return fut.result() ^^^^^^^^^^^^ File "/opt/latest/lib/python3.11/site-packages/aiopg/connection.py", line 788, in _ready state = self._conn.poll() ^^^^^^^^^^^^^^^^^ psycopg2.OperationalError: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?