⚓ T350645 feed/featured endpoint is showing error on zhwiki
Page MenuHomePhabricator

feed/featured endpoint is showing error on zhwiki
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
The Android and iOS apps are using the endpoint but not the endpoint is not working on zhwiki.
https://zh.wikipedia.org/api/rest_v1/feed/featured/2023/11/07 is not working.

What happens?:
It shows: Error: 401, Temporarily forbidden

What should have happened instead?:
It should return the data.

See:
https://en.wikipedia.org/api/rest_v1/feed/featured/2023/11/07

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

Screenshot 2023-11-06 at 17-20-18 Wikimedia Error.png (1×1 px, 99 KB)

Event Timeline

cooltey triaged this task as High priority.Nov 7 2023, 1:22 AM

@hnowlan is this related to a REST Gateway change?

@hnowlan is this related to a REST Gateway change?

Seems unlikely, the REST gateway doesn't autonomously issue 401s generally. Is this a hangover from T346657?

https://zh.wikipedia.org/api/rest_v1/feed/featured/2023/11/07 seems to work for me -- was this a transient error?

@cscott @MSantos @hnowlan I'm getting an error message on zhwiki when I try to access it so it is still an active issue.

Seddon renamed this task from feed/fearured endpoint is showing error on zhwiki to feed/featured endpoint is showing error on zhwiki.Nov 9 2023, 1:56 AM

I can still reproduce the problem now.

@hnowlan is this related to a REST Gateway change?

Seems unlikely, the REST gateway doesn't autonomously issue 401s generally. Is this a hangover from T346657?

It's not really a hangover. Allowing that pattern on restbase caused repeated outages as there's a few very persistent and tricky scrapers and the pathological behaviour of the code paths in parsoid caused outages to both parsoid and restbase overall, repeatedly.

It seems now that a patch was brought to production with today's train that should mitigate the issues; we can try to disable the requestctl rule and see if we don't incur in more outages now.

Mentioned in SAL (#wikimedia-operations) [2023-11-09T11:38:43Z] <_joe_> disabled requestctl cache-text/wikifeeds_featured T350645 T346657

Joe claimed this task.

Tentatively resolving for now, but this might go back to banned if the underlying problems aren't solved with the latest patches.

Seddon lowered the priority of this task from High to Low.

Is there work outstanding on this task?