Last modified: 2014-03-05 22:25:46 UTC
I was trying to create a new instance on wmflabs with MediaWiki, but when I tried to view it in a web browser I got the following error: Full traceback. (http://tools.wmflabs.org/paste/view/8a73a0bb) [2f66af1e] /w/index.php Exception from line 1366 of /srv/mediawiki/includes/api/ApiBase.php: Invalid or stale signature provided Backtrace: #0 /srv/mediawiki/includes/api/ApiRunJobs.php(54): ApiBase->dieUsage(string, string, integer) #1 /srv/mediawiki/includes/api/ApiMain.php(862): ApiRunJobs->execute() #2 /srv/mediawiki/includes/api/ApiMain.php(332): ApiMain->executeAction() #3 /srv/mediawiki/includes/Wiki.php(649): ApiMain->execute() #4 /srv/mediawiki/includes/Wiki.php(669): {closure}() #5 /srv/mediawiki/includes/Wiki.php(451): MediaWiki->triggerJobs() #6 /srv/mediawiki/index.php(49): MediaWiki->run() #7 {main} Bawolff narrowed down the problem to https://gerrit.wikimedia.org/r/#q,2ea4d7ae,n,z (indeed, git checkout 2ea4d7ae8c19f^ fixed the issue)
For me, the calling api internally code runs fine, however the header( "HTTP/1.0 204 No Content" ); part leaks to the main web request, making pages inaccesible.
Change 116224 had a related patch set uploaded by Aaron Schulz: Avoid API error/header leakage from jobs API https://gerrit.wikimedia.org/r/116224
Change 116224 merged by jenkins-bot: Avoid API error/header leakage from jobs API https://gerrit.wikimedia.org/r/116224
Thanks!
*** Bug 62280 has been marked as a duplicate of this bug. ***