Last modified: 2013-03-06 05:38:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44166, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42166 - load.php should return HTTP 500 if one or more exceptions were thrown during the generation of the module response(s)
load.php should return HTTP 500 if one or more exceptions were thrown during ...
Status: RESOLVED DUPLICATE of bug 33917
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-15 21:51 UTC by Faidon Liambotis
Modified: 2013-03-06 05:38 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Faidon Liambotis 2012-11-15 21:51:04 UTC
So, we had the following incident a few moments ago:
An Apache on the fleet was misconfigured, with wrong permissions in at least /wmf-config/.

Random bits hits for some CSS (e.g. for it.wp) ended up on this Apache, which returned a page full of CSS comments with DBConnectionError ('DB connection error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (localhost)' in /usr/local/apache/common-local/php-1.21wmf3/includes/db/Database.php:797), since no configuration, database or otherwise, was readable or defined.

The problem is that this CSS full of exceptions and no actual content was returned with a 200 status code and subsequently cached in Squid and Varnish. Fortunately the TTL for those is short, and the site recovered quickly.

Could you please adjust it so that 500s are raised on such cases?
Comment 1 Krinkle 2013-03-06 05:38:39 UTC

*** This bug has been marked as a duplicate of bug 33917 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links