Page MenuHomePhabricator

WikiWho tool is down on English Wikipedia
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

What happens?:

Attempting to run Who Wrote That on any English Wikipedia page results in a CORS error. Relevant console error message:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://wikiwho.wmflabs.org/en/whocolor/v1.0.0-beta/Human_rights_abuses_of_the_Marcos_dictatorship/1046457425/. (Reason: CORS request did not succeed).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://wikiwho.wmflabs.org/en/whocolor/v1.0.0-beta/Human_rights_abuses_of_the_Marcos_dictatorship/1046457425/. (Reason: CORS request did not succeed).

What should have happened instead?:
The tool should have run

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

Screen Shot 2021-09-27 at 4.37.31 PM.png (1×2 px, 1008 KB)

Event Timeline

The WhoColor API is confirmed working, and I also tested it with JavaScript on en.wikipedia.org (to see if there were CORS settings that changed on their end): https://api.wikiwho.net/en/whocolor/v1.0.0-beta/Human_rights_abuses_of_the_Marcos_dictatorship/1046457425/

That means the issue lies with our proxy at https://wikiwho.wmflabs.org. It would seem traffic is not even reaching Apache, because nothing shows up in Apache's access or error logs. I've tried hard rebooting the whole instance. I have also verified the DNS proxy is pointing to the correct IP and port in Horizon.

Investigation ongoing…

I have no idea what went wrong, but creating a brand new instance worked: https://wikiwho2.wmflabs.org/

I tried deleting the old hostname (https://wikiwho.wmflabs.org) and recreating it to point to the new instance, but I'm getting the error RecordSet belongs in a child zone: wikiwho.wmflabs.org. I will reach out to Cloud Services.

This broke after a new project was created (T290768) with the same name as the DNS proxy. Basically the same issue as T131367 and T260388.

Simple fix was to create a new instance under the new wikiwho project. We may now need to ask Cloud Services for a further increase in quota once we actually get to migrating the WikiWho backend (T288840), but we'll deal with that when the time comes.

Sorry I didn't think about that, considering this exact same issue happened to us before: T206487#4714993. Anyways we're up and running now :)