on 2018 Jun 18 6:15 PM
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:
Request clarification before answering.
Change property to solrserver.instances.default.autostart=true and restart the server. It should work after that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manohar,
Please try using the URL "https://127.0.0.1:8983/solr" in the Solr indexing configuration.
Regards, Avees
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.