Common Errors and Fixes
This guide provides a quick reference for common log messages and errors you may encounter when running vLLM Semantic Router. Each section maps error patterns to their root causes and configuration fixes.
提示
Use the Quick Diagnostic Commands at the end of this page to quickly identify issues.
Configuration Loading Errors
Failed to create ExtProc server
Log Pattern:
Failed to create ExtProc server: <error>
Causes & Fixes:
| Cause | Fix |
|---|---|
| Invalid config path | Verify --config flag points to existing YAML file |
| YAML syntax error | Validate YAML with yq or online validator |
| Missing required fields | Check all required fields are present |
# Verify config path
./router --config /app/config/config.yaml
Failed to read config file
Log Pattern:
failed to read config file: <error>
Fixes:
- Verify file exists:
ls -la config/config.yaml - Check permissions:
chmod 644 config/config.yaml - Ensure path is absolute or correct relative path
See code: cmd/main.go.
Cache & Storage Errors
Milvus config path is required
Log Pattern:
milvus config path is required
Fix: Set backend_config_path when using Milvus backend:
semantic_cache:
enabled: true
backend_type: "milvus"
backend_config_path: "config/milvus.yaml" # ← Add this
Index does not exist and auto-creation is disabled
Log Pattern:
index <name> does not exist and auto-creation is disabled
Fix: Enable auto-creation in Redis/Milvus config:
# In config/redis.yaml
index:
auto_create: true # ← Enable this