Last modified: 2013-12-11 17:03:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59450, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57450 - Geodata throws exception on beta labs
Geodata throws exception on beta labs
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks: 57333
  Show dependency treegraph
 
Reported: 2013-11-22 22:28 UTC by Jon
Modified: 2013-12-11 17:03 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Comment 1 Jon 2013-11-22 22:29:23 UTC
The above url causes this error:

{"servedby":"deployment-apache33","error":{"code":"internal_api_error_MWException","info":"Exception Caught: Solarium_Client_HttpException at /data/project/apache/common-local/php-master/extensions/Solarium/lib/Result.php, line 98: Solr HTTP error: Not Found (404)","*":"\n\n#0 /data/project/apache/common-local/php-master/extensions/GeoData/api/ApiQueryGeoSearch.php(21): ApiQueryGeoSearchSolr->run(Object(ApiPageSet))\n#1 /data/project/apache/common-local/php-master/includes/api/ApiPageSet.php(154): ApiQueryGeoSearch->executeGenerator(Object(ApiPageSet))\n#2 /data/project/apache/common-local/php-master/includes/api/ApiPageSet.php(110): ApiPageSet->executeInternal(false)\n#3 /data/project/apache/common-local/php-master/includes/api/ApiQuery.php(262): ApiPageSet->execute()\n#4 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(857): ApiQuery->execute()\n#5 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(386): ApiMain->executeAction()\n#6 /data/project/apache/common-local/php-master/includes/api/ApiMain.php(357): ApiMain->executeActionWithErrorHandling()\n#7 /data/project/apache/common-local/php-master/api.php(73): ApiMain->execute()\n#8 /data/project/apache/common-local/w/api.php(3): require('/data/project/a...')\n#9 {main}\n\n"}}

Seems to be an issue with how Geodata is setup. This makes it impossible to test Nearby on labs.
Comment 2 Aude 2013-11-22 23:22:24 UTC
if geodata is making an http call, then the issue may be related to bug 49300 (about making api calls or http requests in labs).

regardless of the labs setup, geodata should also handle the situation nicer and handle the exception.
Comment 3 Aude 2013-11-22 23:23:18 UTC
errr, bug 45868 (bug 49300 is a duplicate)
Comment 4 Antoine "hashar" Musso (WMF) 2013-12-10 17:23:42 UTC
Will look at it. From the stack trace it hits the GeoData and Solarium extensions which are probably not properly configured.  Assuming Solarium is a wrapper around solr search engine that would host geodata, we don't have such a setup on beta cluster so it is not going to work.

Need to find out the production setup and replicate it on beta cluster.
Comment 5 Max Semenik 2013-12-11 09:53:40 UTC
I fixed it some time ago.
Comment 6 Jeff Hall 2013-12-11 17:03:51 UTC
Thanks Max!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links