You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include a brief description of the problem here, and fill out the version info below.
Error in stderr. Searching (chatgpt) indicates a problem with old versions, but I am using the latest.
Although the error trace indicates that this is a celery redis backend problem, not specifically celery-beat, I never see this error in other logfiles.
The tasks that are run in celery-beat are invoked in other ways (e.g. from django admin "run" or simply from a python shell) and I never see this error elsewhere. This is why I have reported it here.
My requirements are managed in requirements.txt imported into Dockerfile
The supervisor log has repeated messages like this
( from celery_beat-stderr---supervisor-51cyqtpg.log )
Exception ignored in: <function AsyncResult.__del__ at 0x7f422d71cb80>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/celery/result.py", line 417, in __del__
self.backend.remove_pending_result(self)
File "/usr/local/lib/python3.11/site-packages/celery/backends/asynchronous.py", line 208, in remove_pending_result
self.on_result_fulfilled(result)
File "/usr/local/lib/python3.11/site-packages/celery/backends/asynchronous.py", line 216, in on_result_fulfilled
self.result_consumer.cancel_for(result.id)
File "/usr/local/lib/python3.11/site-packages/celery/backends/redis.py", line 183, in cancel_for
with self.reconnect_on_error():
File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.11/site-packages/celery/backends/redis.py", line 130, in reconnect_on_error
self._ensure(self._reconnect_pubsub, ())
File "/usr/local/lib/python3.11/site-packages/celery/backends/redis.py", line 384, in ensure
return retry_over_time(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kombu/utils/functional.py", line 318, in retry_over_time
return fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/celery/backends/redis.py", line 122, in _reconnect_pubsub
self._pubsub.connection.register_connect_callback(self._pubsub.on_connect)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Connection' object has no attribute 'register_connect_callback'
Please include more detailed information here, such as relevant information about your system setup, things you did to try and debug the problem, log messages, etc.
The text was updated successfully, but these errors were encountered:
Summary:
Include a brief description of the problem here, and fill out the version info below.
Error in stderr. Searching (chatgpt) indicates a problem with old versions, but I am using the latest.
Although the error trace indicates that this is a celery redis backend problem, not specifically celery-beat, I never see this error in other logfiles.
The tasks that are run in celery-beat are invoked in other ways (e.g. from django admin "run" or simply from a python shell) and I never see this error elsewhere. This is why I have reported it here.
My requirements are managed in requirements.txt imported into Dockerfile
Exact steps to reproduce the issue:
Detailed information
I am running celery-beat via supervisor.
It is invoked via this configuration:
The supervisor log has repeated messages like this
( from celery_beat-stderr---supervisor-51cyqtpg.log )
Please include more detailed information here, such as relevant information about your system setup, things you did to try and debug the problem, log messages, etc.
The text was updated successfully, but these errors were encountered: