On 4/14/2016 4:40 AM, Novin Novin wrote:
> I'm having error
>
>  when sending solr doc
> mid15955728
> org.apache.solr.client.solrj.SolrServerException: Timeout occured
> while waiting response from server at:
> http://localhost.com:8983/solr/analysis

<snip>

> Caused by: java.net.SocketTimeoutException: Read timed out

You encountered a socket timeout.  This is a low-level TCP timeout. 
It's effectively an idle timeout -- no activity for X seconds and the
TCP connection is severed.

I believe the Jetty included with Solr has a socket timeout of 50
seconds configured.  You can also configure a socket timeout on the
HttpClient used by various SolrClient implementations.

The operating system (on either end of the connection) may also have a
default socket timeout configured, but I believe that these defaults are
normally measured in hours, not seconds.

Thanks,
Shawn

Reply via email to