Troubleshooting
Start with the failing service, not a cleanup command. Capture the symptom, check the relevant process, and change one thing at a time.
Establish a baseline
Section titled “Establish a baseline”For the complete Docker stack, run from the product repository root:
docker compose -f docker/docker-compose.app.yml --project-directory . psdocker compose -f docker/docker-compose.app.yml --project-directory . logs --tail=100curl --fail --show-error http://localhost:8080/api/healthcurl --fail --show-error http://localhost:8080/trading/healthUse your configured UI port if it is not 8080. Successful health responses
help establish which services are reachable; they do not guarantee that every
exchange, AI provider or user workflow is working.
For a host hybrid stack, check http://localhost:3000/api/health and
http://localhost:2000/health directly. Read the Angular, NestJS and Rust
terminal output separately.
The application does not start
Section titled “The application does not start”| Symptom | Check next |
|---|---|
| Compose reports a missing environment file | Both frontend/.env and backend/.env must exist |
| A host port is already allocated | Check existing containers/processes; change the app port rather than stopping unrelated services |
| The image build fails | Read the first failing build step; check network access and Docker disk space |
| Rust exits with a database error | Confirm SQL is running and the API’s POSTGRES_* values match it |
| The UI loads but API calls fail | Check NestJS health, then its Rust and PostgREST addresses |
To inspect Docker disk usage without deleting anything:
docker system dfDo not run volume cleanup as a general response to a build error. Follow Configuration for environment values and Deployment for startup options.
A table or column is missing
Section titled “A table or column is missing”An older database can survive an application update. The current initialization
SQL includes watchlist and alert market_type columns, but an older volume
may not. Restarting does not apply schema updates.
Back up the active database and review the schema difference. Use the
database upgrade guidance, not an
unqualified docker-clean command. A fresh disposable database can hide the
problem without recovering existing data.
Watchlists or alerts seem to have disappeared
Section titled “Watchlists or alerts seem to have disappeared”Check these boundaries in order:
- Runtime: did you move between the complete app, hybrid SQL and desktop? They do not share storage automatically.
- Volume: did
make docker-runrecreate a hybrid container without reattaching its old anonymous volume? - Session: are you comparing a browser session with the MCP client’s own anonymous Nest session?
See persistence and MCP sessions. Do not publish a session cookie while asking for help.
MCP connects but tools fail
Section titled “MCP connects but tools fail”- Missing or outdated tools: rebuild the binary and restart/reload the
client’s MCP server. Cached
tools/listresults do not refresh the binary. - Live feed or order book returns
null: a feed entry or subscription may not exist yet. This is a documented possibility, not necessarily a transport failure. - Alerts/watchlists fail: check
OT_NEST_URL, NestJS health, and session setup. - Live feeds, models or AI tools fail: check
OT_RUST_URL, Rust health, and the external service needed by that tool. - HTTP says “Session not found”: use an MCP client that performs initialization
and keeps the required connection/session alive. Separate ad-hoc
curlcalls do not implement the whole transport. - Hosted Inspector cannot connect: review
MCP_CORS_ENABLED=truefor that workflow and the browser/network constraints. CORS is not authentication.
Start with list_exchanges to check the client/tool connection independently
of live market data. Then test the required domain. See MCP tools.
AI output is missing or unexpected
Section titled “AI output is missing or unexpected”Verify the configured provider and model, its credentials or local service address, and the Rust service logs. Vision requests also need valid screenshot input. A healthy backend cannot guarantee provider availability or model quality.
compute_plan_levels is a fixed-percentage helper, not the AI plan-generation
action. Use the correct tool for the intended workflow. Treat generated output
as something to verify, not as investment advice.
Prepare a useful report
Section titled “Prepare a useful report”Include the application version or source revision, operating system, runtime (Docker/hybrid/Electron/Tauri), failing step, and a minimal reproduction. Include only redacted logs and configuration variable names, never live credentials, session cookies, or private records.
Use GitHub issues for ordinary bugs. Report sensitive vulnerabilities through the private security contact.