nextcloud / nextcloud/desktop

[Bug]: Connection closed Error when sync big files (more than 1GB) via PerApp tunnel connection

Open
#7,219 2 comments 0 reactions 0 assignees View on GitHub
0. Needs triage
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 21h
Merged PRs (30d)
127

Description

### ⚠️ Before submitting, please verify the following: ⚠️

- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)

### Bug description

Nextcloud desktop client randomly closes connection when tries to sync big files (>1Gb) from Nextcloud via PerAPP tunnel connection
Tuning chunkSize on ther server side or on the client side doesn't help.
On nginx reverse proxy buffers are disabled.

[20240923_1251_nextcloud.log.1.gz](https://github.com/user-attachments/files/17150490/20240923_1251_nextcloud.log.1.gz)
[20240923_1251_nextcloud.log.0.gz](https://github.com/user-attachments/files/17150491/20240923_1251_nextcloud.log.0.gz)

### Steps to reproduce

1. Connect to PerAPP tunnel
2. Upload big file via Nextloud web-interface
3. Try to sync it through desktop client

### Expected behavior

File is synced successfully

### Which files are affected by this bug

Windows 11 23H2.iso

### Operating system

Windows

### Which version of the operating system you are running.

Windows 11

### Package

Official Windows MSI

### Nextcloud Server version

29.0.6

### Nextcloud Desktop Client version

3.14.0, 3.13.4, 3.12.7

### Is this bug present after an update or on a fresh install?

Fresh desktop client install

### Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

### Are you using an external user-backend?

- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [X] SSO - SAML
- [ ] Other

### Nextcloud Server logs

_No response_

### Additional info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.