Nextcloud desktop client connection lost

[details=“Support intro”]

any few hours my nextcloud desktop client looses its connection to the nextcloud server.

i am on xubuntu and the server is a fresh official docker install

this message is printed:

2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: screenRect: QRect(0,0 1920x1080)
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: taskbarRect: QRect(0,0 1920x32)
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: taskbarScreenEdge: OCC::Systray::TaskBarPosition::Bottom
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: trayIconCenter: QPoint(1275,742)
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: taskbarScreenEdge: OCC::Systray::TaskBarPosition::Bottom
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: screenRect: QRect(0,0 1920x1080)
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: windowRect (reference) QRect(1075,533 401x511)
2020-10-11 17:04:26:129 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: windowRect (adjusted ) QRect(1075,533 401x511)
2020-10-11 17:04:26:205 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: screenRect: QRect(0,0 1920x1080)
2020-10-11 17:04:26:205 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: taskbarRect: QRect(0,0 1920x32)
2020-10-11 17:04:26:205 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: taskbarScreenEdge: OCC::Systray::TaskBarPosition::Bottom
2020-10-11 17:04:26:205 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowReferencePoint ]: trayIconCenter: QPoint(1275,742)
2020-10-11 17:04:26:206 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: taskbarScreenEdge: OCC::Systray::TaskBarPosition::Bottom
2020-10-11 17:04:26:206 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: screenRect: QRect(0,0 1920x1080)
2020-10-11 17:04:26:206 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: windowRect (reference) QRect(1075,533 401x511)
2020-10-11 17:04:26:206 [ debug nextcloud.gui.systray ] [ OCC::Systray::computeWindowPosition ]: windowRect (adjusted ) QRect(1075,533 401x511)
2020-10-11 17:04:26:268 [ debug default ] [ unknown ]: static bool LibSecretKeyring::writePassword(const QString&, const QString&, const QString&, QKeychain::JobPrivate::Mode, const QByteArray&, QKeychain::JobPrivate*)
2020-10-11 17:04:26:373 [ debug default ] [ unknown ]: static bool LibSecretKeyring::writePassword(const QString&, const QString&, const QString&, QKeychain::JobPrivate::Mode, const QByteArray&, QKeychain::JobPrivate*)
2020-10-11 17:39:55:691 [ debug default ] [ unknown ]: static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2020-10-11 17:39:56:241 [ debug default ] [ unknown ]: static bool LibSecretKeyring::deletePassword(const QString&, const QString&, QKeychain::JobPrivate*)
2020-10-11 17:39:56:247 [ debug default ] [ unknown ]: static bool LibSecretKeyring::deletePassword(const QString&, const QString&, QKeychain::JobPrivate*)
2020-10-11 17:39:56:253 [ debug default ] [ unknown ]: static bool LibSecretKeyring::deletePassword(const QString&, const QString&, QKeychain::JobPrivate*)

any tipps?

There are no error messages in the log you posted. It is all debug messages.

You should rather check nextlcoud logs on the server to see what they say. Also, are you sure it is not a network issue?

my server log does not contain any related messages.
network is fine. i can transfer multiple gbit files without any problems - through nextcloud or other ways

Are the logs that you posted from the time when the connection loss occurred?

Yes. Afterwards linux desktop client icon is grey and i have to relogin.

@Florian_Werner you write in threadtitle… “desktop client” and “iOS” - which one is this all about? About desktop client under MacOS or NC-client under iOS?

And there is missing any further information about any involved system. I’m afraid it would be neccessary, though.

I was not talking about ios.
I forgot a t. I meant lost.

Please tell me what information you need and i will provide them.

i have added that for you… and well small “L” and capital “i” do look the same here with this font.

well as this thread was originall posted under support there’s usually a template that’s provided and asks for all neccessary information. you deleted that on purpose… so what about installing app issue_template and c&p the results here?

Steps to reproduce

Just start it and after a few synced files it loosed connection and i have to relogin

Expected behaviour

Sync works

Actual behaviour

It looses connection constantly

Server configuration detail

Operating system: Linux 4.4.213-rk3399 #3 SMP Mon Oct 5 15:53:54 CEST 2020 aarch64

Webserver: nginx/1.19.3 (fpm-fcgi)

Database: mysql 10.5.6

PHP version:

7.4.11
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, pdo_sqlite, session, posix, readline, Reflection, standard, SimpleXML, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, exif, gd, gmp, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache

Nextcloud version: 20.0.0 - 20.0.0.9

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: Official docker

Signing status

Array
(
)

List of activated apps
Enabled:
 - activity: 2.13.1
 - bruteforcesettings: 2.0.1
 - calendar: 2.1.2
 - cloud_federation_api: 1.3.0
 - contacts: 3.4.0
 - contactsinteraction: 1.1.0
 - dav: 1.16.0
 - federatedfilesharing: 1.10.1
 - files: 1.15.0
 - files_external: 1.11.1
 - files_pdfviewer: 2.0.1
 - files_rightclick: 0.17.0
 - files_sharing: 1.12.0
 - files_trashbin: 1.10.1
 - files_versions: 1.13.0
 - files_videoplayer: 1.9.0
 - issuetemplate: 0.7.0
 - logreader: 2.5.0
 - lookup_server_connector: 1.8.0
 - notifications: 2.8.0
 - oauth2: 1.8.0
 - password_policy: 1.10.1
 - photos: 1.2.0
 - previewgenerator: 3.0.1
 - privacy: 1.4.0
 - provisioning_api: 1.10.0
 - settings: 1.2.0
 - sharebymail: 1.10.0
 - systemtags: 1.10.0
 - tasks: 0.13.4
 - theming: 1.11.0
 - twofactor_backupcodes: 1.9.0
 - updatenotification: 1.10.0
 - viewer: 1.4.0
 - workflowengine: 2.2.0
Disabled:
 - accessibility
 - admin_audit
 - comments
 - dashboard
 - encryption
 - external
 - federation
 - files_markdown
 - firstrunwizard
 - nextcloud_announcements
 - recommendations
 - serverinfo
 - socialsharing_twitter
 - support
 - survey_client
 - text
 - user_ldap
 - user_status
 - weather_status

Configuration (config/config.php)
{
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "ghost.my-gateway.de"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "20.0.0.9",
    "overwrite.cli.url": "http:\/\/ghost.my-gateway.de",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "overwritehost": "ghost.my-gateway.de",
    "overwriteprotocol": "https",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "password": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "maintenance": false
}

Are you using external storage, if yes which one: local

Are you using encryption:

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Mozilla/5.0 (Linux; Android 10; CLT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36

Operating system: Linux arch and xubuntu. Client from flatpak and repo

Logs

Web server error log
Nothing to see there related to this error
Nextcloud log
Nothing to see there related to this error
Browser log

No problem with browser

i solved the problem by adding fastcgi_buffering off to the supplied nginx.conf. it works now.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.