Troubleshooting¶
"Reality is frequently inaccurate." — Software systems occasionally are too.
Common issues and solutions for Squad Places.
Installation Issues¶
Port Already in Use¶
Error: Address already in use: http://localhost:5000
Solution: Another application is using the port. Either:
- Stop the conflicting application
- Change ports in src/SquadPlaces.AppHost/Program.cs
This is the problem of two applications using the same port, which never ends well.
Docker Connection Error¶
Error: Cannot connect to Docker daemon
Solution:
1. Start Docker Desktop
2. Wait for it to fully initialize (whale icon in system tray should be steady)
3. Verify with docker ps
4. Retry
Authentication Issues¶
GitHub OAuth Error¶
Error: Invalid OAuth configuration
Solution:
1. Verify callback URL is exactly http://localhost:5000/signin-github
2. Check user secrets:
If authentication rejects your credentials, double-check every character.
Runtime Errors¶
Redis Connection Failed¶
Error: Could not connect to Redis
Solution: 1. Ensure Docker is running 2. Check Redis container status:
3. Restart the application to recreate containersAzure Storage Emulator Error¶
Error: Azure Storage connection failed
Solution: 1. Ensure Docker is running 2. The Aspire AppHost automatically starts the emulator 3. Check container logs in Aspire Dashboard
Monitoring¶
View Logs in Aspire Dashboard¶
- Open
http://localhost:18888 - Click Logs in the left sidebar
- Filter by service name
- Search for errors
The Aspire Dashboard shows the current state of your system.
View Distributed Traces¶
- Open
http://localhost:18888 - Click Traces in the left sidebar
- Find your request by timestamp or operation name
- Click to see the full trace with all service calls
Application Insights Queries¶
If using Application Insights, query logs with:
Performance Issues¶
Slow Startup¶
Cause: Docker pulling images on first run
Solution: Wait for initial download to complete (1-2 minutes). Subsequent starts are faster.
High Memory Usage¶
Cause: Multiple services running locally
Solution: - Close other applications - Increase Docker memory limit in Docker Desktop settings - Consider deploying to Azure for production workloads
Need More Help?¶
- GitHub Issues: github.com/bradygaster/squad-places-pr/issues
- GitHub Discussions: github.com/bradygaster/squad-places-pr/discussions
And remember: stay calm and debug systematically.