I'm using this docker-compose to test my application locally.
I'm having troubles connecting to zookeeper using a Solrj cloud client.
The application is trying to connect to localhost:2181' to get a list of the active solr instances back.
However I see the following error message in the console and the application fails to connect :
zoo1 | 2020-06-12 03:19:28,304 [myid:1] - WARN [NIOWorkerThread`-5:NIOServerCnxn@370] - Exception causing close of session 0x0: ZooKeeperServer not running
Leader election seem to occur normally before that.
The same approach of requesting the list of active solr servers from zookeeper works properly in a k8s cluster (quite a different setup from the docker-compose).
Could it be a missing configuration/setting in the docker-compose? What am I missing?
Hi,
I'm using this docker-compose to test my application locally.
I'm having troubles connecting to zookeeper using a Solrj cloud client.
The application is trying to connect to
localhost:2181'
to get a list of the active solr instances back.However I see the following error message in the console and the application fails to connect :
Leader election seem to occur normally before that.
The same approach of requesting the list of active solr servers from zookeeper works properly in a k8s cluster (quite a different setup from the docker-compose).
Could it be a missing configuration/setting in the docker-compose? What am I missing?