Sunday, April 5, 2026 10:53:21 PM

Could not connect to Solr

9 years ago
#200 Quote
Today I installed your plugin Search Free Free (for NopC 3.6), installed the license and everything seems well.  I then realized I needed a Solr server, so I set one up in an Ubuntu VM.  I used the latest version available from Apache, 6.4.2.

I configured a new core (named nopc36test) and I'm able to connect to it from my NopCommerce server across from the internet.  I have my Solr server in my LAN and the NopC server is hosted on a dedicated server.

When I enter the URL for the Solr server and click the test connectivity button, I get "Could not connect to Solr".

The Solr url is http://solr.domainname.com:8983/solr/#/nopc36test (I have IP source restrictions so only my server can connect remotely) however this is not the problem as I am able to use a browser at the NopC server to connect to Solr and it works fine.

The Solr server URL in your documentation is in the format http://solr.domain.com:8983/solr/nopc36test (i.e. missing the /#/ subdirectory), can this be the problem?

Do you support Solr 6.4.2?
0
9 years ago
#201 Quote
I just did another test from the Search Core Admin page, I clicked the check core connectivity again and got the same error, however I ran netstat to verify it was connectiing and it is, but will responds that it cannot so it must be the version or something else internally.

netstat -nao

TCP    XXX.XXX.XXX.XXX:55109    XXX.XXX.XXX.XXX:8983      ESTABLISHED     4500

* in the line above 4500 is the process id of the IIS Worker process
0
9 years ago
#202 Quote
Hello Sir,

As I look into your problem

Your solr core URL like :-  http://solr.domain.com:8983/solr/nopc36test

Please also refer this link http://www.nopaccelerate.com/wiki/install-and-configure-solr-5-0-to-use-with-nopaccelerate/

If you have any query than please let me know we are here for your help.

Thanks,
Kalpesh
0
9 years ago
#203 Quote
I don't understand your response.

My Solr url contains the # subdirectory; I configured it exactly as you suggested in your documentation, but it is not working.

I've cleared the cache, restarted the application and even restarted the website, but it will not connect.
0
9 years ago
#205 Quote
Hello Christopher,

If every thing should be configure right than you need to refer below link.

http://www.nopaccelerate.com/wiki/docs/common-issues/#q1

May be this link is useful to you.

Let me know if you get same issue.

Thanks,
Kalpesh Boghara
0
7 years ago
#257 Quote
Hello,

did any one fix this issue? i am also struck not getting the right answer for it.

i have followed each and every step given in the site and using 6.4.2
0
7 years ago
#261 Quote
Same issue here, could not fix it.
0