Skip to main content

CRE-2025-0074

Temporal Worker → Server Downtime → Connection Refused FailureCritical
Impact: 10/10
Mitigation: 6/10

CRE-2025-0074View on GitHub

Description

Detects failure when a Temporal worker is unable to reach the Temporal server.\n- This typically occurs during startup or after server downtime.\n- Worker log contains gRPC error: \"connection refused\".\n

Mitigation

IMMEDIATE:\n- Confirm server is running: `docker ps`, `docker logs temporal`\n- Ensure worker starts only after server is available.\n- Restart worker manually or with retry logic.\nRECOVERY ACTIONS:\n- Add health checks for the server container.\n- Use startup dependencies in Docker Compose.\n- Improve alerting for “connection refused” messages.\nPREVENTION STRATEGIES:\n- Monitor port 7233 availability.\n- Delay worker startup until Temporal is healthy.\n- Add retry logic in the worker code.\n

References