I’m facing an unique problem where Onlyoffice document server only runs under a unique circumstance. The whole scenario is detailed below:
- When Onlyoffice document server is first initialized it throws the following error when downloading from Azure Blob Storage
[2025-03-27T04:27:38.907] [ERROR] [localhost] [25425978-4431-4504-8141-f58369178708] [uid-1741872651130] nodeJS - error downloadFile:url=https://closehaven.blob.core.windows.net/closehavenppp/25425978-4431-4504-8141-f58369178708-vision_statement.docx?se=2025-03-27T05%3A27%3A33Z&sp=r&sv=2024-11-04&sr=b&sig=f8tBM7xSTMe2sGyT9wG0Sl7Dqc8XQ1sSnzojzqGlQDw%3D;attempt=3;code:null;connect:null Error: Error response: statusCode:400; headers:{“content-length”:“297”,“content-type”:“application/xml”,“server”:“Microsoft-HTTPAPI/2.0”,“x-ms-request-id”:“954ace02-301e-0017-4ad0-9efb8a000000”,“date”:“Thu, 27 Mar 2025 04:27:38 GMT”};
at Request.fResponse (/snapshot/server/Common/sources/utils.js)
at Request.emit (node:events:527:28)
at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
at ClientRequest.emit (node:events:527:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
at TLSSocket.socketOnData (node:_http_client:494:22)
at TLSSocket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
- This shows “Download Failed” error in my application.
- Now I update /etc/onlyoffice/documentserver/local.json using a local.json file by docker compose. And start the document server container again.
- Then in my application 403 nginx error arrives.
- This time I again start the document server without any local.json file, but it runs perfectly fine.
So I really do not how where the issue is coming from, and how to fix the issue. If the local.json is needed it is the one shown below:
{
“services”: {
“CoAuthoring”: {
“sql”: {
“type”: “postgres”,
“dbHost”: “localhost”,
“dbPort”: “5432”,
“dbName”: “onlyoffice”,
“dbUser”: “onlyoffice”,
“dbPass”: “onlyoffice”
},
“redis”: {
“host”: “localhost”
},
“token”: {
“enable”: {
“request”: {
“inbox”: true,
“outbox”: true
},
“browser”: false
},
“inbox”: {
“header”: “Authorization”,
“inBody”: false
},
“outbox”: {
“header”: “Authorization”,
“inBody”: false
}
},
“secret”: {
“inbox”: {
“string”: “321911d217ac1dc299c413a364662fba689881104cc667127ccfca33bfc709bf”
},
“outbox”: {
“string”: “321911d217ac1dc299c413a364662fba689881104cc667127ccfca33bfc709bf”
},
“session”: {
“string”: “321911d217ac1dc299c413a364662fba689881104cc667127ccfca33bfc709bf”
}
}
}
},
“rabbitmq”: {
“url”: “amqp://guest:guest@localhost”
},
“wopi”: {
“enable”: false,
“privateKey”: “…”,
“privateKeyOld”: “…”,
“publicKey”: “…”,
“publicKeyOld”: “…”,
“modulus”: “…”,
“modulusOld”: “…”,
“exponent”: 65537,
“exponentOld”: 65537
},
“storage”: {
“fs”: {
“secretString”: “…”
}
}
}
I’ve tried with AuthorizationJwt but the 403 nginx error shows up