Troubleshooting

What each xlh doctor message means and what to do about it.

Run xlh doctor. It prints one line per check and, under each problem, what to do. Add --online to compare your clock with a web server; that server then sees your IP address, which is why it is not the default.

xlh doctor saysMeaningWhat to do
Node.js is too oldVersion 22 or newer is neededInstall Node.js 22
WSL 2 is not installed, or no distribution named "Ubuntu-22.04"Windows only: the verifier is a Linux programwsl --install -d Ubuntu-22.04, restart
The program "timeout" is missingmacOS, minimal Linuxbrew install coreutils, or install coreutils
No proof verifier was foundThe node would refuse to startxlh verifier install --from <file>
The path contains a spaceThe node refuses such a path for a proof programPut the file in a folder with a simple name, or set XLH_BIN_DIR
The file changed since it was installedThe verifier on disk is not the one you installedIf you did not replace it yourself, do not start the node; get it again from a source you trust
Not in the list of known buildsExpected today: no official builds existOnce releases exist, compare the SHA-256 with the published one
The verifier is built for proof image A, this chain uses BWrong verifier for this chainInstall the verifier that belongs to this chain
RISC0_DEV_MODE is setWith it, fake proofs would pass; every program refuses to runRemove that environment variable
Wallet prover not availableYou can run a node but cannot create transactions on this computerSee Using the wallet
Ports in use by another programAnother program has the portClose it, or change node.port or wallet.port in config.json in the data folder
Free disk spaceThe chain only growsFree space
Clock is behind or aheadBlocks carry a time; a wrong clock makes your node disagree with othersTurn on automatic time
Readable by other users (Linux, macOS)A key file is open to othersRun the chmod 600 command shown
Not available in this build yetThe option waits for other workNothing to do

Other things you may see#

  • xlh node start stops with "is not available yet". You used --seed, --p2p-port, --validator-key, --sync snapshot or --prune. Nothing was started. Remove the option.
  • The node takes long to become ready. It is checking every stored proof again. xlh node logs shows whether it is still working; --startup-timeout <seconds> waits longer.
  • A follower logs catch-up: fetch failed once at start. The block producer is not up yet. It retries.
  • xlh node stop ends programs at once. On Windows there is no gentler way for a background program. Each block is written and flushed before it is announced, and wallet files are replaced in one step, so this is the supported way to stop. A transaction being proved at that moment is lost, and the wallet shows its notes as reserved until they expire.