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.):