Skip to content

Auto-creation error: Nonce already used #974

@mdaniels5757

Description

@mdaniels5757

Not sure if this is on our end (possibly due to rapid account creations) or MediaWiki's, but I just got this error in production (request #346825):

mwoauth-invalid-authorization: The authorization headers in your request are not valid: Nonce already used: [nonce redacted by me]

I don't recall getting this one before, but some query like SELECT * FROM jobqueue WHERE status = 'failed' AND error LIKE 'mwoauth-invalid-authorization%'; should make clear whether this is a one-off or not.

It looks like Pywikibot retries when this happens (https://gerrit.wikimedia.org/r/c/pywikibot/core/+/289582), would doing that in our code be desirable? If so, I can make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions