Skip to content

Troubleshooting

artex-cc serve cannot reach PostgreSQL with the DSN you gave. Start PostgreSQL, or run docker compose up -d postgres, and check the DSN with:

Terminal window
artex-cc health --pg "postgres://localhost/ccartex"

.artex.json is missing from the data directory. Run artex-cc init first, or point --data at the directory where you ran it.

ARTEX_CREDENTIAL_KEY is set but is not valid hex or not 32 bytes. Unset it to skip encryption, or generate a valid key with openssl rand -hex 32. See Credential encryption.

HTTPS through the proxy fails with certificate errors

Section titled “HTTPS through the proxy fails with certificate errors”

The proxy CA is not trusted. Trust traffic/_ca/mitmproxy-ca-cert.pem using the instructions artex-cc init printed, or pass it to the tool directly (for example curl --cacert). See Proxy CA trust.

The eleven traffic_* tools and bind_finding_traffic are only registered when serve runs with --proxy. Add "--proxy", ":8788" to the MCP server args.

If another process already holds the proxy port (for example the Docker container’s main process), give the second process a throwaway port such as 127.0.0.1:0. It still registers the traffic tools and reads the same captured traffic.

Run the exact command and args from the client config in a terminal to see the error. Editors launched from a desktop menu often do not inherit your shell PATH, so use an absolute path for command. See MCP clients.

With --web (which the Docker image uses), /mcp requires Authorization: Bearer <token>. The token changes on every start; read the current one from mcp-config.json in the data directory:

Terminal window
docker compose exec artex cat /app/data/mcp-config.json

Claude repeats work or forgets what it did

Section titled “Claude repeats work or forgets what it did”

Make sure it calls graph_overview at the start of each planning cycle. Clients that do not read MCP resources (Zed, for example) never receive the artex://engagement workflow guide, so start the conversation with “call graph_overview”.

Run serve with --debug for verbose logs, and open an issue on GitHub with the output. For questions, use Discussions.