Hi,
FYI
As part of are upgrade to 1.6 we have decided to try have the separate
solr server again.
I set the connectionTimeout to 5000ms (5s) and this has worked well with
no connection timeouts occurring. I did find you that if you need to set
this higher (ie >20s) then you will also need to increase the Timeout of
the Tomcat server hosting the Solr instance as it's default value seems
to be 20s
However though I've also had a handful of Read time outs!
2015-08-27 00:04:49 ERROR (AbstractFaultChainInitiatorObserver:101) -
Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault:
org.apache.solr.client.solrj.SolrServerException:
java.net.SocketTimeoutException: Read timed out
at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:133)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
It seems the socket read timeout as set by SetSoTimeout is 1000ms,
hopefully increasing this to 5000ms well stop any more timeout occurrences.
Regards
James
On 19/02/15 07:51, Kristof Keppens wrote:
> I've set it to 1000 for now, and it seems that the errors are gone now,
> will need to wait a bit longer to be sure if this fixes the problem though.
>
> Thanks for the help,
>
> Kristof
>
> On 18-02-15 17:10, Karen Dolan wrote:
>> Kristof,
>>
>> If the setting is in milliseconds, which I think it is, 1000=1second.
>> Depending on your network, that might need to be higher.
>>
>> Best of luck,
>> Karen
>>
>>
>> On Feb 18, 2015, at 2:50 AM, Kristof Keppens <
kri...@inuits.eu
>> <mailto:
kri...@inuits.eu>> wrote:
>>
>>>> +1 for that. We explicitly mention in the installation docs that this
>>>> is a supported configuration, and if it's broken because the Solr
>>>> connector assumes that we're dealing with an internal connection then we
>>>> should fix it.
>>>>
>>>> G
>>> That would be great, for now I can change that value in the
>>> SolrServerFactory.java to something like 1000 and see if that fixes
>>> the problems, but if this value is so low at the moment because it
>>> assumes an internal connection it would be great to be able to
>>> configure it through a config file.
>>
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
matterhorn-use...@opencast.org
>> <mailto:
matterhorn-use...@opencast.org>.
> <mailto:
matterhorn-use...@opencast.org>.