Page MenuHomePhabricator

MinT translation fails with 503 error
Closed, ResolvedPublicBUG REPORT

Description

All requests for translating are failing with a 503 error. For example with the following request (which can also be tested here):

$ curl 'https://cxserver.wikimedia.org/v2/translate/es/en/MinT' -i -X POST -H 'Content-Type: application/json' --data-raw $'{"html":"<span>Hola Mundo</span>"}'

Response:

{"error":{"message":"Translation with MinT es>en failed: 503"}}

This is effecting the Wishlist intake form translation banner (which you can enable as a gadget on Meta and see in action at meta:Community_Wishlist/Wishes):

image.png (731×962 px, 239 KB)
(ignore the JSON-formatted error messages there; that's a separate issue, they should be displaying just the actual error message).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I've removed default for the gadget for now. It should be turned back on when this is fixed.

Nikerabbit subscribed.

Should this be marked as duplicate or do you want to keep this task for yourself to restore the gadget?

Samwilson removed a project: CX-cxserver.

Let's keep this for CommTech to track the gadget, and I'll remove it from the CX Server board.

Samwilson claimed this task.

This looks like it's all working correctly now.