runtime error

Exit code: 1. Reason: ms) # type: ignore[no-any-return] # NOQA: E501 ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/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 "poc-langchain-db.c8zwy008kjoo.us-east-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 "/app/app.py", line 74, in <module> gradio = GradioAgent() File "/app/app.py", line 15, in __init__ self.agent = self.__create_agent() ~~~~~~~~~~~~~~~~~~~^^ File "/app/app.py", line 38, in __create_agent rag_agent = get_book_retriver_agent() File "/app/agents/BookRetriverAgent.py", line 13, in get_book_retriver_agent vector_store = initiate_vector_store() File "/app/agents/BookRetriverAgent.py", line 41, in initiate_vector_store return PGVector( connection=os.getenv("POSTGRE_CONNECTION"), collection_name="books", embeddings=embeddings, ) File "/usr/local/lib/python3.13/site-packages/langchain_postgres/vectorstores.py", line 463, in __init__ self.__post_init__() ~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/langchain_postgres/vectorstores.py", line 470, in __post_init__ self.create_vector_extension() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/langchain_postgres/vectorstores.py", line 509, 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 "poc-langchain-db.c8zwy008kjoo.us-east-1.rds.amazonaws.com" to address: Name or service not known (Background on this error at: https://sqlalche.me/e/20/e3q8)

Container logs:

Fetching error logs...