Repository navigation
Troubleshooting
The app lost the companion and is retrying on its own, through every address in the pairing. Commands you sent wait and are sent again once it reconnects.
- Check that the PC is on and the companion is running. On the PC,
http://127.0.0.1:9487/healthanswers while it runs. - Check that the phone is on the same network as the address in the pairing, or that your tunnel or Tailscale is up.
- Restarting the companion is fine: the phone reconnects and gets a full update.
The app stopped trying because the companion refused it. Common causes:
| Cause | Fix |
|---|---|
| No access token stored on the phone, or the wrong one (close code 4001) | Enter the token with Connect host: see Pairing (app 0.1.0 also needs a restart after it; later versions reconnect at once). Check Profile, Security & device: Host token should say Stored in keystore. |
| The phone was revoked on the PC (4003) | Pair again with a new QR code, if the phone should have access. |
| The pairing offer had expired (over 5 minutes) or was already used | Print a new QR code with --pair and pair again. |
| The PC's companion was reinstalled or its data folder deleted | Pair again. |
| App and companion speak different protocol versions (4002) | Update both to the latest release. |
-
The companion listens on loopback only unless told otherwise. For a phone on your network it must listen on your LAN: the setup script does this (
bind0.0.0.0). By hand:--bind 0.0.0.0 --endpoint ws://<lan-ip>:8787. -
A non-loopback bind requires a token; the companion refuses to start without one, and the token must be at least 32 characters.
-
Windows Firewall may block port 8787. The setup script adds a rule when run as administrator. Otherwise, in an administrator PowerShell:
New-NetFirewallRule -DisplayName 'CHERNOBYL companion' -Direction Inbound -Protocol TCP -LocalPort 8787 -Action Allow -Profile Private -Program "$env:LOCALAPPDATA\Programs\CHERNOBYL\chernobyl-companion.exe"
The rule covers Private networks. If Windows treats your Wi-Fi as Public, the phone cannot connect.
Beyond loopback a token alone is not enough: the phone must complete the encrypted handshake from pairing. Pair the phone with a QR code from --pair.
The companion is not code-signed, so SmartScreen warns on first run. Check the checksum, then click More info and Run anyway, or unblock the file in its Properties.
-
"No companion exe at ...": pass
-Exewith the path to the downloaded companion. -
"Workspace folder does not exist": every
-Workspacesfolder must exist. -
"The companion did not come up": run the installed exe in a terminal to see why:
& "$env:LOCALAPPDATA\Programs\CHERNOBYL\chernobyl-companion.exe". - "No LAN IPv4 address with a default gateway found": the PC needs a network connection with a gateway for the QR address.
-
A warning that
claude(oragy) is not on PATH: install that agent and sign in once before you start sessions. -
"Tunnel check failed": run ngrok once in a terminal to see why. Run
ngrok config add-authtokenfirst if you have not.
Drive roots, your user-profile folder and any folder that contains the CHERNOBYL data folder are refused. For Claude Code a bad folder leaves the entry without driven sessions; for Codex a bad folder stops the companion from starting. Pick a project folder instead.
- Sign in to the agent on the PC once (
claude,codex login, oragy). - Check that the folder is in the agent's
workspacesincompanion.json. - Codex: leave
binaryout. The companion findscodex.exeon PATH or in the Codex app's install; the npmcodex.cmdshim is refused. - Antigravity runs commands through PowerShell found on PATH. A companion started with a PATH that lacks
WindowsPowerShell\v1.0makes every approved command fail. - A Claude Code session written in the last 2 minutes on the PC is not resumed from the phone; you can fork it instead.
A plain opencode run "..." starts its own private server, so the phone sees it only at the companion's next check (within 15 seconds) and does not stream it. Run it through the server the companion watches:
opencode run --attach http://127.0.0.1:4096 "..."See Notifications and background. Alerts stop while the connection is down, after you swipe the app away from recent apps, and after a phone restart until you open the app.
Older autostart entries did this. Run --install-autostart again: it now starts the companion with --background, without a window.
A backup restored on another PC cannot use the old pairing keys, because Windows protects them for that PC and user. Install the companion on the new PC and pair the phone again.
Look at the companion's health on the PC (http://127.0.0.1:9487/health and /adapters, loopback only), or open an issue on GitHub. Never paste your token, pairing payload or control key into an issue.
CHERNOBYL is free software under the GNU General Public License v3.0, made by N&D Co. Read more on the CHERNOBYL project page.
Get started
Use it
- Sessions
- Approvals
- Plans and audit
- Notifications and background
- Remote access
- Android 4.4 tablet client
Keep it safe
Help