Description
Details
- Reference
- bz57450
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | Jdlrobson | T59333 Figure how to get WebDriver to spoof browser geolocation preferences | |||
Resolved | hashar | T59450 Geodata throws exception on beta labs |
Event Timeline
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.
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.
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.