Hi, 
This error is an indication that the DSpace backend is **unable to access** 
Solr.  This will mean that OAI-PMH will not work because it requires usage 
of a Solr index.  It also would likely mean that your User Interface won't 
work as it also relies on Solr.
If you are still seeing this error, you should double check your Solr 
configurations are correct, and see if you are able to index into Solr 
using other scripts (like "./dspace index-discovery").  Your DSpace backend 
*must* be able to connect to Solr, but Solr itself does not need to be 
publicly available (it can be hidden behind a firewall or similar).  But, 
you also should check to see if there's a firewall or similar blocking 
access between your DSpace backend and the Solr installation.

Tim

On Tuesday, August 27, 2024 at 9:52:56 AM UTC-5 jorge....@udb.edu.sv wrote:

> I even tried changing the solr to the correct one 
> http://150.136.129.10:8983/solr
>
> but the same error occurs 
>
> El martes, 27 de agosto de 2024 a las 8:37:18 UTC-6, Jorge Alberto Bonilla 
> Castaneda escribió:
>
>> I think this could be the error:
>>
>> root@biblio:/dspace/bin# ./dspace oai import > /dev/null
>> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: 
>> Error from server at http://localhost:8983/solr/oai: Expected mime type 
>> application/octet-stream but got text/html. <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
>> <title>Error 404 Not Found</title>
>> </head>
>> <body><h2>HTTP ERROR 404 Not Found</h2>
>> <table>
>> <tr><th>URI:</th><td>/solr/oai/select</td></tr>
>> <tr><th>STATUS:</th><td>404</td></tr>
>> <tr><th>MESSAGE:</th><td>Not Found</td></tr>
>> <tr><th>SERVLET:</th><td>default</td></tr>
>> </table>
>>
>> </body>
>> </html>
>>
>>         at 
>> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:635)
>>         at 
>> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266)
>>         at 
>> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
>>         at 
>> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214)
>>         at 
>> org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1003)
>>         at 
>> org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1018)
>>         at 
>> org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:37)
>>         at org.dspace.xoai.app.XOAI.index(XOAI.java:165)
>>         at org.dspace.xoai.app.XOAI.main(XOAI.java:627)
>>         at 
>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> Method)
>>         at 
>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>         at 
>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
>>         at 
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
>> root@biblio:/dspace/bin# 
>>
>> El martes, 27 de agosto de 2024 a las 7:47:41 UTC-6, Jorge Alberto 
>> Bonilla Castaneda escribió:
>>
>>> Hello
>>>
>>> in my dspace implementation I have a problem with OAI , although 
>>> identity does not generate errors : 
>>> https://rd.udb.edu.sv/server/oai/request?verb=Identify
>>> neither sets nor metadata formats
>>> https://rd.udb.edu.sv/server/oai/request?verb=ListSets
>>> https://rd.udb.edu.sv/server/oai/request?verb=ListMetadataFormats
>>>
>>> if I get error Records and identifiers
>>>
>>> https://rd.udb.edu.sv/server/oai/request?verb=ListRecords&metadataPrefix=oai_dc
>>>
>>> https://rd.udb.edu.sv/server/oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc
>>>
>>> could someone help me to know what could be going wrong?
>>>
>>> Translated with DeepL.com (free version)
>>>
>>

-- 
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 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/8be76a22-0469-4369-ae42-6c8f68580be0n%40googlegroups.com.

Reply via email to