Error in "URL_My_IRsolr/" (DSpace V6.3)

34 views
Skip to first unread message

Jose Texier

unread,
Sep 2, 2021, 11:23:06 PM9/2/21
to DSpace Technical Support
Hi, I have an error wanting to access the solr on my production server. I can access xmlui. On the development server I can access "/solr/" and "/xmlui/". My version es DSpace 6.3.

The error that I get is:
HTTP Status 403 - Forbidden
Type Status Report
Description The server understood the request but refuses to authorize it.

Any suggestions or what permission should I make and where?

Thanks.
JT

Mark H. Wood

unread,
Sep 8, 2021, 9:39:22 AM9/8/21
to dspac...@googlegroups.com
In v6, Solr runs with the LocalHostRestrictionFilter, which rejects
queries from any address other than 'localhost' (127.0.0.1, ::1). I
would check the DSpace configuration to see that 'solr.server' (in
config/local.cfg) is set to use a localhost address.

It is possible to disable the LocalHostRestrictionFilter if you need
to use a non-loopback address, but understand that Solr is not
designed to be exposed to the entire Internet. If you remove the
restriction, you should make certain that Solr is firewalled against
outside access.

<Parameter
description="Disable Restriction Filter"
override='false'
name='LocalHostRestrictionFilter.localhost'
value='false'
/>

--
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
signature.asc

Jose Texier

unread,
Sep 13, 2021, 2:20:35 PM9/13/21
to dspac...@googlegroups.com
Hello Mark.

Thank you very much and I completely understood your explanation.

So, I understood why I had that error (it's a security restriction that must exist on the production server).

Thanks again.
Regards.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/u3hIYAKQLSc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/YTi9BYxNG7kK5thJ%40IUPUI.Edu.


--
Jose Texier
Perfil en Google Académico
Ubuntu User number: # 33408
Reply all
Reply to author
Forward
0 new messages