Help
Troubleshooting
402, 429, untrusted folders and slow providers.
Start with the doctor
frontier doctor # from any shell
/doctor # inside the cockpitIt sends one tiny real chat request to the first model of every configured provider and reports each one.
| Result | What it means |
|---|---|
[PASS] | The key, the address and the model all work. |
[WARN] | It worked, with a caution such as a slow TLS handshake. |
[FAIL] with HTTP 401 | The key is wrong, expired or revoked. |
[FAIL] with HTTP 402 | The account has no credits. |
[FAIL] with HTTP 429 | A rate limit or a daily quota. |
[FAIL] unreachable | Network, firewall, or a typo in the base URL. |
| No provider configured | Run frontier setup, or add a key to ~/.frontier/.env. |
Common problems
| What you see | Why | What to do |
|---|---|---|
EALLOWREMOTE, "packages of type remote have been disabled", "refusing to fetch" when installing | npm 12 blocks installs from a web address by default. | Add --allow-remote=root to the install command, or download the .tgz and install the file. See Install and update. |
NO_PROVIDER | No key is configured. | frontier setup, or set OPENROUTER_API_KEY in ~/.frontier/.env. |
rejected the API key (HTTP 401) | The key is wrong or revoked. | Paste the current key into ~/.frontier/.env. Relief reads it at every start. |
| HTTP 402 from OpenRouter, even on free models | A negative or empty balance blocks even free models. | Check openrouter.ai/settings/credits. Relief rechecks after a few minutes. |
daily quota used up, resets ... | A free tier ran out for the day. | Wait for the reset time in the message, or add another provider. See Gemini. |
QUALITY_UNAVAILABLE | Models at your floor stayed busy. | Wait, or choose a lower tier when asked. It is never silent. See Tiers and the quality floor. |
NO_MODEL_AT_FLOOR | You have models, but none reaches your floor. | Lower routing.qualityFloor, as the message says. Free setups use economy. |
FOLDER_NOT_TRUSTED | A tool asked to work in a folder you have not trusted. | frontier trust inside the project. See Trusted folders. |
| A trusted folder asks again | ~/.frontier/trust.json is damaged. A damaged file fails closed. | Delete it and trust your folders again. |
Refused: .env holds secrets | You tried to load a secret file. | Intended. Secret files are never sent to a model. |
could not be reached even after reconnecting | The internet is down, or all reconnects failed. | Check your connection, then frontier doctor. |
| A slow provider keeps timing out | The default waits are 60 seconds for the first byte and 90 for a silent stream. | Raise FRONTIER_FIRST_BYTE_TIMEOUT_MS or FRONTIER_STREAM_IDLE_TIMEOUT_MS. See Environment variables. |
| A command stopped after 120000ms | The agent's command ran past the limit. | Raise FRONTIER_RUN_TIMEOUT_MS. |
'Get-ChildItem' is not recognized | The agent wrote PowerShell but commands run in cmd. | /shell powershell. See Shell lines. |
auto mode still asks before npm test | The folder is not trusted, the command is chained or unusual, or it is not a routine runner. | /trust yes for a folder you trust. An unusual command asking is intended. |
| You edited settings and nothing changed | Settings are read when Relief starts. | /memory reload, or /rs to restart in the same folder. |
| A shortcut does nothing | Your terminal swallows the key, or keybindings.json moved it. | /keys lists the current bindings. Every shortcut is also a command. |
| Strange symbols, or colour you do not want | A terminal without Unicode or colour, or a screen reader. | NO_COLOR=1, frontier --plain, or FRONTIER_ASCII=1. See Themes and plain mode. |
| Typed letters do not show up after Relief stopped | A full screen panel was killed in a way no program can catch. | Type reset and press Enter, or close the tab. |
... 35 more rows (type v to see everything) | The diff is longer than a screenful. | Type v and Enter, then answer y, n or a. |
MCP does not show up in Claude Code
claude mcp listIt should show frontier ... Connected. If it does not, add it again with claude mcp add --scope user frontier -- frontier mcp, and make sure frontier --version works in the same shell. If a tool answers FOLDER_NOT_TRUSTED, run frontier trust in that project. See Claude Code.
Look at the log
/logsPrints the last 20 events: which model was tried, how each failure was classified, reconnects, cooldown skips and token usage. The raw file is ~/.frontier/logs/frontier.log, rotated at 5 MB with three older files kept, and every line is redacted. FRONTIER_VERBOSE=1 shows every attempt on screen too.
If Relief itself crashes, it writes a redacted report to ~/.frontier/crashes/crash-<time>.txt and prints its path. It holds the error, a stack trace, versions and the platform, never a prompt or a file's contents. Include that file when you report the problem.
Still stuck
Send a redacted report with /feedback, which writes a bundle to ~/.frontier/feedback for you to look at before you share it, or use the feedback page. Nothing is sent for you.