The Fix
pip install celery==4.4.0rc5
Based on closed celery/celery issue #5593 · PR/commit linked
Production note: This usually shows up under retries/timeouts. Treat it as a side-effect risk until you can verify behavior with a canary + real traffic.
@@ -65,7 +65,7 @@ Or, if you want to run it on Docker execute this:
.. code-block:: console
- $ docker run -d -p 5462:5462 rabbitmq
+ $ docker run -d -p 5672:5672 rabbitmq
Option A — Upgrade to fixed release\npip install celery==4.4.0rc5\nWhen NOT to use: This fix is not applicable if the documentation is not being used for RabbitMQ setup.\n\n
Why This Fix Works in Production
- Trigger: RabbitMQ docker instructions: incorrect port number
- Mechanism: The documentation incorrectly specified the RabbitMQ port as 5462 instead of the default 5672
- Why the fix works: Corrected the RabbitMQ docker instructions by changing the port number from 5462 to 5672. (first fixed release: 4.4.0rc5).
- If left unfixed, the same config can fail only in production (env differences), causing startup failures or partial feature outages.
Why This Breaks in Prod
- The documentation incorrectly specified the RabbitMQ port as 5462 instead of the default 5672
- Production symptom (often without a traceback): RabbitMQ docker instructions: incorrect port number
Proof / Evidence
- GitHub issue: #5593
- Fix PR: https://github.com/celery/celery/pull/5595
- First fixed release: 4.4.0rc5
- Reproduced locally: No (not executed)
- Last verified: 2026-02-09
- Confidence: 0.95
- Did this fix it?: Yes (upstream fix exists)
- Own content ratio: 0.75
Discussion
High-signal excerpts from the issue thread (symptoms, repros, edge-cases).
“plz review https://github.com/celery/celery/pull/5595”
Failure Signature (Search String)
- RabbitMQ docker instructions: incorrect port number
- - [x] I have included all related issues and possible duplicate issues in this issue
Copy-friendly signature
Failure Signature
-----------------
RabbitMQ docker instructions: incorrect port number
- [x] I have included all related issues and possible duplicate issues in this issue
Error Message
Signature-only (no traceback captured)
Error Message
-------------
RabbitMQ docker instructions: incorrect port number
- [x] I have included all related issues and possible duplicate issues in this issue
What Broke
Users were unable to connect to RabbitMQ due to incorrect port configuration.
Why It Broke
The documentation incorrectly specified the RabbitMQ port as 5462 instead of the default 5672
Fix Options (Details)
Option A — Upgrade to fixed release Safe default (recommended)
pip install celery==4.4.0rc5
Use when you can deploy the upstream fix. It is usually lower-risk than long-lived workarounds.
Fix reference: https://github.com/celery/celery/pull/5595
First fixed release: 4.4.0rc5
Last verified: 2026-02-09. Validate in your environment.
When NOT to Use This Fix
- This fix is not applicable if the documentation is not being used for RabbitMQ setup.
Did This Fix Work in Your Case?
Quick signal helps us prioritize which fixes to verify and improve.
Prevention
- Capture the exact failing error string in logs and tests so you can reproduce via a minimal script.
- Pin production dependencies and upgrade only with a reproducible test that hits the failing path.
Version Compatibility Table
| Version | Status |
|---|---|
| 4.4.0rc5 | Fixed |
Related Issues
No related fixes found.
Sources
We don’t republish the full GitHub discussion text. Use the links above for context.