Troubleshooting
Diagnostics
Section titled “Diagnostics”Always start with:
cropscode doctorThis identifies most common issues and offers to fix them.
Common Issues
Section titled “Common Issues”Worker shows “offline” in dashboard
Section titled “Worker shows “offline” in dashboard”Cause: WebSocket connection lost or never established.
Fix:
- Check the worker is running:
cropscode status - Verify network access: can you reach the orchestrator URL from this machine?
- Check firewall rules — outbound WSS (port 443) must be allowed
- Restart the worker:
cropscode worker
”Cannot connect to container runtime”
Section titled “”Cannot connect to container runtime””Cause: Podman (or Docker) is not running or not installed.
Fix (macOS):
podman machine startFix (Windows):
podman machine startFix (Linux):
systemctl --user start podman.socketContainer launch fails with “image not found”
Section titled “Container launch fails with “image not found””Cause: The container image hasn’t been built on this worker.
Fix:
Build the image from the orchestrator dashboard or ask CropPilot:
“Build the claude-code-terminal image on worker-1”
Or pull from the registry if available.
”Insufficient disk space”
Section titled “”Insufficient disk space””Cause: Container images and layers consume significant disk.
Fix:
# Remove unused imagespodman image prune -a
# Remove stopped containerspodman container prune
# Check current usagepodman system dfWorker heartbeat timeout
Section titled “Worker heartbeat timeout”Cause: Network interruption lasting more than the heartbeat timeout (30s).
The worker auto-reconnects with exponential backoff. If it doesn’t recover:
- Check network connectivity
- Restart the worker:
cropscode worker
WSL issues (Windows)
Section titled “WSL issues (Windows)”Cause: WSL2 not installed or not running.
Fix:
wsl --install# Restart your machine after installationVerify: wsl --status should show WSL2 as default.
The worker agent logs to stdout. To capture logs:
cropscode worker 2>&1 | tee ~/.cropscode/worker.logStill stuck?
Section titled “Still stuck?”- Run
cropscode doctor --jsonand share the output - Join Discord for community support
- Check GitHub Issues for known issues