AIRouter provides the following health monitoring and troubleshooting mechanisms:
- Service Status Check::
- visitshttp://localhost:8001/check_healthy
Check out the Health Screening Service.
- visitshttp://localhost:8002/check_healthy
Verify the key management service. - log analysis::
- Docker is deployed via thedocker-compose logs -f airouter-health-check
Tracking real-time logs.
- Direct Viewhealth_check.log
Error logs in the file. - Handling of common problems::
1. API key failure: inapi_keys_local.py
The system automatically switches when you update the key in the
2. Model unavailable: Check that the health monitor has blocked the failure model, or manually remove it from themodel_list
Remove.
3. Database connection failure: Acknowledgement.env
DB_PASSWORD, etc., in the
This answer comes from the articleAIRouter: Intelligent Routing Tool for Calling Multiple Models with Unified API InterfaceThe