Page MenuHomePhabricator

CX dashboard shows a nearly blank page if the server can't be reached
Closed, ResolvedPublic

Description

Previously an 'cannot connect to server' error message was shown, now you just get an almost blank page (except for the personal tools bar).

Event Timeline

Change 395720 had a related patch set uploaded (by KartikMistry; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Fix: When cxserver is down, Dashboard is empty page

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

Change 395720 merged by KartikMistry:
[mediawiki/extensions/ContentTranslation@master] Fix: When cxserver is down, Dashboard is empty page

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

@Etonkovidova, if you need help testing this, here is one way, using Chrome DevTools:

  1. Go to CX page
  2. Open DevTools and navigate to Network tab
  3. If you don't have any network activity recorded, reload the page
  4. Once you have recorded network activity, find languagepairs entry
  5. Right click on the entry itself to open the context menu
  6. Choose one of request blocking options: Block request URL or Block request domain Marked with red rectangle on the screenshot
  7. Reload the page again to see error message

chrome-dev-tools-request-blocking.png (515×870 px, 51 KB)

I haven't checked for how long the selected blocking is active, so it's better to make sure that you delete it from bottom drawer, which you can see on the image, called "Request blocking". Marked with blue rectangle on the screenshot