office在线协作
下载了o2oa,安装了office在线协作数据,打开显示 未定义描述,应用市场上说的安装步骤不对吧。
详细错误截图,还有您的配置截图一下 本帖最后由 isyunketu 于 2022-9-28 12:50 编辑
现在可以打开应用了,但是编辑文档就报下载失败,我是按照你们的文章配置的。https://www.o2oa.net/cms/tech/156.html
这个秘钥设置成空试试
还是不行 您那边查下onlyoffice的日志,里面应该有个下载错误的 地址,拷贝出来浏览器上访问看看 nodeJS - error downloadFile:url=http://localhost:80/x_onlyoffice_assemble_control/jaxrs/onlyofficefile/file/92294213-1c43-468f-95ed-cb81923c3a44/0;attempt=1;code:undefined;connect:undefined;(id=-815193370)
Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Thu, 29 Sep 2022 10:19:25 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","x-powered-by":"Express","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"};
at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
at Request.emit (events.js:400:28)
at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1059:10)
at ClientRequest.emit (events.js:400:28)
at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
at Socket.socketOnData (_http_client.js:515:22)
at Socket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:290:12)
at readableAddChunk (internal/streams/readable.js:265:9)
at Socket.Readable.push (internal/streams/readable.js:204:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
nodeJS - error downloadFile:url=http://localhost:80/x_onlyoffice_assemble_control/jaxrs/onlyofficefile/file/92294213-1c43-468f-95ed-cb81923c3a44/0;attempt=2;code:undefined;connect:undefined;(id=-815193370)
Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Thu, 29 Sep 2022 10:19:26 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","x-powered-by":"Express","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"};
at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
at Request.emit (events.js:400:28)
at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1059:10)
at ClientRequest.emit (events.js:400:28)
at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
at Socket.socketOnData (_http_client.js:515:22)
at Socket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:290:12)
at readableAddChunk (internal/streams/readable.js:265:9)
at Socket.Readable.push (internal/streams/readable.js:204:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
nodeJS - error downloadFile:url=http://localhost:80/x_onlyoffice_assemble_control/jaxrs/onlyofficefile/file/92294213-1c43-468f-95ed-cb81923c3a44/0;attempt=3;code:undefined;connect:undefined;(id=-815193370)
Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Thu, 29 Sep 2022 10:19:27 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","x-powered-by":"Express","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"};
at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
at Request.emit (events.js:400:28)
at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1059:10)
at ClientRequest.emit (events.js:400:28)
at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
at Socket.socketOnData (_http_client.js:515:22)
at Socket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:290:12)
at readableAddChunk (internal/streams/readable.js:265:9)
at Socket.Readable.push (internal/streams/readable.js:204:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
nodeJS - Express server starting...
nodeJS - Set services.CoAuthoring.token.enable.browser, services.CoAuthoring.token.enable.request.inbox, services.CoAuthoring.token.enable.request.outbox in the Document Server config to prevent an unauthorized access to your documents and the substitution of important parameters in ONLYOFFICE Document Server requests.
nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
nodeJS - Express server listening on port 8000 in production-linux mode. Version: 7.1.1. Build: 23
nodeJS - Express server starting...
nodeJS - Set services.CoAuthoring.token.enable.browser, services.CoAuthoring.token.enable.request.inbox, services.CoAuthoring.token.enable.request.outbox in the Document Server config to prevent an unauthorized access to your documents and the substitution of important parameters in ONLYOFFICE Document Server requests.
nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
nodeJS - Express server listening on port 8000 in production-linux mode. Version: 7.1.1. Build: 23
nodeJS - postData error: docId = -815193370;url = http://localhost:80/x_onlyoffice_assemble_control/IndexServlet?type=track&fileName=92294213-1c43-468f-95ed-cb81923c3a44.docx&userAddress=192.168.134.210&filePath=2022-09-28;data = {"key":"-815193370","status":1,"users":["xadmin"],"actions":[{"type":1,"userid":"xadmin"}]}
Error: Error response: statusCode:404; headers:{"server":"nginx","date":"Thu, 29 Sep 2022 10:19:25 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","x-powered-by":"Express","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-encoding":"gzip"}; body:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /x_onlyoffice_assemble_control/IndexServlet</pre>
</body>
</html>
at Request._callback (/snapshot/server/build/server/Common/sources/utils.js)
at Request.callback (/snapshot/server/build/server/Common/node_modules/request/request.js:185:22)
at Request.emit (events.js:400:28)
at Request.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1154:10)
at Request.emit (events.js:400:28)
at Gunzip.<anonymous> (/snapshot/server/build/server/Common/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:519:28)
at Gunzip.emit (events.js:400:28)
at endReadableNT (internal/streams/readable.js:1317:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
isyunketu 发表于 2022-9-29 18:25
nodeJS - Express server starting...
配合文件里不要使用127.0.0.1,使用正常的ip试试。
页:
[1]