Troubleshooting
Start with matter doctor. It checks each part in order, gives a pass, warn or fail line,
and says the fix for each.
matter doctor
What it checks, in order:
- The install: this version, and whether the
matteron your PATH is this one. - The sign-in: your account or gateway key, and where it's kept.
- The gateway: reachable, and the models it serves you.
- The clock, against the gateway's: sign-in tokens go wrong when they're far apart.
- Your RunPod key: balance, and matter's pods.
- The local search daemon (RAG).
- Your MCP servers: each started and stopped (a project's: run
matter mcp testin it). - The command sandbox on this OS.
- The keyring: a value kept and read back. One that doesn't answer in 3 seconds (a locked keyring waiting on an unlock prompt) counts as unusable.
- Disk space for sessions.
It exits 1 when something fails; --json for scripts.
"secrets" says the keyring can't be read
Common over SSH, or for a daemon started at boot, with the keyring locked. Sign in on the desktop, or run
MATTER_KEYRING=off matter login here to keep the keys in files only you can read.
"rate-limited" on the shared GPUs
Each account has limits on the shared pool. Matter waits as long as the gateway says and tries again, saying so in one line. A wait longer than 10 minutes ends the turn with when to try again. Your own pods and servers have no such limits.
A command won't run in the sandbox
matter sandbox test says what the sandbox confines on this machine and what's missing (an older kernel
on Linux; on Windows 10, Windows Server and Windows 11 before 24H2 the sandbox is off by default, since git and cargo
can't open NUL inside it). See the
sandbox for allowing a folder, the network, or an environment variable.
The model repeats itself
A reply that starts repeating the same lines is stopped as it streams, and the agent is told to act or answer; a
second loop ends the turn ("stopped: the model kept repeating itself"). Every reply is also capped at
[agent] max_reply_tokens (16,384 by default). Try again, or rephrase the task.
Asking for help
matter doctor --bundle matter-doctor.zip
Writes a zip for support: the results, versions, your config files with every secret masked, and the daemon's last
200 log lines. No transcript goes in unless you add one with --with-session <id>. It shows what it
will hold first and writes it when you say yes.