Error Syncing from desktop client "Connection Closed"

#desktop ## Expected behaviour
Tell us what should happen
It should Sync all files from local to remote server

Actual behaviour

Tell us what happens instead
Some file are showing error “Connection Closed”

Steps to reproduce

  1. I’ve tried to change the folders names
  2. I’ve updated the desktop client
  3. I’ve tried resync and fore sync

Server configuration

Operating system:
CentOS 7.7
Web server:
Apache
Database:
MySQL
PHP version:
7.2
ownCloud version:
10.3.2.2
Storage backend (external storage):
Local storage

Client configuration

Client version:
3.2.1.10355
Operating system:
Win10 version 22H2
OS language:
English
Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:
"C:\Program Files (x86)\ownCloud

Logs

Please use Gist (gist.github com/) or a similar code paster for longer
logs.
430ms)
23-03-09 11:37:14:243 [ debug sync.database.sql ] [ OCC::SqlQuery::exec ]: SQL exec: Estimated query: “INSERT OR REPLACE INTO uploadinfo (path, chunk, transferid, errorcount, size, modtime, contentChecksum) VALUES ( ‘1. Year 2020-2022-1/ARVR Educational Solution Introductory Handover Session/ARVR Educational Solution Introductory Handover Session - Presentation.ppsx’ , ‘0’, ‘2933545781’ , ‘0’ , ‘671015058’, ‘1652335648’ , ‘SHA1:94f04069a9ae3c129ebe5aee084aa71c5de68278’ )” Actual query: “INSERT OR REPLACE INTO uploadinfo (path, chunk, transferid, errorcount, size, modtime, contentChecksum) VALUES ( ‘1. Year 2020-2022-1/ARVR Educational Solution Introductory Handover Session/ARVR Educational Solution Introductory Handover Session - Presentation.ppsx’ , 0, 2933545781 , 0 , 671015058, 1652335648 , ‘SHA1:94f04069a9ae3c129ebe5aee084aa71c5de68278’ )” Try: 0
23-03-09 11:37:14:243 [ debug sync.database.sql ] [ OCC::SqlQuery::exec ]: Last exec affected 1 rows.
23-03-09 11:37:14:243 [ debug sync.database ] [ OCC::SyncJournalDb::commitInternal ]: Transaction commit “Upload info” and starting new transaction
23-03-09 11:37:14:244 [ info sync networkjob ]: Created OCC::MkColJob(OCC::Account(“Alaa Turkee@cloud.ucg.ltd”), “cloud.ucg.ltd/remote.php/dav/uploads/alaa.t/2933545781”, “MKCOL”, Original-Request-ID: “19ad16dc-4ff9-4f80-a24a-027a35d11ce0”, X-Request-ID: “19ad16dc-4ff9-4f80-a24a-027a35d11ce0”) for OCC::PropagateUploadFileNG(0x162498866a0)
23-03-09 11:37:16:605 [ info sync networkjob.put ]: PUT of “cloud.ucg.ltd/remote.php/dav/uploads/alaa.t/3489171264/0000000000000000” FINISHED WITH STATUS “RemoteHostClosedError, Connection closed” 0 QVariant(Invalid)

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)

