cancel
Showing results for 
Search instead for 
Did you mean: 

​Mac - 1811 - "Server refused connection at: https://localhost:8983/solr" error

onat_guvenir
Explorer
0 Kudos

Hello everyone, I am new on Mac and my first hybris project installation on it.

When I starting server logs are displaying this message shows Solr started successfully:

INFO: Starting Solr servers ... Jan 27, 2021 5:24:11 PM de.hybris.platform.solr.controller.commands.StartSolrServerCommand getSolrServerStatus 
INFO: Checking Solr server status for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE]
Jan 27, 2021 5:24:12 PM de.hybris.platform.solr.controller.commands.StartSolrServerCommand startSolrServer
INFO: Starting Solr server for instance [name: default, hostname: localhost, port: 8983, mode: STANDALONE]
The currently defined JAVA_HOME (/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home) refers to a location
where java was found but jstack was not found. Continuing.
HTTP/2 + SSL is not support in Java 8.
Configure Solr with HTTP/1.1 + SSL
Waiting up to 180 seconds to see Solr running on port 8983 [/] Started Solr server on port 8983 (pid=1960). Happy searching!

When showing to Solr process:

ps aux | grep solr

onat 2642 0.0 0.0 4268424 692 s001 S+ 7:27PM 0:00.00 grep solr

But Solr is not up status:

and server getting to much error like this:

de.hybris.platform.solrfacetsearch.indexer.exceptions.ExporterException: Server refused connection at: https://localhost:8983/solr
at de.hybris.platform.solrfacetsearch.indexer.impl.SolrServerExporter.exportToUpdateIndex(SolrServerExporter.java:94) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexer.indexItems(DefaultIndexer.java:220) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.executeIndexerOperation(DefaultIndexerBatchStrategy.java:252) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategy.execute(DefaultIndexerBatchStrategy.java:217) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.doRun(DefaultIndexerWorker.java:202) [solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorker.run(DefaultIndexerWorker.java:158) [solrfacetsearchserver.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_281]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_281]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_281]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_281]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_281]
Caused by: org.apache.solr.client.solrj.SolrServerException: Server refused connection at: https://localhost:8983/solr
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:688) ~[solr-solrj-8.6.3.jar:8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06]
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266) ~[solr-solrj-8.6.3.jar:8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06]
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248) ~[solr-solrj-8.6.3.jar:8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06]
at de.hybris.platform.solrfacetsearch.solr.impl.SolrStandaloneSearchProvider$ClusterSolrClient.request(SolrStandaloneSearchProvider.java:509) ~[solrfacetsearchserver.jar:?]
at de.hybris.platform.solrfacetsearch.solr.impl.CachedSolrClient.request(CachedSolrClient.java:71) ~[solrfacetsearchserver.jar:?]
at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214) ~[solr-solrj-8.6.3.jar:8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06]
at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) ~[solr-solrj-8.6.3.jar:8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06]
at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:71) ~[solr-solrj-8.6.3.jar:8.6.3 e001c2221812a0ba9e9378855040ce72f93eced4 - jasongerlowski - 2020-10-03 18:12:06]
at de.hybris.platform.solrfacetsearch.indexer.impl.SolrServerExporter.exportToUpdateIndex(SolrServerExporter.java:90) ~[solrfacetsearchserver.jar:?]
... 12 more 

How can I solve this error? Give me an idea, please.

Have a good day.

former_member30
Community Manager
Community Manager
0 Kudos

Hi and welcome to the SAP Community!

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members. For example, you can outline what steps you took to find answers (and why they weren't helpful), share screenshots of what you've seen/done, make sure you've applied the appropriate tags, and use a more descriptive subject line. The more details you provide, the more likely it is that members will be able to assist you.

Should you wish, you can revise your question by selecting Actions, then Edit (although once someone answers your question, you'll lose the ability to edit the question -- but if that happens, you can leave more details in a comment).

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Cheers,

Julia

SAP Community Moderator

Accepted Solutions (0)

Answers (0)