Open Said113 opened 11 months ago
Hello,
Please try using the IP address for accessing Document Server instead of localhost and
make sure you set the parameter services.CoAuthoring.request-filtering-agent.allowPrivateIPAddress
in etc/onlyoffice/documentserver/default.json to true
(also, please note each modification of configuration files requires a restart of all Document Server services with systemctl restart ds-*
command in case with package installation type of the solution to apply the changes). This parameter defines if it is allowed to connect private IP address or not. This includes private IP addresses and reserved IP addresses.
hi, It's the same problem, I changed the url to 127.0.0.1:99 in odoo and set allowPrivateIPAddress : true in config file, and also restart the service but I still can't open any attachment
It's the same problem, I changed the url to 127.0.0.1:99 in odoo and set allowPrivateIPAddress : true in config file, and also restart the service but I still can't open any attachment me too
same problem, localhost. tried disabling JWT, no good
Same here.. accessing OnlyOffice from Nextcloud no Problem-. Access from Odoo not possible.
OnlyOffice is runing in a docker container
I Have found at least the reason/solution for my Problem:
After debugging every relevant method of the connector, I was able to find the following problem.
The controller (HTTP) routes which are defined in the connector do not work when there is more than one database present. Thats why it throws an 404 error and also can not be debugged with Postman.
So, I deleted all Odoo databases except one and voilà… Odoo16 and Odoo17 connector is working without any problem!
What a shame when I think about how long I have been searching for this error. :-) So, everyone who has a (download failed) problem… please make sure that only one database is present and try again…
Also discussed here: https://forum.onlyoffice.com/t/odoo-16-and-17-connector-not-working/7881/6
I have the same issue: I have odoo 16 and odoo 17 installed in different servers and onlyoffice in another server too. 1- Both Odoo 16 and 17 have the default database initialized but not used 2- In Odoo 16 I work in another DB beside the initialized one. OnlyOffice works nice. When I add extra DB it shows a warning the document cound be opend. but OnlyOffice still able to open the document and no problem after that. 3- Odoo 17 gives me the warning message and download failed so it is unable to open the document on OnlyOffice. however, if I create the document in the Document module (not uploading) via create with OnlyOffice then when it is opened, onlyoffice shows me a the warning message but it is still able to open the document. 4- Latest version of odoo and onlyoffice module installed. (17.0.2.1.0)
My setup is: each Odoo has its own nginx as reverse proxy. All 3 server use self-signed certificates. Odoo and OnlyOffice are using another server as DB. It doesn't matter allowPrivateIPAddress set to false or true.
each time when i open any attachment its return Download failed. onlyoffice installed in localhost without docker.