You should use HTTP, not HTTPS to communicate with Solr on localhost.
There's really no reason not to, such communication doesn't leave your
server.

If you don't use an HTTP connector at all, you can define one and restrict
it only for localhost communication via firewall.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Fri, Sep 30, 2016 at 12:36 PM, Francisco Monreal <cota...@gmail.com>
wrote:

> Thanks, now it works but it appears other error:
>
> Server refused connection at: http://localhost:8080/solr/search
>
>
> We use port 443 for https connection. Therefore, after this error we have 
> changed the settings and we have put this:
>
> solr-statistics.cfg: server = https://localhost/solr/statistics
> oai.cfg: solr.url = https://localhost/solr/oai
> discovery.cfg: search.server = https://localhost/solr/search
>
> It is right?? Or we need to specify port 443 ??
>
>
>
>
> El viernes, 30 de septiembre de 2016, 10:40:58 (UTC+2), helix84 escribió:
>>
>> Hi Francisco,
>>
>> this indicates that DSpace can't connect to Solr. It expects a binary
>> response, but instead gets a HTML page with HTTP code 403 Forbidden.
>>
>> You can read about the localhost restriction here [1]. [2] describes how
>> to fix it.
>>
>>
>> [1] https://wiki.duraspace.org/display/DSPACE/Solr#Solr-ConnectingtoSolr
>> [2] https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#Techn
>> icalFAQ-ErrorsconnectingtoSolr
>>
>>
>> Regards,
>> ~~helix84
>>
>>
>> On Fri, Sep 30, 2016 at 10:23 AM, Francisco Monreal <cot...@gmail.com>
>> wrote:
>>
>>> Hello everyone
>>>
>>> We have just updated to version 5.4 and gives an error when starting the
>>> application. The trace error is enormous and end appears:
>>>
>>> *============================================= org.apache.solr
>>> .client.solrj.impl.HttpSolrServer $ RemoteSolrException: Expected mime type
>>> application / octet-stream but got text / html.*
>>> *HTTP Status 403 -*
>>> *type Status Report*
>>>
>>> *message*
>>>
>>> *Description:  Access to the specified resource has been forbidden.*
>>>
>>> *Apache Tomcat / 7.0.62*
>>>
>>> *at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod
>>> (HttpSolrServer.java:512) at
>>> org.apache.solr.client.solrj.impl.HttpSolrServer.request
>>> (HttpSolrServer.java:210) at org.apache
>>> .solr.client.solrj.impl.HttpSolrServer.request (HttpSolrServer.java:206) at
>>> ...*
>>>
>>>
>>>
>>> In the SOLR directory, when Tomcat start the directories  [dspace / solr
>>> / authority / data / index] (spellchecker and tlog and also OAI, statistics
>>> and search) are created and the segments.gen, segments_1 and write.lock
>>> files are generated. Then attempt to index by index-discovery but I get the
>>> same error. It is as if he could not access any resources SOLR. Can someone
>>> help me with this?
>>>
>>> Thanks in advance,
>>> A greeting
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to