runtime error

Exit code: 3. Reason: onnection await self.ensure_connection(connection) File "/usr/local/lib/python3.10/site-packages/redis/asyncio/connection.py", line 1231, in ensure_connection await connection.connect() File "/usr/local/lib/python3.10/site-packages/redis/asyncio/connection.py", line 298, in connect await self.connect_check_health(check_health=True) File "/usr/local/lib/python3.10/site-packages/redis/asyncio/connection.py", line 317, in connect_check_health raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error -2 connecting to faithful-shrew-34145.upstash.io:6379. Name or service not known. 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 693, 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 "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 1651, in new_lifespan async with old_lifespan( File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__ return await anext(self.gen) File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan async with original_context(app) as maybe_original_state: File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__ return await anext(self.gen) File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan async with original_context(app) as maybe_original_state: File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__ return await anext(self.gen) File "/app/app/main.py", line 59, in lifespan await init_redis_pool() File "/app/app/core/redis.py", line 71, in init_redis_pool raise RedisConnectionError( app.core.exceptions.RedisConnectionError: Failed to connect to Redis ERROR: Application startup failed. Exiting.

Container logs:

Fetching error logs...