When attempting to start a Celery worker, I'm getting a ModuleNotFoundError at startup and Celery quits : [2025-03-17 17:16:42,405: CRITICAL/MainProcess] Unrecoverable error: ModuleNotFoundError("No module named 'a-redis-server'"
).
The odd thing - the module it was looking for was (example - not the actual value) a-redis-server
, which matches the prefixed DNS for broker
and backend
(i.e. the value was a-redis-server.abcdef.0001.use1.cache.amazonaws:6379/0
).
When attempting to start a Celery worker, I'm getting a ModuleNotFoundError at startup and Celery quits : [2025-03-17 17:16:42,405: CRITICAL/MainProcess] Unrecoverable error: ModuleNotFoundError("No module named 'a-redis-server'"
).
The odd thing - the module it was looking for was (example - not the actual value) a-redis-server
, which matches the prefixed DNS for broker
and backend
(i.e. the value was a-redis-server.abcdef.0001.use1.cache.amazonaws:6379/0
).
1 Answer
Reset to default 1The issue was fairly simple: I fot to set the protocol in the broker
and backend
, i.e. redis://a-redis-server.abcdef.0001.use1.cache.amazonaws:6379/0
. Seems a bit obvious in retrospect lol.