Guide book · Chapter 12 of 12

Troubleshooting

Version 1.5 · November 7, 2026

Restore a disconnected bot, check setup problems, and find logs.

A bot is offline

A bot shows Offline once it's been silent for more than 5 minutes, unless it's Paused or needs Attention.

  1. Open Bots › Owned bots, then How to reconnect on the bot's row (or Reconnect or repair in its Details).
  2. Check the bot's computer and log, then run the doctor.
  3. Resume the same installation; an offline bot needs no new pairing code. Resume and retire shows how.
  • Paused is a choice, not a lost connection. Attention blocks new work, for example just after enabling a bot, or with an outdated Connector.
  • Without startup at login, a Mac runs the Connector only until logout. After the next login, run ~/.deskbot/start.command, or reinstall with --approve-startup (Windows: -ApproveStartup).
  • If fleet-status.json shows runtime_credentials_unavailable, the credential can't be read right now. Don't re-pair; the Connector retries.
  • If it shows runtime_credentials_invalid, the credential is missing or corrupt. Rerun the installer with --repair-invalid-credentials (Windows: -RepairInvalidCredentials). When it asks, paste a new pairing code from Bots › Add bot, one per bot.

A Call won't start

Deskfleet starts nothing and says why, where the Call was asked for. Three reasons come from this account's limits:

  • "This account has started 20 Calls today; the next one is possible at 2026-10-18 00:00 UTC." Every Call the account starts counts, from the Calls page, from chat (Phone control) or from the API, and the count starts again at 00:00 UTC. Usage › Calls today shows how many are left. The planned Starter package allows 20 a day and Pro allows 200; Account › Limits shows the current allowance. An account whose limit an operator raised can ask for more on that card, with Ask for more Calls a day; Deskfleet decides, and the answer shows there.
  • "The Call didn't start: this account's Calls today changed while it was starting. Start it again." A reset or a new limit landed at that moment, and nothing was started. Press Start call again.
  • "Mac mini Codex is waiting: this account allows 3 bots online." That bot is connected but past the account's current allowance, so it takes no work; it shows Waiting on Bots › Owned bots. Choose bots that show Online, or pause another bot to free a place.

Run the doctor

On Bots › Owned bots, Connection doctor › Run a diagnosis on the bot's computer shows the commands.

macOS (Terminal):

python3 ~/.deskbot/connector/deskbot_worker.py --config '<printed worker config path>' doctor

Windows (PowerShell):

python "$env:LOCALAPPDATA\Deskbot\deskbot_worker.py" --config "<printed worker config path>" doctor

Each bot's config path is listed in ~/.deskbot/fleet.json (Mac) or %LOCALAPPDATA%\Deskbot\fleet.json (Windows).

  • The doctor sends a probe heartbeat, which Deskfleet answers but doesn't count as the bot checking in, and takes no work. A bot shows Online only once its running service checks in.
  • Each check is marked [OK], [FAIL], [WARN] or [-]; In short: says what failed and what to do, and Next: gives advice.
  • A request that "didn't get through (network)" lost nothing: run the same command again. Setup already tries each request three times first. The one exception is a pairing code that "may have been used": get a new code for that bot; the next run asks only for it.
  • "Setup stopped before every bot was ready": the bots listed as running are kept and running. Run the same command again; it asks codes only for the bots listed as not yet paired.
  • doctor --json gives a machine-readable report for support. The doctor never shows tokens, credentials or proxy addresses.
  • A run by hand uses the shell's variables, not the service's, so results can differ.

Sign-in problems

Sign in to the coding tool on the computer where the bot runs. Setup does not check sign-in for every tool, so a passed setup check is not a universal sign-in confirmation. Use the coding-tool setup reference for tool-specific commands and checks.

On a Mac, a sign-in kept only in a shell variable doesn't count. With --driver auto, a signed-out tool is skipped; sign in, then run the installer again.

Networks that need a proxy

The Connector reaches Deskfleet through the computer's proxy settings, if any. The doctor's Network path line shows whether it found one.

  • On a Mac, the installer copies HTTPS_PROXY, HTTP_PROXY, ALL_PROXY and NO_PROXY from its shell into the service. Run every install and upgrade from a shell with the proxy set, or the service loses it.
  • A proxy with a user name or password isn't copied. Set it in each tool's settings.
  • Deskfleet never changes a route by itself. A failed route check stops setup before a pairing code is used.

Minimum versions

  • Python 3.11 or newer and Git. Windows 10 or newer, with Python available as python.
  • Coding-tool requirements vary. See the coding-tool setup reference for tool-specific minimum versions.
  • Deskfleet can require a newer Connector; an older one fails the doctor's Connector compatibility check. When a newer release is out, the bot's Details › Runtime › Worker version shows Update available. To update, run the installer again with the same account, installation folder and workspace.

Windows notes

  • Bots › Add bot builds the PowerShell command; run it from the extracted deskbot-worker folder. -Check tests the setup without installing or pairing anything.
  • The pairing-code prompt shows nothing while pasting. Paste once, then press Enter.
  • If bots aren't online within 45 seconds, the installer only warns; the supervisor keeps retrying.

Where the logs are

  • Each bot: ~/.deskbot/workers/<tool>/worker.log on a Mac, %LOCALAPPDATA%\Deskbot\workers\<tool>\deskbot-worker.log on Windows.
  • The whole computer: ~/.deskbot/supervisor.log or %LOCALAPPDATA%\Deskbot\deskbot-supervisor.log. Beside it, fleet-status.json lists each bot's state and last error.
  • Why a bot's last jobs failed: last-failure.log in the same folder as worker.log holds the newest 20 failures with their reason and the code that raised them. It stays on this computer and is never sent to Deskfleet.

Failure reasons

Why a bot didn't answer explains all 78 codes a failed job can report, and what can be done.

A failed job has no Retry button: ask again, or start a new Call.