watch

Diagnostic `nanook::tui::watch`

Summary

watcher failed to subscribe

Help

verify the admin endpoint is reachable and the agent is running

Details

When this fires

TuiError::Watch wraps a ControlError from neg.watcher.watch() in crates/nanook-tui/src/lib.rs::Tui::session. It means the negotiated admin client could not open the /watch WebSocket subscription: the server refused the upgrade, the unix socket rejected the handshake, or auth was rejected. You see it as the splash screen flipping to "retrying in Ns (..)" with the underlying error rendered next to the spinner.

What to check

Confirm the [admin] block is enabled and check enabled, addr, and socket. If authorized / authorized_keys is set, your client identity must be trusted, generate one with nanook keygen and add the pubkey. With TLS on, confirm admin.cert / admin.key match what the client trusts.

nanook ctl ping