Page MenuHomePhabricator

ConfirmEdit seemingly erroneously enabled for some users on wikitech
Closed, InvalidPublic

Description

When login into wikitech I experienced an error page stating:

[fb6658b5ae6822f4b2fb70fc] /w/index.php?title=Special:UserLogin&returnto=User:Elukey/Analytics/Hadoop+testing+cluster UnderflowException from line 446 of /srv/mediawiki/w/extensions/ConfirmEdit/FancyCaptcha/includes/FancyCaptcha.php: Ran out of captcha images

Moving from the error page, I was successfully logged in.

This seems linked to T230245

Thanks ops-team for the feedback and procedure when ping on irc.

Event Timeline

hashar added subscribers: Reedy, hashar.

@Reedy might know more about the magic of the Fancy captchas.

Maybe that is just the cron which is broken T230245.

Aklapper renamed this task from Problem with captcha at login on Wikitech to Problem with captcha at login on Wikitech: UnderflowException: Ran out of captcha images.Sep 18 2019, 3:04 PM
herron triaged this task as Medium priority.Sep 18 2019, 7:07 PM

I don't understand how this is apparently only affecting Wikitech, which should use the same captcha pool, we don't delete on solve...

I'm presuming it's related to T230245 though too, indeed

ConfirmEdit isn't enabled on wikitech according to https://wikitech.wikimedia.org/wiki/Special:Version...

Or in config...

'wmgEnableCaptcha' => [
        'default' => true,

        // private/closed wikis don't need it
        'private' => false,
        'fishbowl' => false,
        'closed' => false,

        // 'global-multiwrite' backend isn't available, so disable for now
        'wikitech' => false,
],
Reedy renamed this task from Problem with captcha at login on Wikitech: UnderflowException: Ran out of captcha images to ConfirmEdit seemingly erroneously enabled for some users on wikitech.Sep 18 2019, 7:28 PM
Reedy added a project: wikitech.wikimedia.org.

I cannot replicate (logging in is fine for me)... If anyone else can replicate, I'd appreciate to know...

Reedy changed the task status from Open to Stalled.Sep 18 2019, 8:03 PM

Marking stalled as above...

No rush @JAllemandou, but can you test it again in the morning and see if it reoccurs etc?

We're struggling to find any obvious trace of the exception reference (fb6658b5ae6822f4b2fb70fc) you pasted

Based on the stacktace being /srv/mediawiki/w/…, I guess this isn't production, because in production it would be /srv/mediawiki/php-…/….