Page MenuHomePhabricator

[betacluster] Special:Captcha/image reports 404 (Not Found) on Create account page
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • the captcha image is not present

Screen Shot 2024-01-26 at 10.27.53 AM.png (1×1 px, 304 KB)

File not found
Although this PHP script (/w/index.php) exists, the file requested for output (mwstore://global-swift-eqiad/captcha-render2/d/c/image_ec015a1d_2dc1ec6f13a3990e.png) does not.
  • a new account cannot be created

What should have happened instead?:

  • captcha image should be displayed

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

When creating an account as an Admin 0n https://en.wikipedia.beta.wmflabs.org/wiki/Special:CreateAccount, I got the following Database error:

[ZbP9h5xHxmo@vmRuHhkFfgAAAAw] /wiki/Special:CreateAccount Wikimedia\Rdbms\DBTransactionSizeError: Transaction spent {time}s in writes, exceeding the 3s limit

Backtrace:

from /srv/mediawiki/php-master/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1386)
#0 /srv/mediawiki/php-master/includes/libs/rdbms/lbfactory/LBFactory.php(325): Wikimedia\Rdbms\LoadBalancer->approvePrimaryChanges(integer, string)
#1 /srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(282): Wikimedia\Rdbms\LBFactory->commitPrimaryChanges(string, integer)
#2 /srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(174): MediaWiki\MediaWikiEntryPoint->commitMainTransaction()
#3 /srv/mediawiki/php-master/includes/actions/ActionEntryPoint.php(216): MediaWiki\MediaWikiEntryPoint->doPrepareForOutput()
#4 /srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(157): MediaWiki\Actions\ActionEntryPoint->doPrepareForOutput()
#5 /srv/mediawiki/php-master/includes/actions/ActionEntryPoint.php(163): MediaWiki\MediaWikiEntryPoint->prepareForOutput()
#6 /srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(185): MediaWiki\Actions\ActionEntryPoint->execute()
#7 /srv/mediawiki/php-master/index.php(55): MediaWiki\MediaWikiEntryPoint->run()
#8 /srv/mediawiki/w/index.php(3): require(string)
#9 {main}

Yesterday T141490 was resolved which implements new captchas. If this broke just recently it seems like this would be related.

Looks like it dropped a trailing /

Change 992998 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/ConfirmEdit@master] FancyCaptcha: Add missing trailing /

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

Change 992998 merged by jenkins-bot:

[mediawiki/extensions/ConfirmEdit@master] FancyCaptcha: Add missing trailing /

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

Reedy claimed this task.