-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm getting the following error.
2025-01-03 14:06:33 2025-01-03 06:06:33 [info ] Started TCP server port=41063 session_id=38cbed58
2025-01-03 14:06:33 2025-01-03 06:06:33 [info ] Starting worker process game_id=csgo game_type=Diamond python=/root/.cache-data/dweam-venv/bin/python script=/app/dweam/game_process.py session_id=38cbed58
2025-01-03 14:06:33 ERROR:asyncio:Task was destroyed but it is pending!
2025-01-03 14:06:33 task: <Task pending name='Task-5473' coro=<Event.wait() done, defined at /usr/lib/python3.10/asyncio/locks.py:201> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2025-01-03 14:06:33 2025-01-03 06:06:33 [info ] Started worker process pid=451 session_id=38cbed58
2025-01-03 14:06:33 2025-01-03 06:06:33 [debug ] Starting server session_id=38cbed58
2025-01-03 14:06:38 2025-01-03 06:06:38 [debug ] Reading stdout session_id=38cbed58
2025-01-03 14:06:40 2025-01-03 06:06:40 [warning ] Timeout reading stdout session_id=38cbed58
2025-01-03 14:06:40 2025-01-03 06:06:40 [error ] Worker failed to connect returncode=None session_id=38cbed58 stderr=None stdout=None
2025-01-03 14:06:40 2025-01-03 06:06:40 [error ] Error during connection session_id=38cbed58
2025-01-03 14:06:40 Traceback (most recent call last):
2025-01-03 14:06:40 File "/app/dweam/worker.py", line 229, in start
2025-01-03 14:06:40 raise asyncio.TimeoutError("Worker process failed to connect")
2025-01-03 14:06:40 asyncio.exceptions.TimeoutError: Worker process failed to connect
2025-01-03 14:06:40
2025-01-03 14:06:40 During handling of the above exception, another exception occurred:
2025-01-03 14:06:40
2025-01-03 14:06:40 Traceback (most recent call last):
2025-01-03 14:06:40 File "/app/dweam/worker.py", line 240, in start
2025-01-03 14:06:40 raise TimeoutError("Worker process failed to connect")
2025-01-03 14:06:40 TimeoutError: Worker process failed to connect
2025-01-03 14:06:40 2025-01-03 06:06:40 [error ] Error starting game worker session_id=38cbed58
2025-01-03 14:06:40 Traceback (most recent call last):
2025-01-03 14:06:40 File "/app/dweam/server.py", line 226, in event_generator
2025-01-03 14:06:40 answer = await run_task
2025-01-03 14:06:40 File "/app/dweam/worker.py", line 275, in run
2025-01-03 14:06:40 await self.start()
2025-01-03 14:06:40 File "/app/dweam/worker.py", line 270, in start
2025-01-03 14:06:40 raise RuntimeError(f"Failed to start worker after {max_retries} attempts")
2025-01-03 14:06:40 RuntimeError: Failed to start worker after 3 attempts
2025-01-03 14:06:40 DEBUG:sse_starlette.sse:chunk: b'event: error\r\ndata: Failed to start worker after 3 attempts\r\n\r\n'
2025-01-03 14:06:40 DEBUG:sse_starlette.sse:Got event: http.disconnect. Stop streaming.
After 3 retries, the frontend app shows the following error.
Metadata
Metadata
Assignees
Labels
No labels