FAForever / server

The servercode for the Forged Alliance Forever lobby
http://www.faforever.com
GNU General Public License v3.0
66 stars 61 forks source link

Error running RabbitMQ reconnect task #967

Open Askaholic opened 1 year ago

Askaholic commented 1 year ago

Looks like the task didn't run fully after the callback was triggered. Note that the first time the callback was triggered it ran succesfully, but the connection failed due to the bad host name.

INFO     May 14  14:37:06 ConfigurationStore             New value for MQ_SERVER: 'faf-rabbitm' -> 'faf-rabbitmq'
ERROR    May 14  14:37:06 asyncio                        Task was destroyed but it is pending!
task: <Task pending name='Task-3405559' coro=<MessageQueueService.reconnect() done, defined at /usr/local/lib/python3.9/site-packages/server/asyncio_extensions.py:193> wait_for=<Task pending name='Task-3405560' coro=<Connection.connect() running at /usr/local/lib/python3.9/site-packages/aiormq/connection.py:431> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f317d7334f0>()]> cb=[FutureStore.__on_task_done.<locals>.remover() at /usr/local/lib/python3.9/site-packages/aiormq/base.py:33, <TaskWakeupMethWrapper object at 0x7f317c383850>()]>>
ERROR    May 14  14:37:06 asyncio                        Task was destroyed but it is pending!
task: <Task pending name='Task-3405560' coro=<Connection.connect() done, defined at /usr/local/lib/python3.9/site-packages/aiormq/connection.py:388> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f317d7334f0>()]> cb=[FutureStore.__on_task_done.<locals>.remover() at /usr/local/lib/python3.9/site-packages/aiormq/base.py:33, <TaskWakeupMethWrapper object at 0x7f317c383850>()]>