discover/failed
discover failed for a reason with no more specific code.
The summary holds the underlying message. Without --save,
the CDB was not touched. With --save, each neighbor is
saved on its own, so neighbors saved before the failure stay in the CDB,
and the error does not list them.
Typical triggers
- An error with no code of its own while listening or decoding
(code). Socket errors have their own code,
mndp/listen-failed. - With
--save, a CDB fault: a wrong--cdb-password, or a CDB that cannot be written (code). Most of these arrive with their owncdb/*code.
Fix
- Run
centrs discoveragain; the listen window is short (--timeout, 15 seconds by default). - With
--save, check--cdb-fileand--cdb-password, and runcentrs devices listto see which neighbors were saved before the failure. Runningdiscover --saveagain skips the ones already saved. - In an agent sandbox, see
mndp/listen-failed.
If this looks wrong
Every recurring cause should have its own code. Open an issue with
the command, the --json envelope and
centrs --version. Remove passwords
(--password, --cdb-password) and other secrets
from both first.