Page MenuHomePhabricator

Logging in to CopyPatrol doesn't always work first time
Closed, ResolvedPublic5 Estimated Story PointsBUG REPORT

Description

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

What happens?:
More often than not, CopyPatrol will load for a while and then refresh. You will not be logged in.

What should have happened instead?:
The page reloads and you are logged in

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

  • Trying again after this failure normally works.
  • Not errors appear in the logs.
  • Reported on en.wikipedia

Event Timeline

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

I spent several hours debugging this and finally concluded it's something with MediaWiki-extensions-OAuth itself that's failing. I've filed T332650: Frequent OAuth failures on Wikimedia wikis since eqiad was repooled due to db-mainstash replication lag.

CopyPatrol is supposed to show an error, but there's apparently an unrelated issue with flash messages not showing. I'm debugging that now.

I spent several hours debugging this and finally concluded it's something with MediaWiki-extensions-OAuth itself that's failing. I've filed T332650: Frequent OAuth failures on Wikimedia wikis since eqiad was repooled due to db-mainstash replication lag.

CopyPatrol is supposed to show an error, but there's apparently an unrelated issue with flash messages not showing. I'm debugging that now.

Nice debugging by the way! 👏

MusikAnimal set the point value for this task to 5.

Moving to the sprint since I spent so much time debugging this! I figure some points should go towards our velocity.

I think this will get resolved by the subtask T332650, but I'll keep this task open anyway until that is resolved. We may also be looking into switching to OAuth 2.0 which could make things simpler. If there's work involved there, it can be bundled in with this task.

The mystery with flash messages not showing is a separate problem. I've filed T332806 for that.

matmarex subscribed.

Presumably resolved by the fix in the subtask. Please reopen if you still see the problem.

Indeed, no QA or anything needed here. Login is functioning normally again \o/