empty result
2. Web server error log:
[Wed Mar 08 00:37:57.261204 2023] [lbmethod_heartbeat:notice] [pid 1222] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 08 00:37:57.263245 2023] [ssl:warn] [pid 1222] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 08 00:37:57.314254 2023] [mpm_prefork:notice] [pid 1222] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.29 configured – resuming normal operations
[Wed Mar 08 00:37:57.314268 2023] [core:notice] [pid 1222] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Wed Mar 08 00:38:01.556583 2023] [mpm_prefork:notice] [pid 1222] AH00171: Graceful restart requested, doing restart
[Wed Mar 08 00:38:01.716208 2023] [lbmethod_heartbeat:notice] [pid 1222] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 08 00:38:01.718028 2023] [ssl:warn] [pid 1222] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 08 00:38:01.940142 2023] [mpm_prefork:notice] [pid 1222] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.29 configured – resuming normal operations
[Wed Mar 08 00:38:01.940158 2023] [core:notice] [pid 1222] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Wed Mar 08 00:38:35.052363 2023] [core:error] [pid 1222] AH00546: no record of generation 31 of exiting child 25939
[Wed Mar 08 12:28:39.912505 2023] [mpm_prefork:notice] [pid 1222] AH00171: Graceful restart requested, doing restart
[Wed Mar 08 12:28:40.133212 2023] [lbmethod_heartbeat:notice] [pid 1222] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 08 12:28:40.187156 2023] [ssl:warn] [pid 1222] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 08 12:28:40.222926 2023] [mpm_prefork:notice] [pid 1222] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.29 configured – resuming normal operations
[Wed Mar 08 12:28:40.222943 2023] [core:notice] [pid 1222] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Wed Mar 08 12:28:44.287622 2023] [mpm_prefork:notice] [pid 1222] AH00171: Graceful restart requested, doing restart
[Wed Mar 08 12:28:44.373828 2023] [lbmethod_heartbeat:notice] [pid 1222] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 08 12:28:44.375858 2023] [ssl:warn] [pid 1222] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 08 12:28:44.405108 2023] [mpm_prefork:notice] [pid 1222] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.29 configured – resuming normal operations
3. Server logfile: ownCloud log (data/owncloud.log):
{“reqId”:“96876c1b-c17c-4715-a8d1-2cf3ce3c31e4”,“level”:4,“time”:“2023-03-09T02:46:20+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/1.%20Year%202020-2022-1/Gitex%202022/ECC%20Gitex%202022%20v5.mp4-chunking-4113574710-8-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}
{“reqId”:“27b6c831-c081-47f8-b1cf-b0d4ecd5b557”,“level”:4,“time”:“2023-03-09T02:54:09+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/0.%20Year%202023-1/0.%20Alaa’s%20%20Daily%20Tasks/ECC%20Profile%202023%20-%20Video/ECC%20Profile%202023%20V2.mp4-chunking-1851228265-11-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}
{“reqId”:“65f98cef-82a7-4fba-b6d6-e507821877ec”,“level”:4,“time”:“2023-03-09T04:05:55+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/1.%20Year%202020-2022-1/EMIRATES%20ID%20SDK%20-%20Maqta/id-card-toolkit-windows-applet-sdk-v2.0.2-r1.zip-chunking-3285661230-2-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}
{“reqId”:“7db2355b-1bb8-4c00-a397-4f0fde416b57”,“level”:4,“time”:“2023-03-09T04:16:12+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/0.%20Year%202023-1/0.%20Alaa’s%20%20Daily%20Tasks/ECC%20Profile%202023%20-%20Video/ECC%20Profile%202023%20V1.mp4-chunking-2843046230-12-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}
{“reqId”:“4cab6168-52e7-428f-8a28-d018716347b9”,“level”:4,“time”:“2023-03-09T05:32:00+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/0.%20Year%202023-1/0.%20Alaa’s%20%20Daily%20Tasks/Promo%202D%20Videos/teslam%20On-demand%20services%20system_V19%20-%20Promo%20-%2005%20July%202022.mp4-chunking-2234170996-17-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}
{“reqId”:“2873faa8-e0fc-4f55-9ba4-a0a6db3e3305”,“level”:4,“time”:“2023-03-09T05:52:02+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/0.%20Year%202023-1/0.%20Alaa’s%20%20Daily%20Tasks/Promo%202D%20Videos/teslam%20On-demand%20services%20system_V19%20-%20Promo%20-%2005%20July%202022.mp4-chunking-2234170996-17-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}
{“reqId”:“104af82f-41f0-4a5e-a395-7e66137e34e2”,“level”:4,“time”:“2023-03-09T06:11:28+00:00”,“remoteAddr”:“92.96.146.129”,“user”:“alaa.t”,“app”:“webdav”,“method”:“PUT”,“url”:“/remote.php/dav/files/alaa.t/0.%20Year%202023-1/0.%20Alaa’s%20%20Daily%20Tasks/Promo%202D%20Videos/teslam%20On-demand%20services%20system_V19%20-%20Promo%20-%2005%20July%202022.mp4-chunking-2234170996-17-0”,“message”:“Exception: HTTP/1.1 503 Specified header (HTTP_OC_CHUNKED/OC-Chunked header) is allowed only in webdav endpoint: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Specified header (HTTP_OC_CHUNKED\/OC-Chunked header) is allowed only in webdav endpoint","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96): OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448): Sabre\\DAV\\Server->emit(‘beforeMethod:PU…’, Array)\n#2 \/var\/www\/html\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/owncloud\/apps\/dav\/lib\/Server.php(326): Sabre\\DAV\\Server->start()\n#4 \/var\/www\/html\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#5 \/var\/www\/html\/owncloud\/remote.php(165): require_once(‘\/var\/www\/html\/o…’)\n#6 {main}","File":"\/var\/www\/html\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/ValidateRequestPlugin.php","Line":96}”}

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