Page MenuHomePhabricator

MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase::getResponseEnvelope failed to execute, server response not wellformed: {exception}
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
  • mwversion: 1.46.0-wmf.11
  • timestamp: 2026-01-14T23:48:43.035Z
  • phpversion: 8.3.29
  • reqId: 75831058-4779-4a95-a764-2169e878e47b
  • Find reqId in Logstash
normalized_message
MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase::getResponseEnvelope failed to execute, server response not wellformed: {exception}
FrameLocationCall
from/srv/mediawiki/php-1.46.0-wmf.11/extensions/WikiLambda/includes/ZObjectFactory.php(505)
#0/srv/mediawiki/php-1.46.0-wmf.11/extensions/WikiLambda/includes/ZObjectFactory.php(299)MediaWiki\Extension\WikiLambda\ZObjectFactory::extractObjectType(stdClass)
#1/srv/mediawiki/php-1.46.0-wmf.11/extensions/WikiLambda/includes/ActionAPI/WikiLambdaApiBase.php(467)MediaWiki\Extension\WikiLambda\ZObjectFactory::create(stdClass)
#2/srv/mediawiki/php-1.46.0-wmf.11/extensions/WikiLambda/includes/ActionAPI/ApiPerformTest.php(340)MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase->getResponseEnvelope(string, string)
#3/srv/mediawiki/php-1.46.0-wmf.11/extensions/WikiLambda/includes/ActionAPI/WikiLambdaApiBase.php(103)MediaWiki\Extension\WikiLambda\ActionAPI\ApiPerformTest->run()
#4/srv/mediawiki/php-1.46.0-wmf.11/includes/Api/ApiMain.php(2061)MediaWiki\Extension\WikiLambda\ActionAPI\WikiLambdaApiBase->execute()
#5/srv/mediawiki/php-1.46.0-wmf.11/includes/Api/ApiMain.php(964)MediaWiki\Api\ApiMain->executeAction()
#6/srv/mediawiki/php-1.46.0-wmf.11/includes/Api/ApiMain.php(935)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#7/srv/mediawiki/php-1.46.0-wmf.11/includes/Api/ApiEntryPoint.php(138)MediaWiki\Api\ApiMain->execute()
#8/srv/mediawiki/php-1.46.0-wmf.11/includes/MediaWikiEntryPoint.php(181)MediaWiki\Api\ApiEntryPoint->execute()
#9/srv/mediawiki/php-1.46.0-wmf.11/api.php(30)MediaWiki\MediaWikiEntryPoint->run()
#10/srv/mediawiki/w/api.php(3)require(string)
#11{main}
Impact
Notes
  • the errors show different wmf vesrions:

context_api_client_useragent MediaWiki-JS/1.46.0-wmf.10

mwversion 1.46.0-wmf.11

Details

Request URL
https://www.wikifunctions.org/w/api.php?action=*&format=*&formatversion=*&uselang=*&wikilambda_perform_test_zfunction=*&wikilambda_perform_test_zimplementations=*&wikilambda_perform_test_ztesters=*
Related Changes in Gerrit:

Event Timeline

Change #1227719 had a related patch set uploaded (by Akaza24; author: Akaza24):

[mediawiki/extensions/WikiLambda@master] Fix exception logging in WikiLambdaApiBase

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

Change #1233226 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] WikiLambdaApiBase::getResponseEnvelope: Don't try to process non-ZObjects

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

Change #1233226 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] WikiLambdaApiBase::getResponseEnvelope: Don't try to process non-ZObjects

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

Change #1227719 abandoned by Akaza24:

[mediawiki/extensions/WikiLambda@master] Fix HTTP status code for disabled repo mode

Reason:

Task already by another author !

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

With the deploy we've gone from server response not wellformed ERRORs to server response was not a ZObject WARNINGs; we'll fix this properly later, but this handling is good enough for now.