Skip to content
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

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

Open
Veer20211 opened this issue Nov 26, 2021 · 0 comments
Open

Comments

@Veer20211
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant