on 2024 Sep 05 3:41 PM
Hi,
I recently upgraded my Local Sap Commerce Cloud version from 2211.21 to 2211.27 and consequently had to upgrade my local solr configuration to 9.5.0 following this kba https://me.sap.com/notes/0003424311 and upgraded the configurations in this page and this page. Now indexes and facets seems work correctly but i still cannot access to https://localhost:8983/solr/#/login anymore, as Chrome returns me ERR_CONNECTION_CLOSED error (I also tried with other browsers) without opening the page. It seems like my local instance is not running but when I try to curl my login form curl http://localhost:8983/solr/ I get an html page stating this:
Request clarification before answering.
This happens because solr only allows access from 127.0.0.1 (its own machine), where your case, you installed it on WSL and tried to access it from Windows, so it counts as remote access.
to resolve this, I usually just edit the bin/solr file (for Linux), and add these lines on top:
SOLR_HOST=0.0.0.0
SOLR_JETTY_HOST=0.0.0.0
After that, you just need to restart the solr and it will be able to be accessed from Windows.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. That worked for me.
In my case, I had to edit the file under the following path:
sap-commerce\core-customize\hybris\bin\modules\search-and-navigation\solrserver\resources\solr\9.5\server\bin\solr.in.sh
User | Count |
---|---|
21 | |
16 | |
3 | |
1 | |
1 | |
1 | |
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.