Page MenuHomePhabricator

Can't log in multilingual wikisource
Closed, ResolvedPublic

Description

Hi, While I am logged with SUL in several wikis (enwiki, commons, frwikisource, etc.), I can't log in multilingual wikisource (oldwikisource https://wikisource.org ).

Event Timeline

I can't reproduce this, I'm logged in instantly.

A regression for T124620, maybe?

Yann, you can't use the login page on wikisource or can't use the autologin (log in at some other wiki, go to wikisource, be logged in magically)? If the first, what error do you get?

The logs have a bunch of the Key "CentralAuthSource" changed warnings but nothing else interesting for the username "Yann".

Can reproduce, with an account that has pre-Jan-26 cookies (that was when the fix for T124620 was deployed) but not with a fresh one. You can get around this by deleting cookies (or logging out and back). So this is probably fallout from the old bug (same cookie set with different value for wikisource.org and .wikisource.org).

Given that cookies last 30 days, this bug will go away by the end of the week. Wontfix?

Of course no guarantees I am reproducing the same bug. Yann, can you check that you have duplicate cookies?

I got logged in automatically next day. No idea why.

Not reproducible as per last comment, hence declining.

matmarex closed this task as Resolved.
matmarex claimed this task.
matmarex subscribed.

We have accidentally found the cause of this old problem when investigating T351685. I just wanted to document the cause of this problem for future reference, and to merge all of the duplicate reports I could find.

As it turns out, wikisource.org wikis have been misconfigured for several years, such that if you visited both the multilingual/old Wikisource (https://wikisource.org) and any language-specific Wikisource (e.g. https://en.wikisource.org), then the multilingual/old Wikisource would see both sets of cookies, but it could only update one of them, which would sometimes make it impossible to log in there until you visited a language-specific Wikisource, which would update the other set of cookies.

There are more technical details in the other task.