Troubleshooting Guide
Troubleshooting Guide
Section titled “Troubleshooting Guide”This comprehensive guide helps you diagnose and resolve issues with Bifrost Proxy. Use the quick diagnostics below to identify your issue, then navigate to the relevant section for detailed solutions.
Quick Diagnostics
Section titled “Quick Diagnostics”Before diving into specific issues, run these diagnostic commands to assess the health of your Bifrost deployment.
Check Service Health
Section titled “Check Service Health”# Server health statuscurl http://localhost:7082/api/v1/health
# Server detailed statuscurl http://localhost:7082/api/v1/status
# Backend healthcurl http://localhost:7082/api/v1/backends
# Active connectionscurl http://localhost:7082/api/v1/statsEnable Debug Logging
Section titled “Enable Debug Logging”For detailed diagnostic information, enable debug logging:
logging: level: debug format: text # Human-readable outputOr via CLI flag:
bifrost-server -c config.yaml --log-level debugIssue Categories
Section titled “Issue Categories”Select the category that best matches your issue:
| Category | Common Symptoms |
|---|---|
| Connection Issues | Connection refused, timeouts, proxy errors |
| Performance | High latency, slow responses, resource usage |
| Authentication | Login failures, 407 errors, token issues |
| VPN & Tunnels | Tunnel failures, routing problems, DNS issues |
| Diagnostics & Logs | Log analysis, debugging commands, metrics |
| FAQ | Frequently asked questions and quick answers |
Decision Tree
Section titled “Decision Tree”Emergency Recovery
Section titled “Emergency Recovery”If your Bifrost deployment is completely unresponsive:
1. Check Process Status
Section titled “1. Check Process Status”# Check if process is runningps aux | grep bifrost
# Check systemd service statussystemctl status bifrost-server
# Check Docker container statusdocker ps -a | grep bifrost2. Verify Configuration
Section titled “2. Verify Configuration”# Validate configuration filebifrost-server validate -c config.yaml
# Check for YAML syntax errorsyamllint config.yaml3. Review Recent Logs
Section titled “3. Review Recent Logs”# Systemd logsjournalctl -u bifrost-server -n 100 --no-pager
# Docker logsdocker logs bifrost-server --tail 100
# File-based logstail -100 /var/log/bifrost/server.log4. Restart Services
Section titled “4. Restart Services”# Systemdsudo systemctl restart bifrost-server
# Dockerdocker restart bifrost-server
# Manualpkill bifrost-server && bifrost-server -c config.yamlGetting Help
Section titled “Getting Help”If you cannot resolve your issue using this guide:
- Search existing issues - GitHub Issues
- Gather diagnostic information:
- Bifrost version:
bifrost-server version - Operating system and version
- Configuration file (remove sensitive data)
- Relevant log output
- Steps to reproduce
- Bifrost version:
- Open a new issue with the information above
Related Documentation
Section titled “Related Documentation”- Monitoring Guide - Set up Prometheus metrics and Grafana dashboards
- Security Guide - Security configuration and best practices
- CLI Reference - Command-line options and usage