Error: "Failed to start analysis. Please check your Reddit API credentials."
Solution:
- Verify your
.envfile has correct credentials:cat .env
- Make sure there are no extra spaces around
=signs - Restart Docker after changing
.env:docker-compose down docker-compose up --build
Error: "Cannot connect to the Docker daemon"
Solution:
- Start Docker Desktop
- Wait for Docker to fully start (whale icon in menu bar)
- Try again:
docker-compose up --build
Error: "Failed to fetch dashboard data"
Solution:
- Check if backend is running:
curl http://localhost:8000/health - Restart services:
docker-compose down && docker-compose up --build - Wait for all services to show "ready" messages
Error: Port 3000 or 8000 already in use
Solution:
- Stop other applications using these ports
- Or modify
docker-compose.ymlto use different ports
Error: Application crashes or runs slowly
Solution:
- Ensure at least 2GB RAM available
- Close other applications
- Restart Docker Desktop
# Stop all services
docker-compose down -v
# Remove all containers and images
docker system prune -a
# Restart fresh
docker-compose up --build# Backend logs
docker-compose logs backend
# Frontend logs
docker-compose logs frontend
# All logs
docker-compose logs# Health check
curl http://localhost:8000/health
# API docs
open http://localhost:8000/docsIf you're still having issues:
- Check the logs for specific error messages
- Verify your Reddit API credentials are correct
- Ensure Docker Desktop is running
- Try the reset procedure above
Your application is working correctly when you see:
- ✅ Backend:
INFO: Application startup complete. - ✅ Frontend:
webpack compiled successfully - ✅ Redis:
Ready to accept connections - ✅ Dashboard loads at http://localhost:3000
- ✅ Analysis works without errors