Page MenuHomePhabricator

Getting UsageException when viewing new wiki, caused by ApiRunJobs
Closed, ResolvedPublic


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. (
[2f66af1e] /w/index.php Exception from line 1366 of /srv/mediawiki/includes/api/ApiBase.php: Invalid or stale signature provided


#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,2ea4d7ae,n,z (indeed, git checkout 2ea4d7ae8c19f^ fixed the issue)

Version: 1.23.0
Severity: major
See Also:



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:06 AM
bzimport set Reference to bz62092.
bzimport added a subscriber: Unknown Object (MLST).

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

Change 116224 merged by jenkins-bot:
Avoid API error/header leakage from jobs API

  • Bug 62280 has been marked as a duplicate of this bug. ***