Skip to content
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

Onlyoffice App does not work with nextcloud 13 #162

Closed
gema2007 opened this issue Mar 9, 2018 · 16 comments
Closed

Onlyoffice App does not work with nextcloud 13 #162

gema2007 opened this issue Mar 9, 2018 · 16 comments

Comments

@gema2007
Copy link

gema2007 commented Mar 9, 2018

After Upgrade on Nextcloud 13 on Ubuntu 16.04 no office documents are opened in the browser and no new documents can be made. Onlyoffice runs with docker.

I think the app ins’t working properly. If you klick on the “+” on the top of the page there is no icon any more for office documents.

The logfile says: "file_get_contents(https://…de:8443/coauthoring/CommandService.ashx): failed to open stream: Connection timed out at /www/…de/nextcloud/apps/onlyoffice/lib/documentservice.php#351
CommandRequest on check error: Bad Request oder Timeout Fehlermeldung

Onlyoffice Server is still running.

I reinstalled the App.

@vjernej
Copy link

vjernej commented Mar 12, 2018

I have the same problem.
There is no timeout because there is no connection generated at all.

@ibnpetr
Copy link

ibnpetr commented Mar 12, 2018

@vjernej The NC server address must be accessible from ONLYOFFICE Document Server and vice versa. If you access Nextcloud/Owncloud via HTTPS, please make sure that the certificate can be verified from the server itself and from inside the container with Document Server.
@gema2007 just try wget https://…de:8443
Similar issues #74 or #85

@gema2007
Copy link
Author

gema2007 commented Mar 12, 2018

wget https://lokal.gesamtschule-marienheide.de:8443
--2018-03-12 17:25:24-- https://lokal.gesamtschule-marienheide.de:8443/
Auflösen des Hostnamens lokal.gesamtschule-marienheide.de (lokal.gesamtschule-marienheide.de)… 78.94.96.115
Verbindungsaufbau zu lokal.gesamtschule-marienheide.de (lokal.gesamtschule-marienheide.de)|78.94.96.115|:8443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Moved Temporarily
Platz: https://lokal.gesamtschule-marienheide.de:8443/welcome/ [folgend]
--2018-03-12 17:25:24-- https://lokal.gesamtschule-marienheide.de:8443/welcome/
Wiederverwendung der bestehenden Verbindung zu lokal.gesamtschule-marienheide.de:8443.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 4592 (4,5K) [text/html]
Wird in »index.html« gespeichert.

index.html 100%[=======================================================>] 4,48K --.-KB/s in 0s

2018-03-12 17:25:25 (286 MB/s) - »index.html« gespeichert [4592/4592]

I think there is no problem with certificates

Installing the App has no effect.

screenshot_20180312_173514
screenshot_20180312_173441

@alexanderonlyoffice
Copy link

@gema2007, go to the Administration section in Nextcloud and try to save ONLYOFFICE address settings once again. Please send us a screenshot, if there are any issues when saving the settings.

@gema2007
Copy link
Author

A timeout happens
screen

@alexanderonlyoffice
Copy link

Hello @gema2007,

We connected your document server to our Nextcloud instance and the settings were successfully saved, files can be opened and edited.

It seems that the document server is inaccessible for your Nextcloud.

@gema2007
Copy link
Author

Now it works!
There was a wrong entry in my /etc/hosts

Thank you!

@alexanderonlyoffice
Copy link

@gema2007, we are glad the issue has been resolved.

@vjernej please specify if the issue still exists.

@arnowelzel
Copy link

arnowelzel commented Mar 15, 2018

Can you tell me, if shared editing works for spreadsheets in your environment? If two users open the same spreadsheet - do they see each other in the user list and are the changes from one user visible by the other?

@alexanderonlyoffice
Copy link

Hello @arnowelzel,

Yes, it works. Please see #164

@arnowelzel
Copy link

@alexanderonlyoffice the question was directed to the issue opener, @gema2007 - since I am curious if I am the only user with problems in spreadsheets.

@gema2007
Copy link
Author

gema2007 commented Mar 16, 2018 via email

@LinneyS LinneyS closed this as completed Mar 16, 2018
@vjernej
Copy link

vjernej commented Mar 17, 2018

@ibnpetr sorry for late response.
I still have issue.

After I click on save button the error message comes up: "Error when trying to connect (Bad Request or timeout error)"

I entered the following URI address in "Document Editing Service address" field: https://office.domain.com:8000.

I'm capturing traffic on office.domain.com in the mean time: no packet comes to the server.

If I run "telnet office.domain.com 8000" from nextcloud's CLI session I get the response from Onlyoffice server.

If I run php curl script on nextcloud's web server I get the response from onlyoffice server.

I don't see any error message in web server's error log fle.

I'm running php5. Is php7 required for connector to run successfuly?

@vjernej
Copy link

vjernej commented Mar 17, 2018

Eh, I found the issue: allow_url_fopen was blocking the connection.

@alexanderonlyoffice
Copy link

alexanderonlyoffice commented Mar 19, 2018

Hello @vjernej,

As far as we understood, the issue is resolved at the moment. Is that right or you still have problems?

@vjernej
Copy link

vjernej commented Mar 19, 2018

Hi @alexanderonlyoffice, yes, the problem is solved. Thank you for your concern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants