runtime error
Exit code: 3. Reason: iginal_state: File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__ return await self.gen.__anext__() File "/home/user/.local/lib/python3.9/site-packages/fastapi/routing.py", line 133, in merged_lifespan async with original_context(app) as maybe_original_state: File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__ return await self.gen.__anext__() File "/home/user/.local/lib/python3.9/site-packages/fastapi/routing.py", line 133, in merged_lifespan async with original_context(app) as maybe_original_state: File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__ return await self.gen.__anext__() File "/home/user/.local/lib/python3.9/site-packages/fastapi/routing.py", line 133, in merged_lifespan async with original_context(app) as maybe_original_state: File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__ return await self.gen.__anext__() File "/home/user/.local/lib/python3.9/site-packages/fastapi/routing.py", line 133, in merged_lifespan async with original_context(app) as maybe_original_state: File "/home/user/.local/lib/python3.9/site-packages/starlette/routing.py", line 569, in __aenter__ await self._router.startup() File "/home/user/.local/lib/python3.9/site-packages/starlette/routing.py", line 671, in startup handler() File "/app/main.py", line 267, in startup database.create_tables() File "/app/database.py", line 33, in create_tables connection = get_connection() File "/app/database.py", line 18, in get_connection return pymysql.connect( File "/home/user/.local/lib/python3.9/site-packages/pymysql/connections.py", line 361, in __init__ self.connect() File "/home/user/.local/lib/python3.9/site-packages/pymysql/connections.py", line 716, in connect raise exc pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'mysql-starfish-star-fish.h.aivencloud.com' ([Errno -2] Name or service not known)") ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...