We are updating to CloudSolrClient, And the kotlin code as below
val builder = CloudSolrClient.Builder(listOf(zkHosts), Optional.empty())
val solrClient = builder.build()
solrClient.defaultCollection = collectionName
return solrClient
Error message as follows:
*2021-11-26 16:50:18,853 [qtp1895479349-41] INFO TRACKING_LOGGER -
2021-11-26 16:50:18,902 [call-ev-search-0] ERROR o.a.s.c.s.impl.CloudSolrClient - Request to collection [betty-evaluate-bundles] failed due to (0) javax.net.ssl.SSLPeerUnverifiedException: Certificate for doesn't match any of the subject alternative names: [..io, xyzhost.io], retry=0 commError=false errorCode=0
2021-11-26 16:50:18,902 [call-ev-search-0] INFO o.a.s.c.s.impl.CloudSolrClient - request was not communication error it seems**
Any help on how to fix this would be more helpful and appreciated.
We are updating to CloudSolrClient, And the kotlin code as below
Error message as follows: *2021-11-26 16:50:18,853 [qtp1895479349-41] INFO TRACKING_LOGGER - 2021-11-26 16:50:18,902 [call-ev-search-0] ERROR o.a.s.c.s.impl.CloudSolrClient - Request to collection [betty-evaluate-bundles] failed due to (0) javax.net.ssl.SSLPeerUnverifiedException: Certificate for doesn't match any of the subject alternative names: [ ..io, xyzhost.io], retry=0 commError=false errorCode=0
2021-11-26 16:50:18,902 [call-ev-search-0] INFO o.a.s.c.s.impl.CloudSolrClient - request was not communication error it seems**
Any help on how to fix this would be more helpful and appreciated.