cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Full Indexing throws RemoteSolrException in hybris version 1808

Former Member
0 Kudos
1,748

Experts, I am trying to run full indexing from Backoffice and getting an exception saying Error from server at https://localhost:8983/solr: Expected mime type application/octet-stream but got text/html. I have also attached the required logs here. This happens only when full indexing and not during update indexing. Before and After running the full indexing, the solr admin console (https://localhost:8983/solr) remains active. Though it shows no cores are available. I have the endpoint URL mapped to https and not to http and also can get through the basic auth that was enabled in Solr from the recent hybris releases.. link text Also I could see 2 questions similar to this in link text and in link text. But unfortunately could not figure out the issue..

I am pretty new the Solr search module in hybris and any help would greatly help.

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

arvind-kumar_avinash
Active Contributor

There seems to be some issue with authentication.

Starting with v6.6 security features are enabled by default when using the solrserver extension.

You can disable SSL by setting the following properties in local.properties:

 solrserver.instances.<instance name>.ssl.enabled=false
 solrserver.instances.<instance name>.ssl.keyStorePassword=
 solrserver.instances.<instance name>.ssl.trustStorePassword=
 solrserver.instances.<instance name>.zk.prop.urlScheme=http

e.g.

 solrserver.instances.default.ssl.enabled=false
 solrserver.instances.default.ssl.keyStorePassword=
 solrserver.instances.default.ssl.trustStorePassword=
 solrserver.instances.default.zk.prop.urlScheme=http

Please restart the server after setting the properties mentioned above and test again.

If it works, you can check further what is causing the authentication to fail.

Refer https://help.hybris.com/1811/hcd/21f689cf7c71485c9a45df03c74064e6.html and https://wiki.hybris.com/display/hybrisALF/Preparing+KeyStore+and+TrustStore+for+SAP+Hybris+Solr+Sear... for more information.

Former Member
0 Kudos

Hi, I have tried having the properties that you mentioned above in local.properties to disable SSL.. I end up in the same exception.. I also see that the default endpoint url for solr is http://localhost:8983/solr and not https://localhost:8983/solr .. That doesn't have any impact too.. I end up in the same exception as it is captured in the logs.txt attached above..

Former Member
0 Kudos

Hi Shrinath,

This exception seems to authentication problem, if you want to run on http,change default endpoint Url of Solr server configuration through back office node Facet Search Configurations.