CanineHQ/canine · error
Private IP address detected for cluster type: #{connection.c
Error message
Private IP address detected for cluster type: #{connection.cluster.cluster_type} What it means
Error "Private IP address detected for cluster type: #{connection.cluster.cluster_type}" thrown in CanineHQ/canine.
Source
Thrown at app/services/dns/utils.rb:31
hostname = URI.parse(server_name).hostname
if ip_address?(hostname)
hostname
else
Resolv.getaddress(hostname)
end
end
def infer_expected_hostname(ingress, connection)
ingress.connect(connection)
hostname = ingress.hostname
# Only try to infer a public IP address if the cluster is a single node cluster (k3s, local_k3s)
if !connection.cluster.k8s? && hostname[:type] == :ip_address && private_ip?(hostname[:value])
public_ip = infer_public_ip(connection)
{ type: :ip_address, value: public_ip }
elsif hostname[:type] == :ip_address && private_ip?(hostname[:value])
raise "Private IP address detected for cluster type: #{connection.cluster.cluster_type}"
else
hostname
end
end
end
end
View on GitHub (pinned to ba4ee3968d)
When it happens
Trigger: Thrown at app/services/dns/utils.rb:31 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23).
Data as JSON: /api/errors/416a9c047b375cb9.
Report an issue: GitHub.