invalid_addr

Diagnostic `nanook::cli::invalid_addr`

Summary

invalid address `{0}`

Help

expected host:port (e.g. 127.0.0.1:9091)

Details

When this fires

nanook check saw a host:port config field that doesn't parse as a SocketAddr. Today that's [admin].addr, validated through commands::addr::Anchored::parse. The diagnostic is span-anchored on your TOML so the underline points at the offending literal.

What to check

The value must be host:port, where host is an IP literal (IPv4 or bracketed IPv6) and port is a number. DNS names aren't accepted here, the listener binds to a literal address.

[admin]
addr = "127.0.0.1:9091"
# or
addr = "[::1]:9091"

If you don't want a TCP listener at all, leave addr = "" and use socket = "/run/nanook.sock" instead.