Occasionally I receive following errors to log:
ERROR SearchSettings: Update batch could not be sent to service uri 'http://www.mysite.com/IndexingService/IndexingService.svc/update/?accesskey=mysite'. Message: 'The operation has timed out at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Search.RequestHandler.MakeHttpRequest(String url, NamedIndexingServiceElement namedIndexingServiceElement, String method, Stream postData, Action`1 responseHandler)
at EPiServer.Search.RequestHandler.SendRequest(SyndicationFeed feed, String namedIndexingService, Collection`1 ids)'
ERROR SearchSettings: Send batch for named index 'serviceName' failed. Items are left in queue.
The search works, at least partially, so I'm guessing that the error is due to a big file getting indexed which causes the timeout. Has anyone else experienced the same problem, and is increasing the timeout only solution to fix it?
Well, increasing the timeout didn't fix the errors.
<httpRuntime executionTimeout="900" maxQueryStringLength="65536" />
<requestLimits maxQueryString="65536" />
I think the issues is with our json-files that are used for integration. Is there any way to limit which files (by size or extension) should be indexed?
Decreasing dequeuePageSize seemst to work. The default value is 50, setting it to 5 fixed the issue.
In web.config change
<episerver.search active="true" dequeuePageSize="5">
Thank you Jouni for your monologue. dequeuePageSize tweaking helped me too!