runtime error

Exit code: 3. Reason: eturn self.loaded_dbapi.connect(*cargs, **cparams) # type: ignore[no-any-return] # NOQA: E501 File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "database-1.cdqo24i6uplv.ap-south-1.rds.amazonaws.com" to address: Name or service not known (Background on this error at: https://sqlalche.me/e/20/e3q8) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 638, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__ return await anext(self.gen) File "/app/server.py", line 63, in lifespan rds_wrapper.initialize_store(embedding_manager=embed_model) File "/app/vector_store.py", line 30, in initialize_store self.vectorstore = PGVector( File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 274, in warn_if_direct_instance return wrapped(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 350, in __init__ self.__post_init__() File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 357, in __post_init__ self.create_vector_extension() File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 395, in create_vector_extension raise Exception(f"Failed to create vector extension: {e}") from e Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "database-1.cdqo24i6uplv.ap-south-1.rds.amazonaws.com" to address: Name or service not known (Background on this error at: https://sqlalche.me/e/20/e3q8) ERROR: Application startup failed. Exiting.

Container logs:

Fetching error logs...