Skip to content

Error running RabbitMQ reconnect task #967

@Askaholic

Description

@Askaholic

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>()]>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions