cancel
Showing results for 
Search instead for 
Did you mean: 

solr admin page connection refused after upgrading to 9.5.0 and sap cx to 2211.27

superpalmi
Explorer
627

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:

SolrCore Initialization Failures
  • core: error
Please check your logs for more information
Permission failure
Your user does not have the necessary role(s) to perform this action.
This is my output for
ps aux | grep solr
user 3063323 4.1 8.7 5496772 703256 pts/6 Sl 16:01 0:35 /home/user/.sdkman/candidates/java/current/bin/java -server -Xms512m -Xmx512m -XX:+UseG1GC -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=250 -XX:+AlwaysPreTouch -Xlog:gc*:file=/home/user/project-sap-commerce/core-customize/hybris/log/solr/instances/default/solr_gc.log:time,uptime:filecount=9,filesize=20M -Dsolr.jetty.inetaccess.includes= -Dsolr.jetty.inetaccess.excludes= -Dsolr.log.dir=/home/user/project-sap-commerce/core-customize/hybris/log/solr/instances/default -Djetty.port=8983 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Dhost=localhost -Duser.timezone=UTC -XX:-OmitStackTraceInFastThrow -XX:+CrashOnOutOfMemoryError -XX:ErrorFile=/home/user/project-sap-commerce/core-customize/hybris/log/solr/instances/default/jvm_crash_%p.log -Djetty.home=/home/user/project-sap-commerce/core-customize/hybris/bin/modules/search-and-navigation/solrserver/resources/solr/9.5/server/server -Dsolr.solr.home=/home/user/project-sap-commerce/core-customize/hybris/config/solr/instances/default -Dsolr.install.dir=/home/user/project-sap-commerce/core-customize/hybris/bin/modules/search-and-navigation/solrserver/resources/solr/9.5/server -Dsolr.install.symDir=/home/user/project-sap-commerce/core-customize/hybris/bin/modules/search-and-navigation/solrserver/resources/solr/9.5/server -Dsolr.default.confdir=/home/user/project-sap-commerce/core-customize/hybris/bin/modules/search-and-navigation/solrserver/resources/solr/9.5/server/server/solr/configsets/_default/conf -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dlog4j.configurationFile=/home/user/project-sap-commerce/core-customize/hybris/config/solr/instances/default/log4j2.xml -Xss256k -Dsolr.data.home=/home/user/project-sap-commerce/core-customize/hybris/data/solr/instances/default -Dsolr.httpclient.builder.factory=org.apache.solr.client.solrj.impl.PreemptiveBasicAuthClientBuilderFactory -Dbasicauth=solradmin:admin123 -XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put -DdisableAdminUI=false -DzkACLProvider=org.apache.solr.common.cloud.DefaultZkACLProvider -DzkCredentialsProvider=org.apache.solr.common.cloud.DefaultZkCredentialsProvider -DzkCredentialsInjector=org.apache.solr.common.cloud.DefaultZkCredentialsInjector -Dsolr.log.muteconsole -jar start.jar --module=http --module=gzip
user 3081580 0.0 0.0 4028 2124 pts/6 S+ 16:15 0:00 grep --color=auto solr
 
Maybe i mismatched the exact installation directory or something about security.json? Do you know what is the problem? Please note that I'm using windows 11 with WSL.
Thank you for your time.
 
geffchang
Active Contributor
0 Kudos
Have you tried deleting existing indexes from Solr and running a full indexing via Backoffice?
ChrisAr
Explorer
0 Kudos

This has been a problem for some time. Not just since 2211.27 or solr version 9.5.0.
After much trial and error, my colleagues and I decided to install a browser directly in the WSL in order to access solr directly from there.

ChrisAr
Explorer
0 Kudos

.

View Entire Topic
superpalmi
Explorer
0 Kudos

Hi @geffchang yes I did it and the indexing worked normally, I also tried to create a new core via curl and it seemed to respond correctly, the only thing is that I cannot log to https://localhost:8983/solr/#/login anymore, maybe version 9.5 has some changes in the way to log in? 

I also tried ant stopSolrServer, deleteSolrInstance and restarted it again but it didn't solve the issue, the server is up and running but i cannot log into the solr admin page.

 

 

geffchang
Active Contributor
0 Kudos

@superpalmi Have you tried https://localhost:8983/ only?

superpalmi
Explorer
0 Kudos
hi @geffchang yes, it still responds ERR_CONNECTION_CLOSED, maybe this could be a firewall issue? the server is started via WSL and Chrome is accessing it via windows