Hi,
The important part of the error is badrpc/nodedown - the CLI could not connect to the server node to retrieve the information. If you are running the command locally on the same machine, then you may need to provide "-n node_name". For example, I have a node called "rabbit" running on my machine:
$ rabbitmq-diagnostics -n rabbit resolver_info
Asking node rabbit@mkuratczyk-a01 for its effective hostname resolver (inetrc) configuration...
Runtime Hostname Resolver (inetrc) Settings
Lookup order: native
Hosts file: /etc/hosts
Resolver conf file: /etc/resolv.conf
Cache size:
inetrc File Host Entries
(none)
If I try any other name, I get the same error as you:
$ rabbitmq-diagnostics -n rabbit-1 resolver_info
Asking node rabbit-1@mkuratczyk-a01 for its effective hostname resolver (inetrc) configuration...
Stack trace:
** (FunctionClauseError) no function clause matching in Access.get/3
(elixir 1.11.4) lib/access.ex:284: Access.get({:badrpc, :nodedown}, "lookup", nil)
"rabbit" is the default node name for the CLIs so in my case, I can skip "-n rabbit" and it still works.
Best,