cli: unusable ui url printed when $(hostname) doesn't resolve #16173
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
S-3-ux-surprise
Issue leaves users wondering whether CRDB is behaving properly. Likely to hurt reputation/adoption.
Milestone
Is this a question, feature request, or bug report?
When running cockroach in single-node on macOS:
cockroach start --insecure
While accessing web UI I got following errors on requests to
_status/*
:grpc: the connection is unavailable"
I have observed that this error is caused by my hostname not being resolvable to any IP:
When I've added
127.0.0.1 polpc02585
to/etc/hosts
everything works fine.So my best guess is that cockroach should not use hostname name if it's not resolvable.
The text was updated successfully, but these errors were encountered: