runtime error
Exit code: 3. Reason: ^ File "uvloop/loop.pyx", line 1982, in create_connection socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app/cache/redis_client.py", line 78, in connect await self._client.ping() File "/app/.venv/lib/python3.13/site-packages/redis/asyncio/client.py", line 601, in execute_command conn = self.connection or await pool.get_connection(command_name, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/.venv/lib/python3.13/site-packages/redis/asyncio/connection.py", line 1040, in get_connection await self.ensure_connection(connection) File "/app/.venv/lib/python3.13/site-packages/redis/asyncio/connection.py", line 1062, in ensure_connection await connection.connect() File "/app/.venv/lib/python3.13/site-packages/redis/asyncio/connection.py", line 251, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error -2 connecting to discrete-kite-8245.upstash.io:6379. -2. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/.venv/lib/python3.13/site-packages/starlette/routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: ~~~~~~~~~~~~~~~~~~~~~^^^^^ File "/usr/local/lib/python3.13/contextlib.py", line 214, in __aenter__ return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/app/app/main.py", line 55, in lifespan await get_redis_client() File "/app/app/cache/redis_client.py", line 252, in get_redis_client await _redis_client.connect() File "/app/app/cache/redis_client.py", line 85, in connect raise CacheConnectionError(f"Failed to connect to Redis: {str(e)}") app.core.exceptions.CacheConnectionError: Failed to connect to Redis: Error -2 connecting to discrete-kite-8245.upstash.io:6379. -2. ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...