No Available Server (503) Error
If your deployed application or service shows a "No Available Server" error, this indicates that Traefik (the reverse proxy) cannot find any (healthy) containers to route traffic to under the provided secured URL (https).
What Causes This Error?
The "No Available Server" error occurs when:
- Failed Health Checks - Traefik considers your container unhealthy
- Domain Configuration Issues - Incorrect domain setup or missing www/non-www variants
- Port Mismatches - Exposed ports don't match your application's actual listening port
- Deployment Downtime - Brief downtime during container updates
- Underlying Traefik Issues - Problems with Traefik itself (e.g., Docker API version mismatch)
Quick Diagnosis Steps
Check Container Health Status
First, verify if your containers are running healthy:
# SSH into your server and check container status
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"Look for containers showing (unhealthy) status - this indicates a health check problem.
Check Domain Configuration
Verify that you entered the domain correctly in the application or service configuration and that its DNS records point to the correct IP address. See Domains for the supported formats.
Check Traefik Proxy Logs
Check the Traefik logs for underlying issues:
Through Coolify UI:
- Go to
Servers→[Your Server]→Proxy→Logs
Or via SSH:
# Check proxy logs for errors
docker logs coolify-proxy --tail 50Look for error messages like client version 1.24 is too old which indicates a Docker API version mismatch.
Common Solutions
Advanced Debugging
Prevention Tips
-
Always Use Health Checks:
- Implement a
/healthendpoint in your application - Ensure all dependencies (e.g.
curl/wget) are available in your container
- Implement a
-
Test Locally First:
- Test your health check endpoint before deploying
- Verify port configuration matches your app
-
Monitor Container Status:
- Regularly check
docker psfor unhealthy containers - Set up monitoring for health check failures
- Regularly check
-
Use Staging Environment:
- Test domain configurations in staging first
When to Seek Help
If none of these solutions work, join our Discord community and provide:
- Application logs
- Coolify proxy logs
- Container health status (
docker ps) - Domain configuration screenshots
- Health check configuration
- Steps you've already tried
This will help the community diagnose more complex issues specific to your setup.
