Skip to content

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.

Before diving into specific issues, run these diagnostic commands to assess the health of your Bifrost deployment.

Terminal window
# Server health status
curl http://localhost:7082/api/v1/health
# Server detailed status
curl http://localhost:7082/api/v1/status
# Backend health
curl http://localhost:7082/api/v1/backends
# Active connections
curl http://localhost:7082/api/v1/stats

For detailed diagnostic information, enable debug logging:

logging:
level: debug
format: text # Human-readable output

Or via CLI flag:

Terminal window
bifrost-server -c config.yaml --log-level debug

Select the category that best matches your issue:

CategoryCommon Symptoms
Connection IssuesConnection refused, timeouts, proxy errors
PerformanceHigh latency, slow responses, resource usage
AuthenticationLogin failures, 407 errors, token issues
VPN & TunnelsTunnel failures, routing problems, DNS issues
Diagnostics & LogsLog analysis, debugging commands, metrics
FAQFrequently asked questions and quick answers

If your Bifrost deployment is completely unresponsive:

Terminal window
# Check if process is running
ps aux | grep bifrost
# Check systemd service status
systemctl status bifrost-server
# Check Docker container status
docker ps -a | grep bifrost
Terminal window
# Validate configuration file
bifrost-server validate -c config.yaml
# Check for YAML syntax errors
yamllint config.yaml
Terminal window
# Systemd logs
journalctl -u bifrost-server -n 100 --no-pager
# Docker logs
docker logs bifrost-server --tail 100
# File-based logs
tail -100 /var/log/bifrost/server.log
Terminal window
# Systemd
sudo systemctl restart bifrost-server
# Docker
docker restart bifrost-server
# Manual
pkill bifrost-server && bifrost-server -c config.yaml

If you cannot resolve your issue using this guide:

  1. Search existing issues - GitHub Issues
  2. Gather diagnostic information:
    • Bifrost version: bifrost-server version
    • Operating system and version
    • Configuration file (remove sensitive data)
    • Relevant log output
    • Steps to reproduce
  3. Open a new issue with the information above