Error when trying to connect my only office server to nextCloud

I’m currently running nextcloud and onlyoffice on separate ubuntu systems (ubuntu 20.04) installed via snap Craft. the issue is that when I try to add the only office server to next cloud I get the following error.

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

ubuntu, nextcloud and onlyoffice are updated to the newest versions.

below is my config file for nextcloud as well as local.json and default.json from onlyoffice

<?php
$CONFIG = array (
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/snap/nextcloud/current/htdocs/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
    ),
  ),
  'supportedDatabases' => 
  array (
    0 => 'mysql',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/tmp/sockets/redis.sock',
    'port' => 0,
  ),
  'log_type' => 'file',
  'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
  'logfilemode' => 416,
  'passwordsalt' => 'ReIMMvyVL2pIvlANHY3UEZfq3W4Lso',
  'secret' => 'chVx/JrYBZ9gNIRBGN7zlu7aXc9pNNaFstsYCLS/cXAZFkRb',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '192.168.3.191',
  ),
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '25.0.3.2',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '6GEPGlXmFO4RjjMOoe76ZPH2-qSU6EptLKyhmKKrenngYQq_eK2A19iaBQhpcvD7',
  'installed' => true,
  'instanceid' => 'oczp2mfafauf',
  'maintenance' => false,
  'onlyoffice' => 
  array (
    'Verify_peer_off' => true,
    'jwt_header' => 'AuthorizationJwt',
  ),
);

{
	"log": {
	  "filePath": "/snap/onlyoffice-ds/current/etc/onlyoffice/documentserver/log4js/production.json"
	},
	"storage": {
	  "fs": {
		"folderPath": "/var/snap/onlyoffice-ds/common/var/lib/onlyoffice/documentserver/App_Data/cache/files"
	  }
	},
	"wopi": {
	  "htmlTemplate" : "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/web-apps/apps/api/wopi"
	},
	"services": {
	  "CoAuthoring": {
		"server": {
		  "newFileTemplate" : "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/document-templates/new",
		  "static_content": {
			"/fonts": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/fonts",
			  "options": {"maxAge": "7d"}
			},
			"/sdkjs": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/sdkjs",
			  "options": {"maxAge": "7d"}
			},
			"/web-apps": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/web-apps",
			  "options": {"maxAge": "7d"}
			},
			"/welcome": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/server/welcome",
			  "options": {"maxAge": "7d"}
			},
			"/info": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/server/info",
			  "options": {"maxAge": "7d"}
			},
			"/sdkjs-plugins": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/sdkjs-plugins",
			  "options": {"maxAge": "7d"}
			},
			"/dictionaries": {
			  "path": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/dictionaries",
			  "options": {"maxAge": "7d"}
			}
		  }
		}, 
		"utils": {
		  "utils_common_fontdir": "/snap/onlyoffice-ds/current/usr/share/fonts"
		},
		"sockjs": {
		  "sockjs_url": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/web-apps/vendor/sockjs/sockjs.min.js"
		},
		"sql": {
			"type": "mysql",
			"dbPort": 3306,
			"dbPass": "vGK2plrJrPNCa2JW8Lbr0ibq7qOmuAazLNJhbPdL24Jln3FTzdylQhIexB-FSEYZ",
			"charset": "utf8"
		},
		"secret": {
			"browser": {"string": "secret", "file": "", "tenants": {}},
			"inbox": {"string": "13015347ad", "file": "", "tenants": {}},
			"outbox": {"string": "13015347ad", "file": ""},
			"session": {"string": "13015347ad", "file": ""}
		},
		"token": {
			"enable": {
				"browser": true,
				"request": {
					"inbox": true,
					"outbox": true
				}
			},
			"inbox": {
				"header": "AuthorizationJwt"
			},
			"outbox": {
				"header": "AuthorizationJwt"
			}
		},
		"requestDefaults": {
			"rejectUnauthorized": true
		}
	  }
	},
	"license": {
	  "license_file": "/snap/onlyoffice-ds/current/var/www/onlyoffice/Data/license.lic",
	  "warning_limit_percents": "70",
	  "packageType": 0
	},
	"FileConverter": {
	  "converter": {
		"fontDir": "/snap/onlyoffice-ds/current/usr/share/fonts",
		"presentationThemesDir": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/sdkjs/slide/themes",
		"x2tPath": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t",
		"docbuilderPath": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder",
		"docbuilderAllFontsPath": "/snap/onlyoffice-ds/current/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js",
		"docbuilderCoreFontsPath": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/core-fonts"
	  }
	},
	"FileStorage": {
	  "directory": "/var/snap/onlyoffice-ds/common/var/lib/onlyoffice/documentserver/App_Data"
	},
	"SpellChecker": {
	  "server": {
		"dictDir": "/snap/onlyoffice-ds/current/var/www/onlyoffice/documentserver/dictionaries"
	  }
	}
}
    

