Client connection closed

Steps to reproduce

  1. Open desktop client.
  2. Attemp to connect to OC server with valid username and pw.

Expected behaviour

Typically the client connects.

Actual behaviour

Get a connection closed error

Server configuration

Operating system:
Centos 7

Web server:
Apache 2.4.37

MySQL/MariaDB 5.7

PHP version:

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
paste the results into and puth the link here.

The content of config/config.php:

<?php $CONFIG = array ( 'instanceid' => 'ocfj3jxt4ebt', 'passwordsalt' => '***REMOVED SENSITIVE VALUE***', 'secret' => '***REMOVED SENSITIVE VALUE***', 'trusted_domains' => array ( 0 => '', ), 'datadirectory' => '/home/docs/ownclouddata', 'overwrite.cli.url' => '', 'dbtype' => 'mysql', 'version' => '', 'dbname' => 'docs_ownc238', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'docs_ownc238', 'dbpassword' => 'm8.p5r3-SN', 'logtimezone' => 'UTC', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_from_address' => 'admin', 'mail_domain' => '', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => '', 'mail_smtpport' => '465', 'mail_smtpname' => '', 'mail_smtppassword' => '***REMOVED SENSITIVE VALUE***', 'filelocking.enabled' => false, 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, 'password' => '', ), 'updater.secret' => '***REMOVED SENSITIVE VALUE***', 'theme' => '', 'loglevel' => 2, 'maintenance' => false, ); ``` Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems. ``` **List of activated apps:** ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your ownCloud installation folder. ``` **Are you using external storage, if yes which one:** local/smb/sftp/... No **Are you using encryption:** yes/no No **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... No ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your ownCloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ``` ### Client configuration **Browser:** Chrome **Operating system:** Windows 10 ### Logs #### Web server error log ``` Insert your webserver log here ``` #### ownCloud log (data/owncloud.log) ``` Insert your ownCloud log here ``` #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ``` This installation has been running fine. Something on the server must have changed. I can connect via browser but not via desktop client. I added a fresh install to the server and I cannot connect the desktop client to the fresh install either.


i did the following search:"connection%20closed" and found many topics about a similar message. Have you tried to review those to see if you can find a solution within the existing threads?