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

Facing issue while connecting solr-client with Zookeeper for Solr-Cloud #512

Open
satyendrahcl opened this issue Jun 8, 2023 · 0 comments

Comments

@satyendrahcl
Copy link

Hi All,

I have solr-cloud setup with external Zookeeper. I am connecting solr-cloud to the node service. All are deployed in the same GKE cluster.
I am using this solr-client package in our node services.

With this library I am able connect to solr cloud using solr-cluster I.P. and PORT but I want to connect it through zookeeper as its the ZooKeeper who is aware and keep track of the cluster state. While trying to connect it to zookeeper I passed the zookeeper service detail inside this client but i'm getting below error:

"message": "read ECONNRESET",
"stack": "Error: read ECONNRESET\n

image](https://github.com/lbdremy/solr-node-client/assets/95628264/00df09ec-e542-4efd-8953-d6bcbeed96f4%22%3E)

I have tried to connect to zookeeper in many ways. First I provided zookeeper DNS service name but it didn't work. Then I provided public I.P. of zookeeper cluster with the port but still got the above error whereas ZKE is deployed in same GKE cluster and it is reachable to other services.
We have java service as well which is successfully connected to zookeeper through its service DNS name.

Please guide me what should I do to run with ZooKeeper.

Thanks,
Satyendra

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