Skip to content

Troubleshooting

Start with the failing service, not a cleanup command. Capture the symptom, check the relevant process, and change one thing at a time.

For the complete Docker stack, run from the product repository root:

Terminal · non-destructive diagnostics
docker compose -f docker/docker-compose.app.yml --project-directory . ps
docker compose -f docker/docker-compose.app.yml --project-directory . logs --tail=100
curl --fail --show-error http://localhost:8080/api/health
curl --fail --show-error http://localhost:8080/trading/health

Use 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.

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:

Terminal · inspect disk usage
docker system df

Do not run volume cleanup as a general response to a build error. Follow Configuration for environment values and Deployment for startup options.

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:

  1. Runtime: did you move between the complete app, hybrid SQL and desktop? They do not share storage automatically.
  2. Volume: did make docker-run recreate a hybrid container without reattaching its old anonymous volume?
  3. 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.

  • Missing or outdated tools: rebuild the binary and restart/reload the client’s MCP server. Cached tools/list results 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 curl calls do not implement the whole transport.
  • Hosted Inspector cannot connect: review MCP_CORS_ENABLED=true for 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.

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.

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.