{
	"statsd": {
		"useMetrics": false,
		"host": "localhost",
		"port": "8125",
		"prefix": "ds."
	},
	"log": {
		"filePath": "",
		"options": {
			"replaceConsole": true
		}
	},
	"queue": {
		"type": "rabbitmq",
		"visibilityTimeout": 300,
		"retentionPeriod": 900
	},
	"storage": {
		"name": "storage-fs",
		"fs": {
			"folderPath": "",
			"urlExpires": 900,
			"secretString": "verysecretstring"
		},
		"region": "",
		"endpoint": "http://localhost/s3",
		"bucketName": "cache",
		"storageFolderName": "files",
		"cacheFolderName": "data",
		"urlExpires": 604800,
		"accessKeyId": "AKID",
		"secretAccessKey": "SECRET",
		"sslEnabled": false,
		"s3ForcePathStyle": true,
		"externalHost": ""
	},
	"rabbitmq": {
		"url": "amqp://guest:guest@localhost:5672",
		"socketOptions": {},
		"exchangepubsub": "ds.pubsub",
		"queueconverttask": "ds.converttask",
		"queueconvertresponse": "ds.convertresponse",
		"exchangeconvertdead": "ds.exchangeconvertdead",
		"queueconvertdead": "ds.convertdead",
		"queuedelayed": "ds.delayed"
	},
	"activemq": {
		"connectOptions": {
			"port": 5672,
			"host": "localhost",
			"name": "admin",
			"reconnect": false
		},
		"queueconverttask": "ds.converttask",
		"queueconvertresponse": "ds.convertresponse",
		"queueconvertdead": "ActiveMQ.DLQ",
		"queuedelayed": "ds.delayed",
		"topicpubsub": "ds.pubsub"
	},
	"dnscache": {
		"enable" : true,
		"ttl" : 300,
		"cachesize" : 1000
	},
	"openpgpjs": {
		"config": {
		},
		"encrypt": {
			"passwords": ["verysecretstring"]
		},
		"decrypt": {
			"passwords": ["verysecretstring"]
		}
	},
	"wopi": {
		"enable": false,
		"host" : "",
		"htmlTemplate" : "../../web-apps/apps/api/wopi",
		"wopiZone" : "external-http",
		"favIconUrlWord" : "/web-apps/apps/documenteditor/main/resources/img/favicon.ico",
		"favIconUrlCell" : "/web-apps/apps/spreadsheeteditor/main/resources/img/favicon.ico",
		"favIconUrlSlide" : "/web-apps/apps/presentationeditor/main/resources/img/favicon.ico",
		"fileInfoBlockList" : ["FileUrl"],
		"wordView": ["pdf", "djvu", "xps", "oxps", "doc", "dotx", "dotm", "dot", "fodt", "ott", "rtf", "mht", "html", "htm", "xml", "epub", "fb2"],
		"wordEdit": ["docx", "docm", "docxf", "oform", "odt", "txt"],
		"cellView": ["xls", "xlsb", "xltx", "xltm", "xlt", "fods", "ots"],
		"cellEdit": ["xlsx", "xlsm", "ods", "csv"],
		"slideView": ["ppt", "ppsx", "ppsm", "pps", "potx", "potm", "pot", "fodp", "otp"],
		"slideEdit": ["pptx", "pptm", "odp"],
		"publicKey": "BgIAAACkAABSU0ExAAgAAAEAAQD/NVqekFNi8X3p6Bvdlaxm0GGuggW5kKfVEQzPGuOkGVrz6DrOMNR+k7Pq8tONY+1NHgS6Z+v3959em78qclVDuQX77Tkml0xMHAQHN4sAHF9iQJS8gOBUKSVKaHD7Z8YXch6F212YSUSc8QphpDSHWVShU7rcUeLQsd/0pkflh5+um4YKEZhm4Mou3vstp5p12NeffyK1WFZF7q4jB7jclAslYKQsP82YY3DcRwu5Tl/+W0ifVcXze0mI7v1reJ12pKn8ifRiq+0q5oJST3TRSrvmjLg9Gt3ozhVIt2HUi3La7Qh40YOAUXm0g/hUq2BepeOp1C7WSvaOFHXe6Hqq",
		"modulus": "qnro3nUUjvZK1i7UqeOlXmCrVPiDtHlRgIPReAjt2nKL1GG3SBXO6N0aPbiM5rtK0XRPUoLmKu2rYvSJ/Kmkdp14a/3uiEl788VVn0hb/l9OuQtH3HBjmM0/LKRgJQuU3LgHI67uRVZYtSJ/n9fYdZqnLfveLsrgZpgRCoabrp+H5Uem9N+x0OJR3LpToVRZhzSkYQrxnERJmF3bhR5yF8Zn+3BoSiUpVOCAvJRAYl8cAIs3BwQcTEyXJjnt+wW5Q1VyKr+bXp/39+tnugQeTe1jjdPy6rOTftQwzjro81oZpOMazwwR1aeQuQWCrmHQZqyV3Rvo6X3xYlOQnlo1/w==",
		"exponent": "AQAB",
		"privateKey": "MIIEowIBAAKCAQEAqnro3nUUjvZK1i7UqeOlXmCrVPiDtHlRgIPReAjt2nKL1GG3SBXO6N0aPbiM5rtK0XRPUoLmKu2rYvSJ/Kmkdp14a/3uiEl788VV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tzyGruc5aojPx5MHHf5bo14+Jv4NzYtR2llrUxO+UJX7aCfUYXI7RC93GUmhpeQ414j7SNAXec58d7e+ETw+6cHiAWO4uOSTPAoGATPq5qDLR4Zi4FUNdn8LZPyKfNqHF6YmupT5hIgd8kZO1jKiaYNPL8jBjkIRmjBBcaXcYD5p85nImvumf2J9jNxPpZOpwyC/Fo5xlVROp97qu1eY7DTmodntXJ6/2SXAlnZQhHmHsrPtyG752f+HtyJJbbgiem8cKWDu+DfHybfECgYBbSLo1WiBwgN4nHqZ3E48jgA6le5azLeKOTTpuKKwNFMIhEkj//t7MYn+jhLL0Mf3PSwZU50Vidc1To1IHkbFSGBGIFHFFEzl8QnXEZS4hr/y3o/teezj0c6HAn8nlDRUzRVBEDXWMdV6kCcGpCccTIrqHzpqTY0vV0UkOTQFnDQKBgAxSEhm/gtCYJIMCBe+KBJT9uECV5xDQopTTjsGOkd4306EN2dyPOIlAfwM6K/0qWisa0Ei5i8TbRRuBeTTdLEYLqXCJ7fj5tdD1begBdSVtHQ2WHqzPJSuImTkFi9NXxd1XUyZFM3y6YQvlssSuL7QSxUIEtZHnrJTt3QDd10dj",
		"refreshLockInterval": "10m"
	},
	"tenants": {
		"baseDir": "",
		"baseDomain": "",
		"filenameSecret": "secret.key",
		"filenameLicense": "license.lic",
		"defaultTenant": "localhost",
		"cache" : {
			"stdTTL": 300,
			"checkperiod": 60,
			"useClones": false
		}
	},
	"services": {
		"CoAuthoring": {
			"server": {
				"port": 8000,
				"workerpercpu": 1,
				"mode": "development",
				"limits_tempfile_upload": 104857600,
				"limits_image_size": 26214400,
				"limits_image_download_timeout": {
					"connectionAndInactivity": "2m",
					"wholeCycle": "2m"
				},
				"callbackRequestTimeout": {
					"connectionAndInactivity": "10m",
					"wholeCycle": "10m"
				},
				"healthcheckfilepath": "../public/healthcheck.docx",
				"savetimeoutdelay": 5000,
				"edit_singleton": false,
				"forgottenfiles": "forgotten",
				"forgottenfilesname": "output",
				"maxRequestChanges": 20000,
				"openProtectedFile": true,
				"editorDataStorage": "editorDataMemory",
				"assemblyFormatAsOrigin": true,
				"newFileTemplate" : "../../document-templates/new",
				"downloadFileAllowExt": ["pdf"],
				"tokenRequiredParams": true
			},
			"requestDefaults": {
				"headers": {
					"User-Agent": "Node.js/6.13",
					"Connection": "Keep-Alive"
				},
				"gzip": true,
				"rejectUnauthorized": false
			},
			"autoAssembly": {
				"enable": false,
				"interval": "5m",
				"step": "1m"
			},
			"utils": {
				"utils_common_fontdir": "null",
				"utils_fonts_search_patterns": "*.ttf;*.ttc;*.otf",
				"limits_image_types_upload": "jpg;jpeg;jpe;png;gif;bmp"
			},
			"sql": {
				"type": "postgres",
				"tableChanges": "doc_changes",
				"tableResult": "task_result",
				"dbHost": "localhost",
				"dbPort": 5432,
				"dbName": "onlyoffice",
				"dbUser": "onlyoffice",
				"dbPass": "onlyoffice",
				"charset": "utf8",
				"connectionlimit": 10,
				"max_allowed_packet": 1048575,
				"pgPoolExtraOptions": {}
			},
			"redis": {
				"name": "redis",
				"prefix": "ds:",
				"host": "localhost",
				"port": 6379,
				"options": {}
			},
			"pubsub": {
				"maxChanges": 1000
			},
			"expire": {
				"saveLock": 60,
				"presence": 300,
				"locks": 604800,
				"changeindex": 86400,
				"lockDoc": 30,
				"message": 86400,
				"lastsave": 604800,
				"forcesave": 604800,
				"saved": 3600,
				"documentsCron": "0 */2 * * * *",
				"files": 86400,
				"filesCron": "00 00 */1 * * *",
				"filesremovedatonce": 100,
				"sessionidle": "1h",
				"sessionabsolute": "30d",
				"sessionclosecommand": "2m",
				"pemStdTTL": "1h",
				"pemCheckPeriod": "10m",
				"updateVersionStatus": "5m",
				"monthUniqueUsers": "1y"
			},
			"ipfilter": {
				"rules": [{"address": "*", "allowed": true}],
				"useforrequest": false,
				"errorcode": 403
			},
			"request-filtering-agent" : {
				"allowPrivateIPAddress": true,
				"allowMetaIPAddress": true
			},
			"secret": {
				"inbox": {"string": "secret", "file": ""},
				"outbox": {"string": "secret", "file": ""},
				"session": {"string": "secret", "file": ""}
			},
			"token": {
				"enable": {
					"browser": false,
					"request": {
						"inbox": false,
						"outbox": false
					}
				},
				"inbox": {
					"header": "Authorization",
					"prefix": "Bearer ",
					"inBody": false
				},
				"outbox": {
					"header": "Authorization",
					"prefix": "Bearer ",
					"algorithm": "HS256",
					"expires": "5m",
					"inBody": false,
					"urlExclusionRegex": ""
				},
				"session": {
					"algorithm": "HS256",
					"expires": "30d"
				},
				"verifyOptions": {
					"clockTolerance": 60
				}
			},
			"plugins": {
				"uri": "/sdkjs-plugins",
				"autostart": []
			},
			"themes": {
				"uri": "/web-apps/apps/common/main/resources/themes"
			},
			"editor":{
				"spellcheckerUrl": "",
				"reconnection":{
					"attempts": 50,
					"delay": "2s"
				},
				"websocketMaxPayloadSize": "1.5MB",
				"maxChangesSize": "0mb"
			},
			"sockjs": {
				"sockjs_url": "",
				"disable_cors": true,
				"websocket": true
			},
			"callbackBackoffOptions": {
				"retries": 0,
				"timeout":{
					"factor": 2,
					"minTimeout": 1000,
					"maxTimeout": 2147483647,
					"randomize": false
				},
				"httpStatus": "429,500-599"
			}
		}
	},
	"license" : {
		"license_file": "",
		"warning_limit_percents": 70,
		"packageType": 0
	},
	"FileConverter": {
		"converter": {
			"maxDownloadBytes": 104857600,
			"downloadTimeout": {
				"connectionAndInactivity": "2m",
				"wholeCycle": "2m"
			},
			"downloadAttemptMaxCount": 3,
			"downloadAttemptDelay": 1000,
			"maxprocesscount": 1,
			"fontDir": "null",
			"presentationThemesDir": "null",
			"x2tPath": "null",
			"docbuilderPath": "null",
			"args": "",
			"spawnOptions": {},
			"errorfiles": "",
			"streamWriterBufferSize": 8388608,
			"maxRedeliveredCount": 2,
			"inputLimits": [
				{
				"type": "docx;dotx;docm;dotm",
				"zip": {
					"uncompressed": "50MB",
					"template": "*.xml"
				}
				},
				{
				"type": "xlsx;xltx;xlsm;xltm",
				"zip": {
					"uncompressed": "300MB",
					"template": "*.xml"
				}
				},
				{
				"type": "pptx;ppsx;potx;pptm;ppsm;potm",
				"zip": {
					"uncompressed": "50MB",
					"template": "*.xml"
				}
				}
			]
		}
	}
}

I have attempted every solution I could find on google so any other help would be greatly appriciated.

hello @headtech61 welcome to the forum :handshake:

Please use the search - lot of issues have been discussed already.

https:// doesn’t work with IP addresses - you need valid hostname for your office system!

OnlyOffice integration is similar to Collabora, please review this guide espacially regarding DNS and TLS likely it will help to nail the issue Nextcloud Collabora integration.

in my experience https works fine with ip address as long as its for internal use, which in my case it is.

my server logs don’t seem to indicate this being a connection or ip issue.

I was under the impression that it was a JWT authorization issue.

do you have any other suggestions?

Thanks for your reply! :slight_smile:

from the mechanics described in the integration wiki you can see there is communication triangle between Nextcloud, Office system and client browser - depending on the issue each of this components might have valuable logs. As your NC reports an errors (when you configure OnlyOffice) this might be the good point to start. Consider increasing log verbosity