On 4/4/23 00:11, Andrei Minin wrote:
  protected SolrClient getSolrClient(String baseUrl) {
     return new 
Http2SolrClient.Builder(baseUrl).withHttpClient(httpClient).build();
   }

That's not good.  This patch would fix it:

https://paste.elyograg.org/view/456026f5

A similar patch would be needed for HttpClusterStateProvider.

Until we can get this done, can you try building the client using the ZK cluster info instead of URLs? I suspect that might work, and if it doesn't, we'll need to fix that too.

For your other issue you mentioned ... if you were trying to use Http2SolrClient to talk to a Solr URL using https and getting an exception about a missing SSL context, that problem has been fixed in SolrJ 9.2.0. There is a workaround for earlier 9.x releases.

Thanks,
Shawn

Reply via email to