Have you double checked how ssl has been configured? I think this doc could help https://solr.apache.org/guide/6_6/enabling-ssl.html#EnablingSSL-SolrCloud
And double check the "clusterprop" urlScheme On Wed, Jul 21, 2021 at 11:01 AM Vincenzo D'Amore <v.dam...@gmail.com> wrote: > Sorry for being so rude, I was in a hurry and just a while after the mail > was sent I thought you weren't in the position to take a screenshot. > > > On Wed, Jul 21, 2021 at 10:41 AM Reej Nayagam <reej...@gmail.com> wrote: > >> Hi Sorry, >> My offic system doesn't have internet for security reasons. >> The issue is we have enabled ssl in solr and we try to get the >> clusterstate >> as below >> cloudsolrclient.getclusterstateprovider.getclusterstate() >> then using the clusterstate doccollection >> DocCollection dc = clusterstate.getCollection(collectionName) >> for(Slice slice:dc.getSlices()){ >> for(Replica replica:slice.getReplicas()){ >> replica.get("base_url") >> } >> } >> >> replica.get("base_url") -- returns a http url but what we have configured >> is a https url >> solr admin page we are able to access using https url and can see the >> clusterstatus with base_url having https node url >> Not sure how through java it is different >> >> >> *Thanks,* >> *Reej* >> >> >> On Wed, Jul 21, 2021 at 4:19 PM Vincenzo D'Amore <v.dam...@gmail.com> >> wrote: >> >> > your screenshots are unreadable, couldn't you copy and paste the text >> from >> > the screen? >> > >> > On Wed, Jul 21, 2021 at 9:18 AM Reej M <reej...@gmail.com> wrote: >> > >> >> Hi Team, >> >> >> >> We have enabled ssl. Solr version 8.8.2, zk - 3.6.3 >> >> When we try to get the base url using >> >> cloudsolrclient.getclusterstateprovider, it returns http url instead of >> >> HTTPS. >> >> Please find the screenshots while I debug, >> >> Code used >> >> >> >> From solr admin server - using >> >> /solr/admin/collection?action=CLUSTERSTATUS&wt=json return https as >> base url >> >> >> >> Kindly help to fix this. Thanks >> >> >> > >> > >> > -- >> > Vincenzo D'Amore >> > >> > >> > > > -- > Vincenzo D'Amore > > -- Vincenzo D'Amore