Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running on k8s; connection error #339

Open
justinrush opened this issue Apr 8, 2021 · 0 comments
Open

running on k8s; connection error #339

justinrush opened this issue Apr 8, 2021 · 0 comments

Comments

@justinrush
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant