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

Getting solr error while doing Full Indexing.

Former Member
11,767

Dear Experts,

while doing indexing am facing the below solr error, and below are the properties from local.properties. any input will solve the issue is helpful..

solrserver.instances.default.autostart=false solrserver.instances.default.mode=standalone solrserver.instances.default.hostname=localhost solrserver.instances.default.port=8983 solrserver.instances.default.memory=512m

ERROR [Thread-146] (000001JM) [SolrStandaloneSearchProvider] org.apache.solr.client.solrj.SolrServerException: Server refused connection at: https://localhost:8983/solr

ERROR [Thread-146] (000001JM) [BackofficeIndexerStrategy] Executing indexer worker as an admin user failed:

de.hybris.platform.solrfacetsearch.indexer.exceptions.IndexerException: de.hybris.platform.solrfacetsearch.solr.exceptions.SolrServiceException: Could not check index status: index=master_backoffice_backoffice_product_flip, nodes=[https://localhost:8983/solr]

     at de.hybris.platform.solrfacetsearch.indexer.listeners.IndexerOperationListener.afterPrepareContext(IndexerOperationListener.java:97) ~[solrfacetsearchserver.jar:?]
     at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerContextFactory.executeAfterPrepareListeners(DefaultIndexerContextFactory.java:168) ~[solrfacetsearchserver.jar:?]
     at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerContextFactory.prepareContext(DefaultIndexerContextFactory.java:97) ~[solrfacetsearchserver.jar:?]
     at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.doExecute(AbstractIndexerStrategy.java:156) ~[solrfacetsearchserver.jar:?]
     at com.hybris.backoffice.solrsearch.indexer.impl.BackofficeIndexerStrategy.doExecuteAsAdmin(BackofficeIndexerStrategy.java:61) ~[backofficesolrsearchserver.jar:

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member

Change property to solrserver.instances.default.autostart=true and restart the server. It should work after that.

Former Member

Hi Manohar,

Please use : http://localhost:8983/solr as solr server url and before indexing just open : http://localhost:8983/solr , in the browser and see if solr server is accessible. Please start the SOLR server before accessing the URL.

Regards, Gaurav

Former Member
0 Kudos

HI Gaurav,

i tried using http by updating the end point url, isssue is not resolved.

Avees_Joseph
Newcomer
0 Kudos

Hi Manohar,

Please try using the URL "https://127.0.0.1:8983/solr" in the Solr indexing configuration. 

Regards, Avees

0 Kudos

If the Problem still, persists after above solutions try opening backoffice go to system>search and navigation > indexeroperationconfig the go to client configuration of your indexer profile and add the credentials there username : solrserver password server123 at both the locations (scroll down to see second location)