running on k8s; connection error
justinrush opened this issue · comments
justinrush commented
I'm trying to evaluate liftbridge in kubernetes by using this helm chart and this example go-code.
The liftbridge-external service in my cluster has an external IP address that is reachable from my workstation as noted by the protocol violation in my curl test:
invoke-webrequest -Method GET http://liftbridge-io.test.com:9292
invoke-webrequest : The server committed a protocol violation. Section=ResponseStatusLine
When I run this to connect to the cluster:
addrs := []string{"liftbridge-io.test.com:9292"}
client, err := lift.Connect(addrs)
if err != nil {
log.Fatalf("error getting client: %v", err)
}
defer client.Close()
I get this:
(the IP shown is the IP for the liftbridge-0 pod)
error starting consumer: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 10.96.3.25:9292: i/o timeout"
I tried specifying the host environment variable as well as in the config file to explicitly match the external hostname and I get the same result.
Is there another setting that I need to set?