Page MenuHomePhabricator

Special:ContentTranslation raise internal error on beta cluster
Open, Needs TriagePublic

Description

Critical error: Content translation failed to load due to internal error.
Example: https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:ContentTranslation&from=zh&to=en&campaign=specialcx&page=林愷鈴

Access to XMLHttpRequest at 'https://cxserver-beta.wmcloud.org/v2/suggest/title/%E6%9E%97%E6%84%B7%E9%88%B4/zh/en' from origin 'https://en.wikipedia.beta.wmflabs.org' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

Event Timeline

Poke @TheresNoTime for help since you fixed T322323 (not sure if it's related though)

While using the translation tool for translating from English to Hebrew, I've tried to load saved unpublished translation, and met shown error.

WIKI TRANSLATION LOADING ERROR.jpg (882×962 px, 79 KB)

It translates to "Loading saved translation didn't work!", and "Critical error: translation content not loading due to internal error."

Is my work lost?

Nikerabbit subscribed.

@YedidyaPopper You should create a a new task for your issue and follow the instructions in https://en.wikipedia.org/wiki/Wikipedia:Reporting_JavaScript_errors to provide us with some information needed to investigate. This task is specifically about the beta cluster used for testing.

@Stang My understanding is that cxserver is not properly working on the beta cluster since in production it was migrated to Kubernetes but in beta cluster it wasn't.

@Nikerabbit The issue resolved itself after waiting a few days, thanks anyway