Page MenuHomePhabricator

Error trying to access Special:Version on beta labs, as it tries to get the HEAD commit date for each extension
Closed, ResolvedPublic

Description

Author: mgrover

Description:
I'm trying to make sure that our latest code is out on beta labs by checking the Special Version Page but I'm getting an error.


Version: unspecified
Severity: normal
URL: https://en.wikipedia.beta.wmflabs.org/wiki/Special:Version

Details

Reference
bz53335

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:49 AM
bzimport set Reference to bz53335.

Special:Version would try to get the HEAD commit date for each of the extensions which takes roughly 34 seconds. There is most probably a lower timeout on varnish side which prevents it from successfully retrieving the page :(

Moving this bug to MediaWiki > Special Pages, it needs some cache or something.

Confirming:

Request: GET http://en.wikipedia.beta.wmflabs.org/wiki/Special:Version, from 89.176.96.40 via deployment-cache-text1 frontend ([10.4.1.133]:80), Varnish XID 2001176226
Forwarded for: 89.176.96.40
Error: 503, Service Unavailable at Mon, 02 Sep 2013 12:16:59 GMT

Come on guys, what we have here is practically a DoS vector. Can somebody do something about it?

This is related to some MediaWiki configuration variable, isn't it? Which one, exactly?

Change 95878 had a related patch set uploaded by Alex Monk:
Cache VCS commit id/date text on Special:Version

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

Patch still awaiting review...

I thought the dates were removed, but it must be some configuration only: still relevant.

Change 95878 merged by jenkins-bot:
Cache VCS commit id/date text on Special:Version

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