Question
Would you expect that network names could be used for addresses within Canton remote configuration files? Or do those have to be IP addresses?
Example
My remote configuration fails if I use the network name for the address
field:
canton.remote-domains.gameshow {
admin-api {
address="node_domain"
port="5019"
}
public-api {
address = "node_domain"
port = "5018"
transport-security = false
}
}
By fails I mean that within the Canton Console I cannot check the health of the node from my remote machine.
@ domain_gameshow.health.status
java.lang.IllegalArgumentException:
Invalid host or port: node_domain 5019
If I exit the Canton Console, ping -c 3 node_domain
, copy-and-paste the IP address into my static remote configuration, then…
My remote configuration succeeds if I use the IP address for the address:
canton.remote-domains.domain_gameshow {
admin-api {
# address = "node_domain"
address = "192.168.32.4"
port = "5019"
}
public-api {
# address = "node_domain"
address = "192.168.32.4"
port = "5018"
transport-security = false
}
}
By succeeds I mean that I can check the health of the remote domain node.
@ domain_gameshow.health.status
res1: com.digitalasset.canton.health.admin.data.NodeStatus
[com.digitalasset.canton.health.admin.data.DomainStatus] =
Domain id: domain_gameshow::122071...8ce5e9
Uptime: 20m 42.475901s
Ports:
admin: 5019
public: 5018
Connected Participants: None
Sequencer: SequencerHealthStatus(isActive = true)