Skip to content

Troubleshooting

Find your symptom below, or start with kndl doctor on the machine that misbehaves.

Terminal window
kndl doctor

It checks the install, the settings, the services and the Hub’s health, and prints ok, !! (a warning) or XX (a failure) for each, with what to do. To repair what it can, after asking:

Terminal window
kndl doctor --fix
WhereWhat it tells you
kndl statusWhether the services run, the Hub answers and the Runner is connected.
kndl logs hub, kndl logs runnerWhy a service won’t start, refused connections, sign-in failures, what happened to Sandboxes. Add -f to follow.
A Session’s transcriptA line each time its state changes, with why: The Session is Asleep: ….
Show log on a Session’s Starting… bannerThe output of its Build, Bootstrap script and Start script.
A Session’s Terminal tabClaude Code’s own screen.
https://<your Hub>/health{"status":"ok"} when the Hub is up.

Running kndl from a checkout? The logs are in the terminals running bun run hub and bun run runner, and the Hub’s settings in packages/hub/.env.local. See Develop kndl.

What you seeWhere
kndl: command not found right after installingInstall
kndl install: Could not clone …Install
kndl is not installed in …Install
onboard can't ask, so it needs --role hub|runner|both.Install
Onboard can’t create the GitHub AppInstall
A service won’t stay upInstall
On Linux, the services stop when you log outInstall
KVM access: … can't open /dev/kvm.Install
sudo: a terminal is required to read the passwordInstall
bun: command not found while buildingInstall
… is readable by others (mode 644); …Install
kndl update stays where it isInstall
kndl uninstall refuses the homeInstall
Failed to start server. Is port 7777 in use?Hub
The Hub's web UI isn't built.Hub
Dev login (KNDL_DEV_LOGIN) is refused: …Hub
The Hub refuses HUB_SECRETS_KEYHub
The secrets key is lostHub
… a Hub is running on …/hub.db. Stop it first.Hub
HubConfigError: … about GitHub settingsHub
A Session can’t start because of an MCP server InstallationHub
An MCP server’s tools fail in a running SessionHub
Couldn’t connect an OAuth InstallationHub
Enter a client for an OAuth InstallationHub
A Global Installation can’t be changedHub
Only the web UI at … may make this requestSigning in
Sign-in doesn’t stickSigning in
the sign-in expired or came from elsewhereSigning in
This Hub is invite-only.Signing in
GitHub refused the sign-in: …Signing in
No Sign in with GitHub buttonSigning in
Dev login only answers on loopbackSigning in
kndl login: the browser can’t connect to 127.0.0.1Signing in
That code isn't validSigning in
… doesn't accept this machine's CLI tokenSigning in
Hub connection: could not connect to …Runners
A Runner on another machine never shows upRunners
That pairing code can't be usedRunners
Runner: not connected to the Hub after 30 secondsRunners
The Hub doesn't accept this Runner's tokenRunners
Runner … has … that aren't Archived.Runners
this Runner needs an update, or behind the HubRunners
refuses: not on mainRunners
update failedRunners
The Hub turned this Runner away: …Runners
A Session is FrozenRunners
Unknown Sandbox for Session …Runners
The hub-link mod isn't builtRunners
Expected string at ["RUNNER_TOKEN"], from a checkoutDevelop kndl
Claude Code could not start on …Sessions
Claude Code exited with code …Sessions
A woken Session’s conversation starts overSessions
… Sessions can't start: … need valuesSessions
The Sandbox failed: …Sessions
Test build failedSessions
You don't have access to … on GitHubSessions
A Sensitive variable can’t be savedSessions
New Session asks for your Claude credential, or a Session sleeps for want of oneSessions
Only …, who started this Session, can drive itSessions
A Claude credential can’t be savedSessions
There is no such Session.Sessions
A Session doesn’t go to sleepSessions
Restart or Sleep now is refusedSessions
Environment changed staysSessions
git clone exited with 128GitHub and git
The GitHub App is not installed on …, or can't see itGitHub and git
The GitHub App is missing permissionsGitHub and git
git push or gh fails in a SessionGitHub and git
Claude pushed to the default branchGitHub and git

Search the issues, or open one with:

  • what you ran,
  • the exact message you saw,
  • the relevant lines of kndl logs hub and kndl logs runner,
  • the output of kndl status.

Remove tokens and keys first. kndl’s own tokens start with ch, a letter and _, such as chr_… or chc_….

kndl is an independent project. It is not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic, PBC. About kndl