"Connection Closed" Sync Errors after upgrade to 29.0.8.1

Hello!

This has gotten a little frustrating, after upgrading my instance from 29.0.7 to 29.0.8 my desktop client has started reporting sync errors with the message “Connection Closed” and no other details.

After waiting about 10 minutes (on a local connection) the files eventually sync. In the meantime it throws out notification errors every minute.

I can see no related messages in my error logs on my server when I am performing this sync.

I have tried changing maxChunkSize to “0”.

I wish there were some kind of logs that I could make for this. Any suggestions would be very greatly appreciated.

There are some issues with Nextcloud client v3.14.x

Try to use the older version 3.13.4
Download here - Release Release 3.13.4 · nextcloud-releases/desktop · GitHub
It works fine for me.

Thank you for the suggestion Vawaver; I did as you suggested and made a clean install of 3.13.4; the messages are still appearing in the client. I validated that I have the correct version installed and I made sure I removed all of the previous client (registry, appdata directories, etc).

Here’s a log excerpt:

2024-10-10 20:30:20:887 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\abstractnetworkjob.cpp:365 ]:` `OCC::LsColJob created for "https://[servername]" + "" ""
2024-10-10 20:30:20:895 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\gui\creds\webflowcredentials.cpp:405 ]:` `request finished
2024-10-10 20:30:20:895 [ info nextcloud.sync.networkjob.lscol C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\networkjobs.cpp:386 ]:` `LSCOL of QUrl("https://[servername]/remote.php/dav/uploads/DisKnot/3985545334") FINISHED WITH STATUS "OK"
2024-10-10 20:30:20:895 [ info nextcloud.sync.propagator.upload.ng C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\propagateuploadng.cpp:178 ]:` `Resuming "Photos/2024/10/06/20241006_215642.NEF" from chunk 1 ; sent = 0
2024-10-10 20:30:20:895 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\accessmanager.cpp:67 ]:` `3 "" "https://[servername]/remote.php/dav/uploads/DisKnot/3985545334/00001" has X-Request-ID "e8e485d3-5e3a-4ba0-a032-4dc93184a51d"
2024-10-10 20:30:20:896 [ debug nextcloud.sync.cookiejar C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\cookiejar.cpp:90 ]` `[ OCC::CookieJar::cookiesForUrl ]:` `QUrl("https://[servername]/remote.php/dav/uploads/DisKnot/3985545334/00001") requests: QList(QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=Lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=[servername]; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=Strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=[servername]; path=/"), QNetworkCookie("oc_sessionPassphrase=9Wep6z6VgyJZwn5VZtfbc1nr6pCmAic%2FXww69NahIGku%2BwsToCEGpA4Gpg61kyWlrts1zj2Jre4JkU2SejInNOJqTHN8bNyrIwdmQGr%2F5owJqbVQSSpqU%2FS98MHJ8tAX; secure; HttpOnly; SameSite=Lax; domain=[servername]; path=/"), QNetworkCookie("oc0pmra3dtme=61am5tija5g1b388uqdqugs81k; secure; HttpOnly; SameSite=Lax; domain=[servername]; path=/"))
2024-10-10 20:30:20:896 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\abstractnetworkjob.cpp:365 ]:` `OCC::PUTFileJob created for "https://[servername]" + "" "OCC::PropagateUploadFileNG"
2024-10-10 20:30:20:896 [ warning default unknown:0 ]:` `QString::arg: 1 argument(s) missing in Syncing %1 (A few seconds left)
2024-10-10 20:30:20:902 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\gui\creds\webflowcredentials.cpp:405 ]:` `request finished
2024-10-10 20:30:20:902 [ warning nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\abstractnetworkjob.cpp:223 ]:` `QNetworkReply::RemoteHostClosedError "Connection closed" QVariant(Invalid)
2024-10-10 20:30:20:902 [ warning nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\gui\creds\webflowcredentials.cpp:207 ]:` `QNetworkReply::RemoteHostClosedError
2024-10-10 20:30:20:902 [ warning nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\gui\creds\webflowcredentials.cpp:208 ]:` `"Connection closed"
2024-10-10 20:30:20:902 [ info nextcloud.sync.networkjob.put C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\propagateupload.cpp:87 ]:` `PUT of "https://[servername]/remote.php/dav/uploads/DisKnot/3985545334/00001" FINISHED WITH STATUS "RemoteHostClosedError Connection closed" QVariant(Invalid) QVariant(Invalid)
2024-10-10 20:30:20:902 [ debug nextcloud.sync.propagator.upload C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\propagateupload.cpp:672 ]` `[ OCC::PropagateUploadFileCommon::commonErrorHandling ]:` `""
2024-10-10 20:30:20:902 [ warning nextcloud.sync.propagator C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\owncloudpropagator.cpp:288 ]:` `Could not complete propagation of "Photos/2024/10/06/20241006_215642.NEF" by OCC::PropagateUploadFileNG(0x2d45457dd20) with status OCC::SyncFileItem::NormalError and error: "Connection closed"

The rest of the debug logs are here: debug_logs.zip - Google Drive

I’ve also switched to my laptop which hasn’t upgraded its client (it’s still on 3.13.4 as well) and it has the same errors.

Have you check e.g. 10 MB

maxChunkSize=10000000

Maybe you can also test targetChunkUploadDuration or timeout.

documentation

Thanks for the helpful suggestions. I found errors in the apache log related to modsec and increased

SecRequestBodyLimit

which fixed my issue.