Page MenuHomePhabricator

Special:ContentTranslation unable to connect to cxserver on Beta Cluster
Closed, ResolvedPublic

Description

Follow https://www.mediawiki.org/wiki/Content_translation/cxserver/Setup and set up a cxserver for the beta cluster.

Currently, visiting https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:ContentTranslation&campaign=contributions-page (if you have ContentTranslation enabled) returns Error: Could not connect to the server.

Event Timeline

Hm, noting that

if ( $wmgUseContentTranslation ) {
	$wgContentTranslationSiteTemplates['cx'] = 'https://cxserver-beta.wmflabs.org/v1';
	$wgContentTranslationSiteTemplates['cookieDomain'] = false;
	$wgContentTranslationTranslateInTarget = false;
}

already exists in CommonSettings-labs.php

Change 852843 had a related patch set uploaded (by Samtar; author: Samtar):

[operations/mediawiki-config@master] [prod noop] CommonSettings-labs: Fix beta cluster cxserver domain

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

Mentioned in SAL (#wikimedia-releng) [2022-11-03T13:44:50Z] <TheresNoTime> add cxserver-beta (port 8080) proxy for deployment-prep, T322323

TheresNoTime renamed this task from Set up cxserver for Beta Cluster to Special:ContentTranslation unable to connect to cxserver on Beta Cluster.Thu, Nov 3, 1:46 PM
TheresNoTime updated the task description. (Show Details)

Content Security Policy: The page's settings blocked the loading of a resource at https://cxserver-beta.wmflabs.org/v2/list/languagepairs ("default-src"). — hmm..

Change 852843 merged by jenkins-bot:

[operations/mediawiki-config@master] [prod noop] CommonSettings-labs: Fix beta cluster cxserver domain

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

Change 852920 had a related patch set uploaded (by Samtar; author: Samtar):

[operations/mediawiki-config@master] [prod noop] InitialiseSettings-labs: wmgApprovedContentSecurityPolicyDomains

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

Change 852920 merged by jenkins-bot:

[operations/mediawiki-config@master] [prod noop] InitialiseSettings-labs: wmgApprovedContentSecurityPolicyDomains

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

TheresNoTime claimed this task.

Woo, working

image.png (493×1 px, 51 KB)

It's deeply unhappy about a lot of other things, but this is a good step forwards :-)

Change 853005 had a related patch set uploaded (by Samtar; author: Samtar):

[operations/mediawiki-config@master] [prod noop] InitialiseSettings-labs: Add `recommend.wmflabs` to CSP

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

Change 853005 merged by jenkins-bot:

[operations/mediawiki-config@master] [prod noop] InitialiseSettings-labs: Add `recommend.wmflabs` to CSP

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