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
Solr 8.11.1 - Didn't get any collection's state from zookeeper #584
Comments
we tried to connect the SolrNet cloud with Zookeeper, the connection established with the ZKHost and getting the child nodes but while getting the collection state from the Zookeeper getting issue as 'Didn't get any collection state from the Zookeeper '. The below code we are using to get the collection state from the zookeeper. We didn't find any documentation related to this issue with SOLRNET cloud, if any document is there to resolve this issue please let us know. thank you..! |
We configure a cloud-based Solr 8.11.1 with three nodes.
We also turned on basic authentication on Solr.
If we connect directly with one of the nodes all works fine.
If we logon via zookeper to take advantage of load balancing the state is connected so the connection is fine.
But If we try a search we get the error "Didn't get any collection's state from zookeeper".
We didn't find any documentation on zookeper with basic authentication.
Below the c# sample code we use to connect to zookeper.
await Startup.InitAsync(new SolrCloudStateProvider("solrn1.cloud.net:2181,solrn2.cloud.net:2181,solrn3.cloud.net:2181"), "collection01");
var solrCloudMode = ServiceLocator.Current.GetInstance<ISolrOperations>();
var results = solrCloudMode.Query(new SolrQueryByField("Field1", "Value"));
The text was updated successfully, but these errors were encountered: