0

I have the following exception when running the Solr search index. It was running till 23000 records. After that its getting failed and got the following exception.

Job started: Index_Update_IndexName=xxx_publishweb|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SolrNet.Exceptions.SolrConnectionException: The operation has timed out ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse() at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request) at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable1 parameters) --- End of inner exception stack trace --- at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable1 parameters) at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s) at SolrNet.Commands.OptimizeCommand.Execute(ISolrConnection connection)
at SolrNet.Impl.SolrBasicServer1.SendAndParseHeader(ISolrCommand cmd) at Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex.PerformRebuild(Boolean resetIndex, Boolean optimizeOnComplete, IndexingOptions indexingOptions, CancellationToken cancellationToken) at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args) at (Object , Object[] ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)

at Sitecore.Jobs.Job.ThreadEntry(Object state)

It will be greatfull, if anybody can give any lead to fix this issue.

  • Can you increase this value to: <setting name="ContentSearch.Solr.ConnectionTimeout" value="1000000" /> – Vlad Iobagiu Jun 30 '18 at 20:42
  • Which version of Sitecore and Solr are you using? – Ashish Bansal Jul 1 '18 at 8:36
  • We have already set maximum connection timeout and Sitecore version is 8.2 Update 2 and solr is 5.4 – user2332873 Jul 1 '18 at 15:33
  • Not sure, but I have sorted timeout issue while installing sitecore 9 installation by increasing the zookeeper timout of solr. that was in solr 6.6.2 – Sitecore Sam Jul 1 '18 at 17:25
  • also check this sitecore.stackexchange.com/questions/12597/… – Sitecore Sam Jul 1 '18 at 17:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.