onlyoffice-nextcloud icon indicating copy to clipboard operation
onlyoffice-nextcloud copied to clipboard

Error while downloading the document file to be converted.) (version 7.2.1.34)

Open NA3 opened this issue 2 years ago • 5 comments

hi, my only office was on windows server( version 7.2.1) behind a nginx proxy with let's encrypt certificate

image

i got this error while trying to get nexcloud integration onlyoffice

nexcloud logs after click on register

"remoteAddr": "1.25.52.246" => nginx proxy

{
    "reqId": "qcIxUkMOJfD0BZ5Vtx6X",
    "level": 3,
    "time": "2022-10-27T00:10:03+02:00",
    "remoteAddr": "1.25.52.246",
    "user": "na.3",
    "app": "onlyoffice",
    "method": "PUT",
    "url": "/apps/onlyoffice/ajax/settings/address",
    "message": "GetConvertedUri on check error",
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
    "version": "25.0.0.18",
    "exception": {
        "Exception": "Exception",
        "Message": "Une erreur s'est produite dans le service de document: Error while downloading the document file to be converted.",
        "Code": 0,
        "Trace": [
            {
                "file": "/var/www/nextcloud/apps/onlyoffice/lib/documentservice.php",
                "line": 95,
                "function": "ProcessConvServResponceError",
                "class": "OCA\\Onlyoffice\\DocumentService",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/apps/onlyoffice/lib/documentservice.php",
                "line": 446,
                "function": "GetConvertedUri",
                "class": "OCA\\Onlyoffice\\DocumentService",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/apps/onlyoffice/controller/settingscontroller.php",
                "line": 174,
                "function": "checkDocServiceUrl",
                "class": "OCA\\Onlyoffice\\DocumentService",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 225,
                "function": "SaveAddress",
                "class": "OCA\\Onlyoffice\\Controller\\SettingsController",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 133,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
                "line": 172,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/private/Route/Router.php",
                "line": 298,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::"
            },
            {
                "file": "/var/www/nextcloud/lib/base.php",
                "line": 1047,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/index.php",
                "line": 36,
                "function": "handleRequest",
                "class": "OC",
                "type": "::"
            }
        ],
        "File": "/var/www/nextcloud/apps/onlyoffice/lib/documentservice.php",
        "Line": 241,
        "message": "GetConvertedUri on check error",
        "CustomMessage": "GetConvertedUri on check error"
    }
}

config.php

$CONFIG = array (
'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '1.25.52.245',
    2 => 'cloud.*****.org',
    3 => 'nextcloud',
    4 => 'office.*****.org',
    5 => '1.25.52.249',
    6 => 'reverse.****.org',
    7 => '1.25.52.246',
  ),

'onlyoffice' =>
  array (
    'verify_peer_off' => true,
    'jwt_header' => "Authorizationjwt",
    'jwt_secret' => 'dxrz3GVK**********B6fdDBwN2NeA'
  )
)

onlyoffice local.conf

"inbox": {
          "header": "Authorizationjwt"
        },
        "outbox": {
          "header": "Authorizationjwt"
        },
      "secret": {
        "inbox": {
          "string": "dxrz3GVK**********B6fdDBwN2NeA"
        },
        "outbox": {
          "string": "dxrz3GVK**********B6fdDBwN2NeA"
        },
        "session": {
          "string": "dxrz3GVK**********B6fdDBwN2NeA"
        }
      }

if someone can help me, all help are welcome.

NA3 avatar Oct 26 '22 22:10 NA3