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 > >