Try the fastest and simplest way to install ONLYOFFICE

OnlyOffice Integration not working

Issues during installation, usage and configuring

OnlyOffice Integration not working

Postby bkpfast » Thu Aug 02, 2018 7:52 am

Hi,

we are evaluating Nextcloud and are comparing it with OneDrive für Business.

For Office (collaboration not necessary) we would like to use OnlyOffice Integration Server On Premise – no public cloud services.

At the moment we are running Nextcloud on Ubuntu Server18.04.1 LTS:
We secured it with certificates signed by our own PKI –works without any problems.
Now we installed OnlyOffice Integration Server on Windows (Yeah, Yeah I know…);
this server alos got certificates signed by our PKI – works (test page…).
The issue is that Nextcloud works as if there were no OnlyOffice Plugin.
So when you open a doc or docx for example just the download dialogie pops up so that I can open the document with my local Office or save it to disk.
The welcome page works like a charme

But when I try to configure the connector it does not work.
For our OnlyOffice Integration config please see attached screenshot.
When I click „save“ long time nothing happens.
Nextcloud log says: „
Error onlyoffice CommandRequest on check error: Bad Request oder Timeout Fehlermeldung 2018-08-01T15:05:43+0200

Error PHP file_get_contents(https://onlyoffice.xxxxx.xxxxx.de/coaut ... rvice.ashx): failed to open stream: HTTP request failed! At var/www/html/nextcloud/apps/onlyoffice/lib/documentservice.php#351

OnlyOffice Out_Log says:

2018-08-01 16:04:47.535] [ERROR] nodeJS - [AMQP] Error: connect ECONNREFUSED 127.0.0.1:5672
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)

I tried hosts file, configuring Windows firewall, onlyoffice’=>array(‘verify_peer_off’=>true).
Until now it does not run

Help would be really appreciated.

Thanks in advance
Attachments
Config_Nextcloud.png
Config_Nextcloud.png (26.7 KiB) Viewed 1712 times
bkpfast
 
Posts: 4
Joined: Wed Aug 01, 2018 2:14 pm

Re: OnlyOffice Integration not working

Postby Maxim » Fri Aug 03, 2018 8:50 am

Hello bkpfast !
Do you get response from the Nextcloud to Document Server?
Code: Select all
wget https://Document_Server/web-apps/apps/api/documents/api.js
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Re: OnlyOffice Integration not working

Postby bkpfast » Mon Aug 06, 2018 8:39 am

Hello Maxim,

thank you very much fpr the answer!
When I use the short name of our OnlyOffice Server ist does not work (common name certificate issue).

But when using FQDN it works without problems, please see attached screenshot.
HTTP request sent, awaiting response... 200 OK
Length: 26779 (26K) [application/javascript]
Saving to: ‘api.js’

api.js 100%[========================================================================================================================================>] 26.15K --.-KB/s in 0s

2018-08-06 10:30:37 (103 MB/s) - ‘api.js’ saved [26779/26779]
Attachments
wget_OnlyOffice.png
wget_OnlyOffice.png (19.63 KiB) Viewed 1683 times
bkpfast
 
Posts: 4
Joined: Wed Aug 01, 2018 2:14 pm

Re: OnlyOffice Integration not working

Postby Maxim » Mon Aug 13, 2018 8:54 am

Hello bkpfast!
FQDN it works without problems

It means that Document Server is accessible for Nextcloud using FQDN.
Please check using "wget command" access to Nextcloud from Document Server.
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Re: OnlyOffice Integration not working

Postby bkpfast » Tue Aug 14, 2018 11:51 am

Hello,

Document server to Nextcloud server:
1. Shortname
C:\install\wget-1.19.4-win64>wget https://nextcloud/web-apps/apps/api/documents/api.js
--2018-08-13 15:07:39-- https://nextcloud/web-apps/apps/api/documents/api.js
Resolving nextcloud (nextcloud)... 10.XX.XX.XX
Connecting to nextcloud (nextcloud)|10.XX.XX.XX|:443... connected.
ERROR: cannot verify nextcloud's certificate, issued by 'CN=XXXXXX XXXXXXXXX PKI001,DC=XXXXXX,DC=XXXXXXXXX,DC=de':
Unable to locally verify the issuer's authority.
ERROR: no certificate subject alternative name matches
requested host name 'nextcloud'.
To connect to nextcloud insecurely, use `--no-check-certificate'.

2. FQDN
C:\install\wget-1.19.4-win64>wget https://nextcloud.XXXXXX.XXXXXXXXX.de/w ... nts/api.js
--2018-08-13 15:08:15-- https://nextcloud.XXXXXX.XXXXXXXXX.de/w ... nts/api.js
Resolving nextcloud.XXXXXX.XXXXXXXXX.de (nextcloud.XXXXXX.XXXXXXXXX.de)... 10.XX.XX.XX
Connecting to nextcloud.XXXXXX.XXXXXXXXX.de (nextcloud.XXXXXX.XXXXXXXXX.de)|10.XX.XXX.XX|:443... connected.
ERROR: cannot verify nextcloud.XXXXXX.XXXXXXXXX.de's certificate, issued by 'CN=XXXXXX XXXXXXXXX PKI001,DC=XXXXXX,DC=XXXXXXXXX,DC=de':
Unable to locally verify the issuer's authority.
To connect to nextcloud.XXXXXX.XXXXXXXXX.de insecurely, use `--no-check-certificate'.

But next to OnlyOffice we do not have any issues with Nextcloud no matter what browser or tool (curl) we use.

Thanks in advance
/bkpfast
bkpfast
 
Posts: 4
Joined: Wed Aug 01, 2018 2:14 pm

Re: OnlyOffice Integration not working

Postby Maxim » Mon Aug 20, 2018 1:14 pm

Hello bkpfast!
Unable to locally verify the issuer's authority.
Please add intermediate certs (chain certs)
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Re: OnlyOffice Integration not working

Postby bkpfast » Tue Aug 21, 2018 2:30 pm

Hi,
Thanky You very much.

Where (config file...) should I add intermediate what (Neytcloud server , Onlyoffice server) intermediate certificates?

Thanks in advance!

regards
/bkpfast
bkpfast
 
Posts: 4
Joined: Wed Aug 01, 2018 2:14 pm

Re: OnlyOffice Integration not working

Postby Maxim » Mon Aug 27, 2018 6:31 am

Hello bkpfast!
Please see here
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 2 guests

cron