0

From the log (set as "error"):

SearchApiException while optimizing Solr server local solr server: "0" Status: Request failed: request timed out in SearchApiSolrConnection->checkResponse() (line 541 of /var/www/domainname/sites/all/modules/contrib/search_api_solr/includes/solr_connection.inc).

What does this error message mean?

3
  • Is your solr server up and running?
    – arpitr
    Sep 29 '16 at 11:34
  • Yes. Every 15 minutes 1000 new items are being indexed. So usually the log message every 15 min is: Indexed 1000 items for index ITEM NAME. But then this came up instead. It's not a warning or a notice, it's a "real" error.
    – Raf A.
    Sep 29 '16 at 11:37
  • Does this stackoverflow post help?
    – Jimmy Ko
    Sep 29 '16 at 11:40
1

The error means exactly what it says:

Request failed: request timed out

The connection between your Drupal server and Solr server timed out.

If the servers are geographically far from one another, you might consider moving them closer together to reduce latency. Your Solr or Drupal server may also need more resources.

Both are things you'll need to incrementally test (preferably in an identical staging environment) until you've worked out where the bottleneck is and how you can overcome it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.