Page MenuHomePhabricator

ConfirmEdit seemingly erroneously enabled for some users on wikitech
Open, Stalled, NormalPublic

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptWed, Sep 18, 1:22 PM
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.Wed, Sep 18, 3:04 PM
herron triaged this task as Normal priority.Wed, Sep 18, 7:07 PM
Reedy added a comment.Wed, Sep 18, 7:19 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

Reedy added a comment.Wed, Sep 18, 7:26 PM

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.Wed, Sep 18, 7:28 PM
Reedy added a project: wikitech.wikimedia.org.
Reedy updated the task description. (Show Details)Wed, Sep 18, 7:39 PM
Reedy added a comment.Wed, Sep 18, 7:56 PM

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.Wed, Sep 18, 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

hashar removed a subscriber: hashar.Thu, Sep 19, 9:54 AM

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