Troubleshooting
Start with t3cm status. It prints the running service’s /healthz, and most
problems show up there:
| Field | Tells you |
|---|---|
version, uptimeSecs | Which build is running, and whether it restarted recently |
t3 | connected, origin, tokenExpiresAt and lastError for the T3 session |
tools | How many T3 tools the catalog holds |
watcher | lastPass, alive and intervalSecs for the workflow watcher |
runs | running, queued and max for sandbox runs |
store | The path of store.db |
upstreams | One object per configured upstream, with its state and lastError |
The service logs to:
| OS | Logs | Service state |
|---|---|---|
| Linux | journalctl --user -u t3-codemode | systemctl --user status t3-codemode |
| macOS | ~/Library/Logs/t3-codemode/t3cm.log, and launchd.log beside it for what the service writes to stderr | launchctl print gui/$(id -u)/com.ottoops.t3-codemode |
| Windows | %LOCALAPPDATA%\t3-codemode\logs\t3cm.log | Get-ScheduledTask t3-codemode | Get-ScheduledTaskInfo |
A log file rolls to t3cm.log.1 at start once it passes 10 MB. Set
RUST_LOG=debug in the service’s environment for more.
is t3cm serving on 127.0.0.1:47731?
t3cm status, exec or search could not reach the service. The message
goes on with the command that starts the service on your OS and where its logs
are.
- The service-state command in the table above shows whether it runs, and the
log shows why it stopped. On Windows a stopped task starts again within five
minutes unless it is disabled;
Enable-ScheduledTask t3-codemodeandStart-ScheduledTask t3-codemodebring it back now. servefails withbinding 127.0.0.1:47731when something else holds the port. Pick another with--portorT3CM_PORT, and register the MCP server with the same port.- A service on another port needs
--portorT3CM_PORTon the CLI too.
t3.connected is false
t3.lastError says why:
T3 Code is not running here: no readable .../server-runtime.json: start T3 Code. If T3 keeps its home somewhere other than~/.t3, setT3CODE_HOMEfor the service.no t3 binary found; set T3CM_T3_BIN: the service could not find thet3CLI it uses to mint pairing codes. SetT3CM_T3_BINto its path.`t3 ...` failed:: thet3CLI ran and failed. The rest of the message is its stderr.
If lastError is empty, the service log has the reason: a failed sign-in at
start goes to the log as T3 auth not ready yet. After fixing the cause, run
t3cm auth to sign in from your shell, with the service’s --state-dir or
T3CM_STATE_DIR if it uses one, then restart the service. It loads the saved
token from that state directory, or signs in again on its own. See
T3 sign-in for the whole flow.
A tool is missing from the catalog
- A new T3 tool. The catalog comes from T3’s
tools/list, refreshed every 10 minutes. Restart the service to pick it up sooner. - An upstream’s tools. Check the upstream’s
stateint3cm status.backoffmeans it failed to connect;lastErrorsays why andretryAtsays when it tries again.disabledmeansenabled: falsein the config. A tool thatallowleaves out, ordenynames, has no catalog entry at all. - The client’s tool list. Claude Code and Antigravity load MCP servers at
session start. A thread opened before you installed or re-registered
t3cmkeeps its old tool list until a new session starts.
Antigravity text generation is unavailable
T3 Code checks <profile>/config/mcp_config.json before using an Antigravity
profile for system text-generation tasks such as title generation, and disables
that role whenever mcpServers is non-empty. Antigravity agent threads still
run as normal. Pick another provider as T3’s system model, or remove t3cm
from mcpServers in ~/.t3/userdata/providers/antigravity/<hash>/config/mcp_config.json
when no other servers remain in that object if you want Antigravity for system
text generation.
t3cm is busy
t3cm is busy: N runs are in progress and none finished within M ms; retry shortly means other runs held every one of the maxConcurrentRuns slots for
runQueueMs. It is safe to retry. If it happens often, runs in
t3cm status shows the load; raise maxConcurrentRuns only with the memory
math on Configuration in mind.
A script is cut off
CPU budget exceeded: the script spent more thancpuBudgetMs(2 s) running JavaScript. Time waiting ont3,memorwfcalls does not count, so the cause is a loop over a large result. Filter earlier, or split the work across runs and keep the progress invars.timed out after N ms (timeout_ms): the wall clock ran out, usually waiting on a slow tool. Pass a largertimeout_ms, up tomaxTimeoutMs.varskeeps what a script set before a thrown error, but not what it set before a CPU or wall kill.
A call says target_required or “not running inside a T3 thread”
t3 calls reach T3 as the service’s own MCP client, so T3 cannot tell which
thread ran the script. The X-T3-Thread header tells t3cm who is calling, for
mem, vars and wf, but T3 never sees it. A T3 tool that defaults to “this
thread” or “this project” therefore needs an explicit target in every script:
pass allProjects: true, a projectId or a threadId.
... is denied by the t3-codemode deny list
The tool is on the config’s deny list, and the host refuses it however the
script calls it. Retrying will not help. Remove it from deny if scripts
should reach it.
The board answers 403
The board answers only on its own host and port: http://127.0.0.1:<port>/ or
http://localhost:<port>/, where <port> is 47731 unless you changed it. A proxy, another hostname, or a page on another
origin gets 403. POSTs from your own scripts also need the X-T3CM-CSRF token
embedded in the page.
t3cm update rolled back
t3cm update puts the old binary back when the restarted service stops, or does not report the new version on /healthz within 45 seconds.
The service log says why the new version did not start. If the release
changed the systemd unit, the message names the saved copy. Install it as the
update printed, then run t3cm update again. If the rollback fails too, the
error says which step failed; check the service state with the command it
names before you retry. To install a release by hand, download the installer
as Install shows and run it for that release:
bash install.sh --version vX.Y.Z, or on Windows
powershell -ExecutionPolicy Bypass -File install.ps1 -Version vX.Y.Z.
After an update with --no-restart, or one that found the service stopped,
nothing was restarted, so there is nothing to roll back. If the new version
misbehaves after you restart the service, run the command the update printed
to go back to t3cm.old.
the service runs ..., but this is ... means you ran a different t3cm than
the one the service runs. Run the installed one, which the message names.
another t3cm update is running means a second update started while one was
still going. Let the first one finish, then run it again if you still need to.
the service is running but nothing answers on 127.0.0.1:<port> means the
service serves another port, or it is up but not answering. Pass its port with
--port (or T3CM_PORT) so the update can check the restart. If the port is
right and the service is stuck, stop it with the command the message names
(systemctl --user stop t3-codemode.service, launchctl kill TERM on macOS, or
schtasks /End on Windows) and run t3cm update again. The update changed nothing.
a t3cm <version> answers on 127.0.0.1:<port>, but ... is t3cm <other> means
the service runs a different version than the binary on disk, usually after an
update with --no-restart. Restart the service with the command the message
names, so it runs the binary on disk, then run the update again. The update
changed nothing.
the service on 127.0.0.1:<port> still runs t3cm <old> comes from an update
that found t3cm current but the service behind, and could not restart it: you
passed --no-restart, or no systemd unit, launchd agent or scheduled task
manages the service. Restart it with the command the message names.
a t3cm <version> answers on 127.0.0.1:<port>, but that listener is not the service
(or could not tell whether that listener is the service) means an unmanaged
t3cm is listening on that port, or t3cm update could not confirm the service
owns it, so it left the service running. Stop that process, pass the service’s
port with --port (or T3CM_PORT), or restart the service with the command the
message names.
Still stuck
Search the issues, and open one
with the t3cm status output (secrets removed) and the steps that led there.
Report anything that looks like a security problem through the
security policy
instead.