Skip to Content
0
Jan 28, 2021 at 10:39 AM

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

251 Views Last edit Jan 28, 2021 at 06:21 AM 2 rev

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.

Attachments