Change8
Error1 reports

Fix ConnectionResetError

in Celery

Solution

ConnectionResetError in Celery often arises from network instability or the Redis server closing idle connections. To fix this, configure Celery to use connection pooling with a shorter `broker_pool_limit` and implement retry mechanisms using `autoretry_for` in your Celery tasks, ensuring robust recovery from intermittent connection drops. Also, adjust Redis's `timeout` setting to a higher value.

Related Issues

Real GitHub issues where developers encountered this error:

Timeline

First reported:May 13, 2025
Last reported:May 13, 2025

Need More Help?

View the full changelog and migration guides for Celery

View Celery Changelog