Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 7.2.1.34)

Hello @toipq Thank you for provided data.
Indeed, time difference between servers can provoke issues. I’m not sure that you faced that issue, because I didn’t find situation-related error entries in the provided logs earlier. Anyway, I believe this workaround solution will be useful for other users.
By default Document Server can receive requests with 60 seconds time difference between servers, however connector app of the Owncloud is set to reject those by default.
To configure that parameter you have to follow these steps:

  1. Find connector app JWT config located in /var/www/owncloud/apps/onlyoffice/3rdparty/jwt/JWT.php
  2. In JWT.php config file find next line “public static $leeway = 0;” and set the needed value in seconds (in our case it is 60 seconds, 0 is default).