guild-operators icon indicating copy to clipboard operation
guild-operators copied to clipboard

EKG_HOST does not accept resolvable hostnames

Open TrevorBenson opened this issue 1 year ago • 1 comments

Describe the bug The test for EKG_HOST is to validate an IPv4 address. When using containers / kubernetes with separate pods for node and cncli setting the name of the node service as EKG_HOST, which is resolvable, resulting in Not a valid IP format set for EKG host, please check env file!

To Reproduce Steps to reproduce the behavior:

  1. Define EKG_HOST as hostname that resolves to IPv4, for example EKG_HOST=localhost
  2. Run cncli.sh leaderlog
  3. See error

Expected behavior Resolvable names should not cause errors.

Version:

  • OS: Debian
  • Product version: CNTools 13.2.2
  • Cardano Node version: 9.2.1
  • Network you're connecting to: 2022-10-25T00:00:00Z

TrevorBenson avatar Oct 19 '24 17:10 TrevorBenson