Skip to content

CloudSolrClient - Error while trying to connect and Request to collection  #337

@Veer20211

Description

@Veer20211

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 <solr0.solr.xyz.live5.zz.xx.xyzhost.io> 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions