Skip to content

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

@satyendrahcl

Description

@satyendrahcl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions