-
Notifications
You must be signed in to change notification settings - Fork 18
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
Subscriber issue w.r.t Golang client except 9292 none of the other ports are working. #65
Comments
Can you share your Liftbridge configuration? Also, are you running a single node or multiple Liftbridge nodes? |
Hi Tyler, i am using single node k8s cluster deployed in my mac. Currently liftbridge has only one replicaset so there is only one leader and no followers. Using the Helmchart which is adapted from ("pozetroninc/liftbridge-helm-chart#3") the only change here i made is replica count is set to 1. Also this issue is also seen if liftbridge is deployed as a binary with some other port say 9293, for that as well golang subscriber gives error as :
for binary the configuration used is:
if the port is changed to 9292 it works perfectly fine. Thanks |
The client is attempting to connect to port 9292 because this is the default port. Since # Explicitly specify the port to advertise
port: 9293 Or you can remove the See more on these configs here. |
Hi Tyler,
In the below golang code:
I am getting the error:
pc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 0.0.0.0:9292: connect: connection refused"
So as you can see from my source code the port used is 30276 (Which is the node port of my liftbridge microservice) but the subscriber is trying to connect 9292. (The publisher example is working perfectly fine, just subscriber is giving this issue). Also this issue is not seen in JAVA subscriber client.
So is this a bug or do i need to make any other configurations? Can you pls help me!
Thanks
Akshay
The text was updated successfully, but these errors were encountered: