runtime error
Exit code: 3. Reason: al/lib/python3.10/site-packages/aiomysql/connection.py", line 527, in _connect self._reader, self._writer = await \ File "/usr/local/lib/python3.10/asyncio/tasks.py", line 408, in wait_for return await fut File "/usr/local/lib/python3.10/site-packages/aiomysql/connection.py", line 88, in _open_connection transport, _ = await loop.create_connection( File "uvloop/loop.pyx", line 2039, in create_connection File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection TimeoutError: [Errno 110] Connection timed out 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 732, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 608, in __aenter__ await self._router.startup() File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 709, in startup await handler() File "/code/main.py", line 141, in startup await database.connect() File "/usr/local/lib/python3.10/site-packages/databases/core.py", line 112, in connect await self._backend.connect() File "/usr/local/lib/python3.10/site-packages/databases/backends/mysql.py", line 69, in connect self._pool = await aiomysql.create_pool( File "/usr/local/lib/python3.10/site-packages/aiomysql/pool.py", line 29, in _create_pool await pool._fill_free_pool(False) File "/usr/local/lib/python3.10/site-packages/aiomysql/pool.py", line 182, in _fill_free_pool conn = await connect(echo=self._echo, loop=self._loop, File "/usr/local/lib/python3.10/site-packages/aiomysql/connection.py", line 75, in _connect await conn._connect() File "/usr/local/lib/python3.10/site-packages/aiomysql/connection.py", line 563, in _connect raise OperationalError( pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '35.224.61.48'") ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...