I'm semi-erratically getting a HTTP 504 error, on the beta cluster, when opening a page to edit in VE.
E.g. this random page: https://en.wikipedia.beta.wmflabs.org/wiki/UserMergelyppkq?veaction=edit
If I don't get it the first time, then saving a new revision, and trying to edit again, seems to trigger it.