Page MenuHomePhabricator

ResponseException from line 56 of extensions/GeoData/includes/Searcher.php:
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.9

message
[aeddab4c-85d5-4e05-b8d8-540a5100c128] /w/api.php?list=geosearch&gsradius=10000&gslimit=15&gscoord=51.357014%7C8.381323&action=query&format=json   Elastica\Exception\ResponseException from line 56 of /srv/mediawiki/php-1.36.0-wmf.9/extensions/GeoData/includes/Searcher.php:

Impact

There were over 100 these in a spike soon after promoting train to group2. Would appreciate a quick analysis on whether this warrants rolling the train back.

Notes

Details

Request ID
aeddab4c-85d5-4e05-b8d8-540a5100c128
Request URL
https://de.wikipedia.org/w/api.php?list=geosearch&gsradius=10000&gslimit=15&gscoord=51.357014%7C8.381323&action=query&format=json
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.36.0-wmf.9/extensions/GeoData/includes/Api/QueryGeoSearchElastic.php(113): GeoData\Searcher->performSearch(Elastica\Query, array, string)
#1 /srv/mediawiki/php-1.36.0-wmf.9/extensions/GeoData/includes/Api/QueryGeoSearch.php(49): GeoData\Api\QueryGeoSearchElastic->run()
#2 /srv/mediawiki/php-1.36.0-wmf.9/includes/api/ApiQuery.php(263): GeoData\Api\QueryGeoSearch->execute()
#3 /srv/mediawiki/php-1.36.0-wmf.9/includes/api/ApiMain.php(1600): ApiQuery->execute()
#4 /srv/mediawiki/php-1.36.0-wmf.9/includes/api/ApiMain.php(536): ApiMain->executeAction()
#5 /srv/mediawiki/php-1.36.0-wmf.9/includes/api/ApiMain.php(507): ApiMain->executeActionWithErrorHandling()
#6 /srv/mediawiki/php-1.36.0-wmf.9/api.php(90): ApiMain->execute()
#7 /srv/mediawiki/php-1.36.0-wmf.9/api.php(45): wfApiMain()
#8 /srv/mediawiki/w/api.php(3): require(string)
#9 {main}

Event Timeline

Restricted Application added a project: Discovery-Search. · View Herald TranscriptSep 17 2020, 1:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
LarsWirzenius triaged this task as Unbreak Now! priority.Sep 17 2020, 1:25 PM
Reedy renamed this task from [aeddab4c-85d5-4e05-b8d8-540a5100c128] /w/api.php?list=geosearch&gsradius=10000&gslimit=15&gscoord=51.357014%7C8.381323&action=query&format=json Elastica\Exception\ResponseException from line 56 of /srv/mediawiki/php-1.36.0-wmf.9/extensions/GeoData/includes/Searcher.php: to ResponseException from line 56 of extensions/GeoData/includes/Searcher.php:.Sep 17 2020, 1:41 PM

This is duplicate of T258641 and the exception is intentionally thrown by the extension with a comment that it might not be appropriate.

Change 628093 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/extensions/GeoData@master] Don't use exception as error message.

https://gerrit.wikimedia.org/r/628093

Change 628093 abandoned by Ammarpad:
[mediawiki/extensions/GeoData@master] Don't use exception as error message.

Reason:

https://gerrit.wikimedia.org/r/628093