Troubleshooting
Solutions to common issues and how to debug problems in Sluice.
Troubleshooting
This guide covers common issues and how to resolve them.
Pipeline Issues
Pipeline Won’t Start
Symptoms: Clicking “Run Pipeline” does nothing or returns an error.
Possible Causes:
- No stages defined - Pipeline needs at least one stage
- Invalid configuration - Syntax errors in YAML/JSON
- Missing permissions - User lacks run permissions
Solutions:
- Add at least one stage to your pipeline
- Validate your configuration using the editor’s syntax check
- Contact your tenant admin for permission issues
Pipeline Stuck in “Running”
Symptoms: Pipeline shows “Running” but no progress.
Possible Causes:
- Stage timeout - Stage exceeded its timeout
- Worker unavailable - No workers to process the job
- External dependency - Waiting on external service
Solutions:
- Check stage logs for timeout messages
- Verify workers are healthy in the system status
- Cancel the run and investigate logs
Note
Build Stage Issues
Docker Build Failed
Symptoms: Build stage fails with Docker errors.
Common Errors:
“Dockerfile not found”
error: unable to prepare context: unable to evaluate symlinks in Dockerfile path Solution: Verify the dockerfile path is correct relative to your repository root.
config:
dockerfile: ./Dockerfile # Common
dockerfile: ./docker/Dockerfile # If in subdirectory “Failed to fetch image”
error: failed to fetch image: manifest unknown Solution: Check that your base image exists and is accessible.
# Use specific tags, not :latest for reproducibility
FROM node:18-alpine “Out of disk space”
error: write /var/lib/docker/...: no space left on device Solution: Your image or build cache is too large. Consider:
- Using smaller base images (Alpine variants)
- Adding
.dockerignoreto exclude unnecessary files - Multi-stage builds to reduce final image size
Registry Push Failed
Symptoms: Build succeeds but push to registry fails.
Possible Causes:
- Authentication failed - Invalid or expired credentials
- Repository doesn’t exist - Need to create repository first
- Permission denied - Missing push access
Solutions:
- Update registry credentials in settings
- Create the repository in your registry
- Verify push permissions for your account
Deploy Stage Issues
Kubernetes Deployment Failed
Symptoms: Deploy stage fails when applying to Kubernetes.
“Namespace not found”
error: namespaces "production" not found Solution: Create the namespace first or add it to your manifests:
apiVersion: v1
kind: Namespace
metadata:
name: production “Image pull failed”
error: failed to pull image: ImagePullBackOff Solution: Verify:
- Image exists in registry
- Registry credentials configured in Kubernetes
- Image tag is correct
# Check image pull secret
kubectl get secret regcred -n your-namespace “Insufficient resources”
error: 0/3 nodes are available: insufficient cpu Solution: Reduce resource requests or add cluster capacity:
resources:
requests:
cpu: '100m' # Reduce from "500m"
memory: '128Mi' Helm Deployment Failed
Symptoms: Helm deploy stage fails.
“Chart not found”
Solution: Verify chart path is correct:
config:
type: helm
chart: ./charts/my-app # Relative to repository root “Values validation failed”
Solution: Check your values match the chart’s schema. Use helm lint locally to validate.
Webhook Issues
Webhooks Not Triggering
Symptoms: Push to repo, but no pipeline runs.
Checklist:
- Verify webhook URL is correct in Git provider
- Check webhook secret matches
- Confirm webhook is active/enabled
- Review recent deliveries for errors
Signature Validation Failed
Symptoms: Webhook received but rejected with 401/403.
Solution:
- Go to pipeline settings in Sluice
- Copy the webhook secret
- Update the secret in your Git provider
- Test with a new push
Warning
Authentication Issues
“Unauthorized” Errors
Symptoms: API calls return 401 errors.
Solutions:
- Token expired - Generate a new API token
- Wrong tenant - Verify you’re using the correct tenant ID
- Permissions - Contact admin for role assignment
SSO Login Failed
Symptoms: Cannot log in via SSO.
Solutions:
- Clear browser cache and cookies
- Try incognito/private window
- Contact your identity provider admin
- Verify SSO is configured correctly
Performance Issues
Slow Pipeline Runs
Symptoms: Pipelines take longer than expected.
Optimization Tips:
- Use build cache - Enable layer caching for Docker builds
- Parallel testing - Run independent tests in parallel
- Smaller images - Use Alpine-based images
- Shallow clones - Use
depth: 1for source stage
- name: source
type: source
config:
depth: 1 # Shallow clone UI Loading Slowly
Symptoms: Dashboard takes long to load.
Solutions:
- Check your network connection
- Clear browser cache
- Reduce the number of pipelines shown (use filters)
- Check the status page for service issues
Getting More Help
Enable Debug Logging
For more detailed logs, enable debug mode:
settings:
debug: true Debug logs include:
- Detailed command output
- Environment variable values (secrets masked)
- Timing information
Collecting Diagnostics
When contacting support, include:
- Pipeline ID and Run ID
- Stage logs for failing stage
- Configuration (redact secrets)
- Timestamp of the issue
- Error messages (exact text)
Contact Support
If you can’t resolve the issue:
- Check the Status Page for outages
- Search existing issues on GitHub
- Open a new issue with diagnostic info
- Email support for urgent issues
Note