Page MenuHomePhabricator

Consistent error message when trying to resume an old translation
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

A contributors reported that while trying to finish this translation an Echo notification prompted him to finish. The contributor consistently received an error message: "critical error: content translation didn't load due to internal error".

Another contributor also reported this kind of error while translating "Nami" article (a section of the article) from English to Vietnamese.
Steps to replicate the issue (include links if applicable):

What happens?:
The translation does not load after trying for a longtime; it outputs an error message: "critical error: content translation didn't load due to internal error"

image.png (1×2 px, 209 KB)

What should have happened instead?:
The translation should load for the contributor to continue from where they stopped translating.

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

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

Event Timeline

SBisson triaged this task as High priority.Apr 7 2025, 8:37 PM
SBisson added a project: LPL Hypothesis.
SBisson moved this task from Needs Triage to Bugs on the ContentTranslation board.
SBisson moved this task from Backlog to Prioritized on the LPL Hypothesis board.
UOzurumba renamed this task from Consistent error message when trying to resume an old translation from ukwiki to hewiki to Consistent error message when trying to resume an old translation.Apr 7 2025, 8:46 PM
UOzurumba updated the task description. (Show Details)
abi_ subscribed.

Looking at the network requests when opening the link in the task, I noticed that the following CXServer API call fails:

https://cxserver.wikimedia.org/v2/page/uk/he/Павличко_Дмитро_Васильович

Looking at Logstash I see:

414: MW API error from URL: http://localhost:6500/w/api.php?format=json&action=query&prop=langlinks&lllimit=44&lllang=he&titles=Категорія:Народились+28+вересня|Категорія:Народились+1929|Категорія:Уродженці+Стопчатова|Категорія:Вікіпедія:P19:використовується|Категорія:Померли+29+січня|Категорія:Померли+2023|Категорія:Вікідані:P20:відсутня|Категорія:Випускники+Львівського+університету|Категорія:Члени+КПРС|Категорія:Члени+Демократичної+партії+України|Категорія:Герої+України+—+кавалери+ордена+Держави|Категорія:Кавалери+ордена+Свободи|Категорія:Кавалери+ордена+князя+Ярослава+Мудрого+IV+ступеня|Категорія:Кавалери+ордена+князя+Ярослава+Мудрого+V+ступеня|Категорія:Кавалери+ордена+«За+заслуги»+III+ступеня|Категорія:Нагороджені+ювілейною+медаллю+«25+років+незалежності+України»|Категорія:Кавалери+ордена+Трудового+Червоного+Прапора|Категорія:Кавалери+ордена+Дружби+народів|Категорія:Кавалери+ордена+«Знак+Пошани»|Категорія:Нагороджені+медаллю+«У+пам'ять+1500-річчя+Києва»|Категорія:Лауреати+Шевченківської+премії+1977+року|Категорія:Вікіпедія:P373:використовується|Категорія:Шаблон:Webarchive:посилання+на+Wayback+Machine|Категорія:Дмитро+Павличко|Категорія:Лауреати+премії+імені+Івана+Кошелівця|Категорія:Українські+поети|Категорія:Українські+перекладачі|Категорія:Посли+України+в+Польщі|Категорія:Посли+України+в+Словаччині|Категорія:Народні+депутати+СРСР+від+України|Категорія:Народні+депутати+України+1-го+скликання|Категорія:Народні+депутати+України+3-го+скликання|Категорія:Народні+депутати+України+4-го+скликання|Категорія:Учасники+Помаранчевої+революції|Категорія:Діячі+Товариства+української+мови|Категорія:Репресовані+в+СРСР|Категорія:Перекладачі+Данте+Аліг'єрі|Категорія:Перекладачі+Вільяма+Шекспіра|Категорія:Українські+перекладачі+поезії|Категорія:Перекладачі+Йоганна+Вольфганга+фон+Гете|Категорія:Перекладачі+Христо+Ботева|Категорія:Радянські+поети|Категорія:Перекладачі+Шарля+Бодлера|Категорія:Почесні+професори+Києво-Могилянської+академії&redirects=true&continue=: api_error

414 translates to URI Too Long as per https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/414

It feels like this should be fixed on CXServer

Slightly related patch in CXserver 1122239: BatchedAPIRequest: Handle errors while processing the queue | https://gerrit.wikimedia.org/r/c/mediawiki/services/cxserver/+/1122239 to improve error handling in cxserver

Change #1136388 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/services/cxserver@master] TitlePairRequest: Use mwPost to accomodate large request sizes

https://gerrit.wikimedia.org/r/1136388

abi_ set the point value for this task to 2.

Change #1136388 merged by jenkins-bot:

[mediawiki/services/cxserver@master] TitlePairRequest: Use mwPost to accomodate large request sizes

https://gerrit.wikimedia.org/r/1136388

Loading the above translation still fails. Has this been deployed in production yet?

Change #1138149 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update cxserver to 2025-04-15-070132-production

https://gerrit.wikimedia.org/r/1138149

Loading the above translation still fails. Has this been deployed in production yet?

Not yet. I just submitted the production config patch, it should be done after the review.

Change #1138149 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2025-04-15-070132-production

https://gerrit.wikimedia.org/r/1138149

Mentioned in SAL (#wikimedia-operations) [2025-04-24T13:03:57Z] <kart_> Updated cxserver to 2025-04-15-070132-production (T391289)

@Ijon Deployed in production. You can test now.

Test status: QA PASS

The translation now consistently loads and also continues from where it last stopped.

Thank you! I confirm it now loads fine for me.