mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-10 14:28:43 +02:00
2.1 KiB
2.1 KiB
Troubleshooting
Debug by layer. Do not change random config before locating the failing layer.
Diagnostic Order
- Process: is the service alive, any panic?
- Network: port, HTTPS, reverse proxy, browser console.
- Auth: does
/api/auth/validatereturn 200? - Config: can
/api/configbe read and applied? - Model: does model test pass?
- Tools: do tool list and schemas look right?
- Database: is
data/writable, any lock? - Subsystem: KB, MCP, C2, WebShell minimal action.
Minimal Commands
lsof -i :8080
curl -k -I https://127.0.0.1:8080/
curl -k -I https://127.0.0.1:8080/static/logo.png
ls -lh data/
If a reverse proxy is involved, test both proxy address and upstream address.
Common Issues
Page inaccessible:
- wrong protocol, especially HTTPS vs HTTP;
- self-signed cert warning;
- port occupied;
- reverse proxy loop.
Login fails:
- wrong
auth.password; - config not applied/restarted;
- stale cookie;
- audit throttling repeated failures.
Model fails:
- wrong
base_urlpath; - invalid API key;
- model unavailable;
- reasoning fields unsupported by gateway. Try
openai.reasoning.mode: off.
Streaming stalls:
- proxy buffers SSE;
- model gateway timeout;
- context too large;
- browser/network interruption.
Tool fails:
- real command not installed;
- YAML schema wrong;
- HITL rejected or pending;
- timeout or no-output timeout.
Knowledge base empty:
knowledge.enabledfalse;- scan/index not run;
- embedding API failed;
- threshold or risk type too strict.
C2 returns 503:
- expected when
c2.enabled: false.
Common Misdiagnoses
- "Model is broken": HITL is waiting.
- "Tool missing": tool_search hides it from current context.
- "Knowledge base useless": index not rebuilt or risk type too narrow.
- "Config saved but ineffective": listener/TLS changes need restart.
- "Robot silent": platform callback or signature config wrong.
Issue Template
Version:
Startup method:
Access path:
Relevant config:
Steps:
Expected:
Actual:
Server logs:
Browser console:
API response: