Solr ERROR 404

90 views
Skip to first unread message

Juan López

unread,
May 21, 2024, 9:20:02 AM5/21/24
to DSpace Technical Support
Hi!

My Dspace 7.6.1 is having an odd behaviour on search results. 

When I first do a search of any subject, DSpace shows the results without any problems, however, if I refresh the page of that search result, the following error is thrown:solr-error.png
The dspace.log and catalina.out don't show any errors when I refresh.
The solr only shows this after a refresh: 
INFO  (qtp549496397-232) [   ] o.a.s.s.HttpSolrCall HttpSolrCall.init(http://localhost:8983/solr/search?spc.page=1)

It would be great if someone could help!

Juan.


DSpace Technical Support

unread,
May 21, 2024, 10:32:17 AM5/21/24
to DSpace Technical Support
Hi Juan,

If Solr is returning a 404 then it's likely either a configuration issue or Solr is somehow crashing on you in some way (but the latter is less likely if you don't see issues in Solr logs).  I'd recommend following the steps in our Troubleshooting Guide to see if there are additional errors that can be found in your browser's DevTools (Network tab) when you reproduce this error: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

Tim

Juan López

unread,
May 22, 2024, 9:52:06 AM5/22/24
to DSpace Technical Support
You're Right Tim!

It was a misconfiguration in Apache, it had a ReverseProxy for the route /search. I removed that line and everything works fine now.

thank you for your time!

Juan.

Reply all
Reply to author
Forward
0 new messages