Report publishing fails with a 504 error

I can’t publish any notebook - the process always fails:

Request URL: https://datalore.jetbrains.com/api/reports/v2/static/publish
Request Method: POST
Status Code: 504 Gateway Timeout
Remote Address: 34.249.234.158:443
Referrer Policy: no-referrer