Troubleshooting
Overview
This guide covers common issues and their solutions when using SecureBaseline Cloud.
Navigation
This guide is accessible from any system page via the help menu.
Connection Issues
Cannot Connect to Host
Symptoms: Host shows offline, SSH connection fails
Solutions:
- Verify host is running and reachable
- Check SSH service is running:
systemctl status sshd - Verify firewall allows SSH:
sudo ufw statusorsudo firewall-cmd --list-all - Test connection manually:
ssh user@host - Check SSH credential is correct
- Verify SSH port is correct (default: 22)
SSH Authentication Failed
Symptoms: Permission denied, authentication failure
Solutions:
- Verify username is correct
- For password auth: confirm password is correct
- For key auth: verify public key is in
~/.ssh/authorized_keys - Check SSH config allows this authentication method
- Verify user has shell access
- Check
/var/log/auth.logfor details
Host Key Verification Failed
Symptoms: Host key mismatch error
Solutions:
- If host was reinstalled, clear old key
- Verify you’re connecting to correct server
- Check for man-in-the-middle concerns
Scanning Issues
Scan Stuck in Pending
Symptoms: Scan never starts, stays in pending state
Solutions:
- Verify worker service is running
- Check Redis connection
- Review worker logs for errors
- Restart worker service if needed
Scan Failed
Symptoms: Scan shows failed status
Solutions:
- Check SSH connectivity to host
- Verify sudo permissions for scan user
- Check disk space on target host
- Review scan error message
- Ensure OpenSCAP is accessible
Low Compliance Score
Symptoms: Score lower than expected
Solutions:
- Review failed rules
- Check if profile matches host type
- Verify system wasn’t recently installed
- Run hardening and rescan
- Document false positives
Missing Scan Results
Symptoms: Scan completed but no results shown
Solutions:
- Refresh the page
- Check scan status is “completed”
- Verify database connectivity
- Review API logs for errors
Hardening Issues
Job Stuck in Queue
Symptoms: Job never starts executing
Solutions:
- Check worker service status
- Verify Redis connectivity
- Check worker concurrency setting
- Review worker logs
- Restart worker if needed
Hardening Failed
Symptoms: Job shows failed status
Solutions:
- Review Ansible output for errors
- Use AI diagnosis feature
- Common causes:
- SSH connection lost
- Sudo permission denied
- Package repository unavailable
- Disk space full
- Fix the issue and retry
Services Down After Hardening
Symptoms: Application or service stops working
Solutions:
- Check service status:
systemctl status <service> - Review journal:
journalctl -u <service> - Identify which hardening rule affected it
- Rollback if needed (restore from backup)
- Document exception for future
SSH Locked Out
Symptoms: Cannot SSH after hardening
Solutions:
- Use console access (cloud provider console)
- Boot into recovery mode
- Restore SSH configuration:
# Common fixes sed -i 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config systemctl restart sshd - Consider excluding SSH rules
Schedule Issues
Schedule Not Running
Symptoms: Scheduled jobs don’t execute
Solutions:
- Verify schedule is enabled
- Check cron expression is valid
- Verify scheduler service is running
- Check server time/timezone
- Review scheduler logs
Wrong Execution Time
Symptoms: Jobs run at unexpected times
Solutions:
- Verify cron expression
- Check server timezone
- Cron uses server local time
- Test with simpler expression
UI Issues
Page Not Loading
Symptoms: Blank page or loading forever
Solutions:
- Refresh the page
- Clear browser cache
- Try different browser
- Check browser console for errors
- Verify API service is running
Data Not Updating
Symptoms: Stale data displayed
Solutions:
- Click refresh button
- Check auto-refresh setting
- Verify network connectivity
- Clear browser cache
Export Not Working
Symptoms: CSV/JSON download fails
Solutions:
- Check popup blocker
- Try different browser
- Check browser downloads folder
- Verify data exists to export
Authentication Issues
Cannot Login
Symptoms: Login fails with valid credentials
Solutions:
- Verify email and password
- Check account is active
- Try password reset
- Clear browser cookies
- Check API service status
Session Expired
Symptoms: Suddenly logged out
Solutions:
- Login again
- Check token expiration settings
- Verify time sync between client and server
- Review authentication logs
Performance Issues
Slow API Response
Symptoms: Pages load slowly
Solutions:
- Check server resource usage
- Review database performance
- Check network latency
- Adjust rate limiting if needed
- Scale resources if necessary
Jobs Processing Slowly
Symptoms: Jobs take too long
Solutions:
- Check worker concurrency
- Review resource usage
- Check network to managed hosts
- Consider scaling workers
AI Issues
AI Not Responding
Symptoms: Chat or diagnosis fails
Solutions:
- Verify AI configuration is active
- Test configuration connection
- Check API key validity
- Verify Yandex Cloud access
- Review API limits
Poor AI Responses
Symptoms: Unhelpful or incorrect answers
Solutions:
- Rephrase question clearly
- Provide more context
- Try different model
- Adjust temperature setting
Getting Help
Collect Information
Before requesting support, gather:
- Error messages (screenshots)
- Browser console errors
- API logs (if accessible)
- Steps to reproduce
- Environment details
Log Locations
| Component | Log Location |
|---|---|
| API | Container logs: docker logs haas-api |
| Worker | Container logs: docker logs haas-worker |
| Frontend | Browser console |
| Database | PostgreSQL logs |
Health Checks
Verify services:
# API health
curl http://localhost:8080/healthz
# Readiness
curl http://localhost:8080/readyz
# Liveness
curl http://localhost:8080/livezReporting Issues
When reporting issues:
- Describe the problem clearly
- Include error messages
- Provide steps to reproduce
- Note expected vs actual behavior
- Include environment details