Cloud Computing Insider Awards 2022: Vote for ONLYOFFICE
Vote for ONLYOFFICE

Nextcloud integration broken with documentserver 7.1 (URI malformed)

After upgrading onlyoffice-documentserver (on Debian Bullseye) from 7.0.1-37 to 7.1.0-215, the Nextcloud integration doesn’t work any longer. It always reports “Healthcheck failed”. The logfile at /var/log/onlyoffice/documentserver/converter/out.log logs the following error:

[2022-05-26T23:12:53.381] [ERROR] nodeJS - createTaskQueue error :
URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at new Url (/snapshot/server/build/server/Common/node_modules/url-parse/index.js:391:41)
    at Url (/snapshot/server/build/server/Common/node_modules/url-parse/index.js:245:12)
    at connect (/snapshot/server/build/server/Common/node_modules/amqplib/lib/connect.js:131:17)
    at Object.connect (/snapshot/server/build/server/Common/node_modules/amqplib/callback_api.js:14:3)
    at startConnect (/snapshot/server/build/server/Common/sources/rabbitMQCore.js)
    at /snapshot/server/build/server/Common/sources/rabbitMQCore.js
    at new Promise (<anonymous>)
    at Object.connetPromise (/snapshot/server/build/server/Common/sources/rabbitMQCore.js)
    at /snapshot/server/build/server/Common/sources/taskqueueRabbitMQ.js
    at Generator.next (<anonymous>)
    at onFulfilled (/snapshot/server/build/server/Common/node_modules/co/index.js:65:19)
    at /snapshot/server/build/server/Common/node_modules/co/index.js:54:5
    at new Promise (<anonymous>)
    at co (/snapshot/server/build/server/Common/node_modules/co/index.js:50:10)
    at initRabbit (/snapshot/server/build/server/Common/sources/taskqueueRabbitMQ.js)

The documentserver has JWT authentication configured and the Nextcloud integration app is configured to use it.

After downgrading onlyoffice-documentserver back to 7.0.1-37, it again works as expected.

Any ideas what could be the problem? Did anybody else face similar issues with Documentserver 7.1?

Since the nodeJS error seems to be related to RabbitMQ, I tried to switch RabbitMQ from the 3.8.9-3 package from Bullseye to 3.8.15-1 from cloudsmith, but that didn’t help at all.

Hi @doobry,

Yes, it seems like a RabbitMQ issue but we haven’t added any changes to message queues in this update. Could you please send me the following info?

  1. Screenshot of ONLYOFFICE connector app in Nextcloud.
  2. The config file /etc/onlyoffice/documentserver/local.json