Page MenuHomePhabricator

ApiRunJobs HTTP request and fallback both fail on Wikimedia Labs
Closed, ResolvedPublic

Description

After moving from e52153e to rMW1e54f0c5f416 and running update.php (the latter probably unrelated), piramido.wmflabs.org consistently fails to load pages with an ApiRunJobs error:

[c71ea2c8] /wiki/Special:Random 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}

It looks like the socket method is failing, probably for the same reason a simple:

curl 'http://piramido.wmflabs.org/w/api.php'

fails on piramido with:

curl: (7) couldn't connect to host

I think Labs currently can't connect to itself with external host names.

There is a fallback that should work, but it's throwing the above exception consistently.


Version: unspecified
Severity: normal

Details

Reference
bz62280

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:02 AM
bzimport set Reference to bz62280.
bzimport added a subscriber: Unknown Object (MLST).

Try latest, the fallback should have been fixed

Confirmed, that fixes it. Marking duplicate.

  • This bug has been marked as a duplicate of bug 62092 ***