Page MenuHomePhabricator

REST HTML endpoint returning 500 for the first 3 - 5 calls for several pages
Open, Needs TriagePublicBUG REPORT

Description

For several pages, we are getting 500 Internal server error for the first 3-5 tries. Eventually, the endpoint starts returning the html.

Here is the list of calls with timestamps and errors.

In the attached document, the first 2 calls for astwiki page Llista_de_persones_nacíes_en_Gales was queried at 2024-04-09 08:20:27.365 UTC and 2024-04-09 08:20:23.227 UTC with the folowing error

{""message"":""Error:exceptionoftypeWikimedia\\RequestTimeout\\RequestTimeoutException"",""httpCode"":500,""httpReason"":""InternalServerError""}"

The same call was resolved at the third try around 2024-04-09 08:20:38 UTC.

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

What happens?:
500 Internal server error

What should have happened instead?:
Page html returned

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

Event Timeline

Parsoid does time out on really large pages - -so that is known. Over time, Parsoid's performance will improve and we may also enforce resource limits. But, for now, nothing specific to do. You don't need to block on the resolution of this ticket.

I'm removing RESTBase Sunsetting as this is not needed for its completion. Please, re-add it in case I'm missing something.