Cotal TypeScript packages
    Preparing search index...

    Type Alias PreflightFailure

    PreflightFailure:
        | "unreachable"
        | "registry-creds-rejected"
        | "registry-open-now-auth"
        | "creds-rejected"
        | "open-wants-auth"
        | "stale-auth"
        | "tls-unsupported"
        | "auth-unsupported"
        | "jetstream-unsupported"
        | "non-nats-listener"
        | "tls-trust"
        | "slow-link"
        | "broker-stopped"
        | "address-held"

    The ways a preflight fails. Each also carries whether the target OWNS its registry entry (→ prune): fromRegistry means the server+mode came from a registry record (incl. a local-recorded project matched by root), so a definitive failure is a stale-entry signal.

    Type Declaration

    • "unreachable"
    • "registry-creds-rejected"
    • "registry-open-now-auth"
    • "creds-rejected"
    • "open-wants-auth"
    • "stale-auth"
    • "tls-unsupported"

      The listener answered but does not offer the required TLS. Its unauthenticated greeting cannot establish mesh identity or justify deleting a registration.

    • "auth-unsupported"
    • "jetstream-unsupported"
    • "non-nats-listener"
    • "tls-trust"

      A TLS-required NATS listener still greets (INFO.tls_required) but the TLS probe could not complete the handshake — typically a private CA without NODE_EXTRA_CA_CERTS. NEVER a prune signal: INFO is unauthenticated shape evidence, not peer identity; conservatively keep the record and repair client trust rather than re-register.

    • "slow-link"

      The credentialed probe (and its confirm re-probe) ran out of their own budget before the dial concluded — no refusal, no INFO evidence, nothing to diagnose about trust or the credential. NEVER a prune signal: a slow or jittery link is not a dead broker (#851). Distinct from tls-trust, whose evidence is an actual plaintext INFO greeting; a bare timeout has none, so it must not borrow that verdict's CA guidance.

    • "broker-stopped"

      A stopped loopback listener with no evidence that it is another program. Not a prune signal.

    • "address-held"

      A broker answered at this record's address and refused the credentials, and another registered space names that same address, so the broker answering is that space's. NEVER a prune signal: the entry is not stale, its address is held, and deleting it is the destructive reading of a recoverable conflict. It also leaves the folder with no record of its own space, after which nothing there names the space its commands meant. Free the address or move this space.