Page MenuHomePhabricator

PHP Warning: {"type":"error","message":"cirrussearch-backend-error","params":[]} [Called from Wikibase\Search\Elastic\EntitySearchElastic::getRankedSearchResults in /srv/mediawiki/php-1.35.0-wmf.37/extensions/WikibaseCirrusSearch/src/EntitySearchElastic.php at line 318]
Open, MediumPublic

Description

Error

MediaWiki version: 1.35.0-wmf.37

message
PHP Warning: {"type":"error","message":"cirrussearch-backend-error","params":[]} [Called from Wikibase\Search\Elastic\EntitySearchElastic::getRankedSearchResults in /srv/mediawiki/php-1.35.0-wmf.37/extensions/WikibaseCirrusSearch/src/EntitySearchElastic.php at line 318]

Impact

Low at the moment. Happened soon after promoting train to group1 a second time. Reporting this since it looks like a programming error to me and just in case it causes an explosion of error messages later, with more traffic.

Notes

Details

Request ID
5fba7368-0566-4131-9bfc-8579d5a623fd
Request URL
https://www.wikidata.org/w/api.php?action=wbsearchentities&format=json&language=en&search=vide
Stack Trace
exception.trace
#0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.35.0-wmf.37/includes/debug/MWDebug.php(393): trigger_error(string, integer)
#2 /srv/mediawiki/php-1.35.0-wmf.37/includes/debug/MWDebug.php(196): MWDebug::sendMessage(string, string, integer)
#3 /srv/mediawiki/php-1.35.0-wmf.37/includes/GlobalFunctions.php(1064): MWDebug::warning(string, integer, integer, string)
#4 /srv/mediawiki/php-1.35.0-wmf.37/extensions/WikibaseCirrusSearch/src/EntitySearchElastic.php(318): wfLogWarning(string)
#5 /srv/mediawiki/php-1.35.0-wmf.37/extensions/Wikibase/repo/includes/Api/CombinedEntitySearchHelper.php(52): Wikibase\Search\Elastic\EntitySearchElastic->getRankedSearchResults(string, string, string, integer, boolean)
#6 /srv/mediawiki/php-1.35.0-wmf.37/extensions/Wikibase/repo/includes/Api/TypeDispatchingEntitySearchHelper.php(55): Wikibase\Repo\Api\CombinedEntitySearchHelper->getRankedSearchResults(string, string, string, integer, boolean)
#7 /srv/mediawiki/php-1.35.0-wmf.37/extensions/Wikibase/repo/includes/Api/ConceptUriSearchHelper.php(36): Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper->getRankedSearchResults(string, string, string, integer, boolean)
#8 /srv/mediawiki/php-1.35.0-wmf.37/extensions/Wikibase/repo/includes/Api/SearchEntities.php(99): Wikibase\Repo\Api\ConceptUriSearchHelper->getRankedSearchResults(string, string, string, integer, boolean)
#9 /srv/mediawiki/php-1.35.0-wmf.37/extensions/Wikibase/repo/includes/Api/SearchEntities.php(196): Wikibase\Repo\Api\SearchEntities->getSearchEntries(array)
#10 /srv/mediawiki/php-1.35.0-wmf.37/includes/api/ApiMain.php(1585): Wikibase\Repo\Api\SearchEntities->execute()
#11 /srv/mediawiki/php-1.35.0-wmf.37/includes/api/ApiMain.php(525): ApiMain->executeAction()
#12 /srv/mediawiki/php-1.35.0-wmf.37/includes/api/ApiMain.php(496): ApiMain->executeActionWithErrorHandling()
#13 /srv/mediawiki/php-1.35.0-wmf.37/api.php(84): ApiMain->execute()
#14 /srv/mediawiki/w/api.php(3): require(string)
#15 {main}

Event Timeline

Restricted Application added a project: Wikidata. · View Herald TranscriptJun 17 2020, 10:42 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I believe I saw a few of these last week as well.

Restricted Application added a project: Discovery-Search. · View Herald TranscriptJun 17 2020, 10:47 AM

Yeah, I can confirm from notes these were happening last week during Thursday's train window. I had the idea this one had been captured in an existing task, but I'm not seeing anything obvious on searching.

dcausse triaged this task as Medium priority.Jun 22 2020, 6:44 AM
dcausse moved this task from needs triage to Wikidata Search on the Discovery-Search board.
dcausse added a subscriber: dcausse.

I think that it's not a new problem, I had the impression as well that it was already reported. This issue is in wikibase cirrus integration, quoting the code:

		// FIXME: this is a hack, we need to return Status upstream instead
		foreach ( $result->getErrors() as $error ) {
			wfLogWarning( json_encode( $error ) );
		}