## Description Codabench started experiencing recurring Redis timeout errors in all environments (local, dev and production): ```text redis.exceptions.TimeoutError: Timeout reading from redis:6379 ``` The error occurs in the `SubmissionOutputConsumer` through Django Channels. > [!IMPORTANT] > The problem does not trigger a service interruption The Redis server itself remains healthy and available. For example, Redis reports no rejected connections and a normal number of connected clients. The issue was observed with: ```text Python 3.13 Django 5.2.16 and Django 6.1.1 channels 4.3.2 channels-redis 4.0.0 ``` ## Root cause DJango redis github issue: https://github.com/django/channels_redis/issues/422 PR: https://github.com/django/channels_redis/pull/423 ## Proposed fix Pin `redis` to `7.4.0` in Codabench's dependencies inside of pyproject.toml until a version of `channels-redis` containing the fix is released. branch for fix: fix/downgrade_redis
Description
Codabench started experiencing recurring Redis timeout errors in all environments (local, dev and production):
The error occurs in the
SubmissionOutputConsumerthrough Django Channels.Important
The problem does not trigger a service interruption
The Redis server itself remains healthy and available. For example, Redis reports no rejected connections and a normal number of connected clients.
The issue was observed with:
Root cause
DJango redis github issue:
django/channels_redis#422
PR:
django/channels_redis#423
Proposed fix
Pin
redisto7.4.0in Codabench's dependencies inside of pyproject.toml until a version ofchannels-rediscontaining the fix is released.branch for fix:
fix/downgrade_redis