On Mon, Feb 17, 2020 at 05:28:04PM -0500, Jose Blanco wrote: > I'm getting this error: > > Caused by: org.dspace.discovery.SearchServiceException: Server refused > connection at: http://dev.deepblue.lib.umich.edu/solr/search > > > Do I need to do something to enable this connection?
I would check the value of solr.server in 'config/dspace.cfg' and the value of discovery.search.server in 'config/modules/discovery.cfg', and see whether 'LocalHostRestrictionFilter.localhost' is set 'false' in your Solr Context. By default, DSpace installs Solr with a filter that denies access except from the local host (127.0.0.1, ::1). An attempt to connect to that Solr instance at a public address, such as that of dev.deepblue.lib.umich.edu, would be rejected, because it requires the request to be *sent from* an address other than a loopback address. If this is the problem, then I would either reconfigure DSpace to contact Solr via 'localhost', or disable the filter and protect Solr from outside access by other means such as a host firewall or Tomcat's RemoteAddrValve. I do find it convenient to allow connections to development instances of Solr from a few other internal hosts. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/20200218143106.GC29367%40IUPUI.Edu.
signature.asc
Description: PGP signature