Celery tasks remain reserved
Published in
Dec 22, 2023
Trying to get started with Celery, but find yourself stuck with workers that accept a task without ever executing them? Google is no help, ChatGPT and Github Copilot have no clue, even Stackoverflow won’t help out.
In my case, the issue is that I was trying to run things on Windows. Celery 4.x stopped supporting Windows, and tasks being stuck in pending or reserved mode is the result. Instead, run everything in WSL2 or a docker container and voila, everything will just work.
A proper error message would’ve been nice …