MISP Handbook
繁中

Troubleshoot MISP by Layer

Narrow failures to containers, HTTP and login, API access, background jobs, or the data itself.

About 3 minLab MISP 2.5.53
In this chapter
After this chapter, you can

Identify the failing layer and run a targeted check before changing anything.

Find the failing layer first

Record the symptom, timestamp, version, and most recent change. Begin with read-only checks. The five layers below narrow the problem from containers to the contents of an intelligence response.

Layer 1 — containers are stopped or unhealthy

From the lab directory
docker compose ps
docker compose logs --tail 80 misp-core
docker compose logs --tail 40 db
docker stats --no-stream

Check that the Docker daemon is running and that you are in the correct directory and context. Look for the first unhealthy dependency. Check disk, memory, image architecture, and port conflicts.

A failing health probe can be a probe configuration issue. The lab originally used wget in an nginx image where it was unavailable. The recorded configuration uses the image’s curl instead.

Layer 2 — HTTP or sign-in fails

Check the local login route
curl -s -o /dev/null -w '%{http_code} %{redirect_url}\n' http://localhost:18081/users/login

Connection refusal points to a listener, port binding, or local runtime. A 502 or 504 indicates the proxy cannot get a timely response from core. A working form with a failed login warrants checking the initial credentials, session cookies, and CSRF token handling. For the documented lab, http-check.py verifies the whole login path.

Layer 3 — the API rejects a request or returns unexpected data

Check an Auth key already loaded in your shell
curl -s -H "Authorization: $MISP_KEY" -H "Accept: application/json" \
  http://localhost:18081/servers/getVersion
docker compose exec -T misp-core tail -n 40 /var/www/MISP/app/tmp/logs/error.log

For 401 or 403, check the header, role, key expiry, allowed IPs, and organization. For a 404, verify the endpoint and visibility. For HTTP 200 with an unexpected write result, inspect saved and errors, then query the target UUID.

Confirm the JSON shape, export format, and published, to_ids, time, and Warninglist filters. Review logs on the host and redact private fields before sharing.

Layer 4 — background jobs stop moving

Job state

Check for queued, running, and failed jobs. Compare the age of the oldest job with recent normal completion times.

Workers

Inspect the Workers page and check that the relevant queue has active processes.

Cache and modules

Verify Valkey connectivity, disk and memory, and the local misp-modules service if the job requires it.

Source or destination

Check an approved feed or sync peer separately. Confirm it is reachable and that filtering still permits the expected data.

Layer 5 — the service works but results differ

Check the Attribute category, type, IP direction, detection flag, and distribution. If a tag or Object is unavailable, verify the taxonomy is enabled and initialized, and that Object Templates and Galaxies have been loaded.

Review the import UUID and query the underlying Event. An empty result can also reflect a stricter Attribute scope, a missing publish step, a time filter, or a Warninglist exclusion. Compare a known included value and an excluded one.

Keep evidence while recovering

Capture a small sanitized log excerpt before restarting. Avoid resetting volumes, rotating the encryption key, or widening visibility as a diagnostic shortcut. Preserve the affected state and repair one layer at a time.

When asking for help, include the version, environment, exact reproduction steps, and observed result. MISP Docker issues · MISP core issues · MISP User Guide

Search the handbook