SearchApiException while trying to index items on Node Index

Created on 2 February 2023, about 2 years ago
Updated 4 March 2023, almost 2 years ago

Hi everyone

Up on running Drupal cron the expected output is nodes should be get indexed and instead it was throwing an error

SearchApiException while trying to index items on Node Index: Could not index items since important pending server tasks could not be performed. in search_api_index_specific_items() (line 1787 of /var/www/html/docroot/modules/contrib/search_api/search_api.module).

SearchApiException while deleting items from server Solr 7: "0" Status: : php_network_getaddresses: getaddrinfo failed: Name or service not known in SearchApiSolrConnection->checkResponse() (line 546 of /var/www/html/docroot/modules/contrib/search_api_solr/includes/solr_connection.inc).

SearchApiException while indexing: "0" Status: Request failed: Connection refused in SearchApiSolrConnection->checkResponse() (line 546 of /var/www/html/docroot/modules/contrib/search_api_solr/includes/solr_connection.inc).

Disabling solr server didn't worked out.

When I index item manually, there's no problem. The problem is only when the cron job runs.

💬 Support request
Status

Postponed: needs info

Version

1.28

Component

General code

Created by

🇺🇸United States avattikonda Boston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @avattikonda
  • Status changed to Postponed: needs info almost 2 years ago
  • 🇦🇹Austria drunken monkey Vienna, Austria

    There are obviously connection problems with the Solr server during cron runs. Maybe something about the different environment of cron runs vs. normal page requests. However, I’m not sure how we can help you there? This is obviously a problem that’s very specific to your site – unless you have some indication why that wouldn’t be the case?

    PS: Please don’t set an issue’s priority to “Major” or “Critical” just because it affects you. Instead, please decide the priority according to the official documentation . (On the next page , you will also find information why “Needs work” was the wrong value for the Status field.)

Production build 0.71.5 2024