Hello,
I am reaching out for assistance with an integration challenge we are facing between ONLYOFFICE and Odoo.
We are utilizing the ONLYOFFICE Odoo Connector versions 2.1.0 and 2.0.0, along with the ONLYOFFICE Odoo Documents Connector versions 2.1.0 and 2.0.0, in our setup which includes Odoo 16.0+e (Enterprise Edition) and Odoo 17.0+e (Enterprise Edition).
Our system consists of Odoo, Nextcloud, PostgreSQL, and the ONLYOFFICE Document Server (image: onlyoffice/documentserver:latest which should be currently v8) , each operating within its own Docker container.
(also onlyoffice/documentserver:7.2 was tested)
Following Document Server Ports are open:
ports:
- 8085:80
- 3000:3000
- 8000:8000
- 4369:4369
- 5672:5672
We have been able to open and edit documents stored in Nextcloud seamlessly, and the example site functions perfectly for document creation, editing, or uploading. However, we encounter issues when attempting to open documents stored in Odoo.
This issue has been ongoing for approximately six months, during which we have made several attempts to establish a functional connection between ONLYOFFICE and Odoo, unfortunately, without success. We have ensured that the services.CoAuthoring.request-filtering-agent.allowPrivateIPAddress
setting is configured to true
to allow access to private IP addresses.
Error Description: The specific error we encounter when trying to open documents stored in Odoo is detailed in the logs as follows:
css
ODOO_NET_ONLYOFFICE | [2024-02-11T19:15:30.816] [ERROR] [localhost] [1676ecb1ec97e1d78be3df63789092a263897a9a32a] [2] nodeJS - error downloadFile:url=http://192.168.17.11:8075/onlyoffice/file/content/167?oo_security_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mn0.UdrgFcba6pfOYOl9Uu0NGxPb_Y51KFhOzxDz64X5L8E;attempt=3;code:null;connect:null Error: Error response: statusCode:404; headers:{"content-type":"text/html; charset=utf-8","content-length":"232","server":"Werkzeug/2.0.2 Python/3.10.12","date":"Sun, 11 Feb 2024 19:15:30 GMT"};
ODOO_NET_ONLYOFFICE | at Request.fResponse (/snapshot/server/Common/sources/utils.js)
ODOO_NET_ONLYOFFICE | at Request.emit (node:events:527:28)
ODOO_NET_ONLYOFFICE | at Request.onRequestResponse (/snapshot/server/Common/node_modules/request/request.js:1066:10)
ODOO_NET_ONLYOFFICE | at ClientRequest.emit (node:events:527:28)
ODOO_NET_ONLYOFFICE | at HTTPParser.parserOnIncomingClient (node:_http_client:631:27)
ODOO_NET_ONLYOFFICE | at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
ODOO_NET_ONLYOFFICE | at Socket.socketOnData (node:_http_client:494:22)
ODOO_NET_ONLYOFFICE | at Socket.emit (node:events:527:28)
ODOO_NET_ONLYOFFICE | at addChunk (node:internal/streams/readable:315:12)
ODOO_NET_ONLYOFFICE | at readableAddChunk (node:internal/streams/readable:289:9)
ODOO_NET_ONLYOFFICE | at Socket.Readable.push (node:internal/streams/readable:228:10)
ODOO_NET_ONLYOFFICE | at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
This error suggests that the document server is unable to find the requested document, resulting in a 404 status code.
Request for Assistance: We are seeking your guidance and support in resolving this issue. Are there any known compatibility issues, configuration settings, or additional troubleshooting steps that we should consider to resolve this error? Any insights or recommendations would be greatly appreciated.
Please let me know if further information, logs, configuration settings is needed to diagnose and address this problem more effectively.
Thank you for your attention and assistance with this matter.
Maybe it will help some of the people here too: Onlyoffice return Download failed #18
Best regards,