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

Continouse Connection Erros without real issues #1035

Open
GVLLIFESTYLE opened this issue Oct 23, 2024 · 3 comments
Open

Continouse Connection Erros without real issues #1035

GVLLIFESTYLE opened this issue Oct 23, 2024 · 3 comments

Comments

@GVLLIFESTYLE
Copy link

The Plugin is after a few hours always telling that there is no connection to the onlyoffice server. But this is not the case. It always has one.

After navigation to the settings and clicking again on save in the app, I'll receive:

Settings have been successfully updated (version 8.2.0.143)

Version Nextcloud:30.0.1
Version App: 9.5.0

No Errors at Nextcloud Logs.

@rob-sve
Copy link

rob-sve commented Oct 31, 2024

I'm seeing this as well. I get that notification every few hours. When that happens it actually does NOT work on my end, but as you say it's as simple as going into the app settings and hitting Save to fix it until it happens again.

Nextcloud version: 30.0.1
ONLYOFFICE app version: 9.5.0
Community Document Server app version: 0.1.18

I also found that if I run the occ onlyoffice:documentserver --check command it will instantly break, and I have to go back into the app settings and save again. And I'm not sure if this is related or not, but while testing that command I noticed that it is apparently looking in the wrong sub directory:

$ sudo occ onlyoffice:documentserver --check
Error connection: Client error: `GET https://example.com/nc/nc/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.DztXNNQZoLfcOxdXU1ZM7mMFbeqsImW_j_GRrGFhplE` resulted in a `404 Not Found` response:
<!DOCTYPE html>
        <head>
                <meta charset="utf-8" />
                <title>Error 404 - Not Found</title>
                <style>
                        html, body { marg (truncated...)

I have my nextcloud installation accessible from a subdirectory of my web server's document root, under /nc/, but as you can see in the error above it is looking in /nc/nc/ which does in fact not exist. nextcloud-server actually fixed an issue just like this recently in nextcloud/server#47883. Perhaps a similar fix is needed for the onlyoffice integration?

@SergeyKorneyev
Copy link

@GVLLIFESTYLE
You could take a look at the Document Server logs and/or adjust Nextlcoud's log level to see if there are any records that could point to the cause of the issue. Alternatively, you can disable the check using the editors_check_interval parameter like described here: https://github.com/ONLYOFFICE/onlyoffice-nextcloud?tab=readme-ov-file#known-issues

@rob-sve
The most common fix for this is to try specifying Nextcloud's address in the "Advanced server settings" section of the connector options. If that does not help, you could also disable the check.

@GVLLIFESTYLE
Copy link
Author

I will try :)
Thanks

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

No branches or pull requests

3 participants