Resolving "ReplicasActive" timeout errors during GitHub Action deployments
If you encounter a ReplicasActive error during a GitHub Action deployment using duplocloud/actions/update-image , this typically means the action timed out waiting for your new pod to reach a ready state, even though the deployment may have actually succeeded. Understanding the error The ReplicasActive error occurs when: The GitHub Action times out before the pod becomes ready Image pulling takes longer than expected (especially for cold deploys) Startup probes need extra time to pass after the application boots This is often a timing issue rather than an actual deployment failure. Your service may be running fine and receiving traffic despite the action reporting failure. Diagnosing the issue Before making changes, verify whether this is a timeout issue: Check your service status in the DuploCloud portal - if it's running and receiving traffic, the deployment likely succeeded Review pod events for any actual errors (CrashLoopBackOff, ImagePullBackOff, etc.) Check pod logs for application startup issues Note that occasional startup probe failures are normal - the probe may hit your healthcheck endpoint before the app is fully ready Solution: Increase the wait timeout To prevent false failures, increase the timeout in your deployment workflow: If using duploctl directly: duploctl service update_image web $IMAGE --wait --timeout 300 If using the duplocloud/actions/update-image action: Check if the action supports a timeout input parameter, or switch to running the duploctl command directly with the timeout flag. A timeout of 300 seconds (5 minutes) provides sufficient headroom for image pulling and startup probe validation, especially during cold deploys when images aren't cached on the node.
Last updated
Was this helpful?

