[2024-01-08 03:58:43,347: ERROR/MainProcess] Received unregistered task of type 'tasks.t1'.
The message has been ignored and discarded.
''
Did you remember to import the module containing this task?
Or maybe you're using relative imports?
''
Please see
https://docs.celeryq.dev/en/latest/internals/proto...
for more information.
''
The full contents of the message body was:
b'[[1], {}, {"callbacks": null, "errbacks": null, "chain": null, "chord": null}]' (78b)
''
The full contents of the message headers:
{'lang': 'py', 'task': 'tasks.t1', 'id': 'ef3eba30-bac6-4f19-ad67-01867dd34a8e', 'shadow': None, 'eta': None, 'expires': None, 'group': None, 'group_index': None, 'retries': 0, 'timelimit': [None, None], 'root_id': 'ef3eba30-bac6-4f19-ad67-01867dd34a8e', 'parent_id': None, 'argsrepr': '(1,)', 'kwargsrepr': '{}', 'origin': 'gen1085186@mk-pc', 'ignore_result': False, 'replaced_task_nesting': 0, 'stamped_headers': None, 'stamps': {}}
''
The delivery info for this task is:
{'exchange': '', 'routing_key': 'celery'}
Traceback (most recent call last):
File "/home/mk/PycharmProjects/celery_learn/venv/lib/python3.10/site-packages/celery/worker/consumer/consumer.py", line 658, in on_task_received
strategy = strategies[type_]
KeyError: 'tasks.t1'