-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem accessing Document server #161
Comments
@ejgutierrez74, please specify some additional information about the problem:
|
My first idea is to have all working in same server, accessing nextcloud with nextcloud.eduardo.com and docuemt server in onlyoffice.eduardo.com, both virtualhosts, and using self-signed certificates ( i dont want to use them as is educational purpose, but some people and tutorials told me that it was mandatory to use https to connect onlyoffice and nextcloud. just to make it clearer you can find in the post a schema: and my nginx configurations in both sides: But as i didnt get with it im trying in different servers ( one ubuntuNC virtual machine and other UbuntuDS virtual machine... https://help.nextcloud.com/t/not-able-to-connect-to-document-server/64337 Also error with self-signed certificate:
Dont know the problem because ive also tried with nextcloud.eduardo.com instead of 192.168.1.52, both names should be valid to generate self-signed certificates using openssl. Seem problem is related to self-signed certificate that doesnt work well with document server...
I hve to add that probably this problem is related with ssl in both docker-document server and "normal" document server installation in Ubuntu Linux. |
@ejgutierrez74, please note that self-signed certificates cannot be trusted that is why you get these errors. Please try to disable verification of self-signed certificates by Nextcloud and Document Server. In order to do that on the side of Nextcloud, open config.php and the following section:
As for the Document Server, open default.json in /etc/onlyoffice/documentserver/ (inside the docker container for docker installation) and find Integration between Nextcloud and Document Server is also possible if both of the instances are using HTTP protocol. |
You can use internal IP for requests between Nextcloud and ONLYOFFICE containers. Please enter them in What version of connector are you using? |
Latest one installed in NC |
I have a LEMP instance with ubuntu 18.04 …
My /etc/hosts:
127.0.0.1 localhost
127.0.0.1 nextcloud.eduardo.com
127.0.0.1 onlyoffice.eduardo.com
I have a working instance of nextcloud in: nextcloud.eduardo.com, and i want that file server would connect to onlyoffice which is in onlyoffice.eduardo.com…
I have installed document server using deb package as your documentation says…And seems to work as i can read the message document server works in onlyoffice.eduardo.com
Also would like that default server would be localhost pointing to /var/www/html as usual…
Here is all my configuration nginx in /etc/nginx
https://drive.google.com/drive/u/1/folders/1I2ZiRUKqmm8u5U5TsqyoOKUvfTwY-SPA
Now the problem im facing is that from nextcloud onlyoffice app i cant connect to http://onlyoffice.eduardo.com 2 ( before i was able), it gives unknown error connection not possible.
Summarising and sorry for my bad english:
in browser i go to nextcloud.eduardo.com and works
onlyoffice.eduardo.com and works ( the screen which says document server is running)
But when i want to connect the nextcloud with this app to onlyoffice i got the error:
Error in nextcloud app onlyoffice:
Error al intentar establecer la conexión (Se ha producido un error en el servicio de documentos: Unknown error)
From log:
Also if i curl both sites they work.
If you need some aditional information dont doubt to ask me...
The text was updated successfully, but these errors were encountered: