Desktop client has persistent "Connection Closed" messages

this doesn’t just happen with the desktop client. i’m also unable to add the files directly via the browser. other files work, just the large .pdfs have this issue. is there any workaround?

have also tried adding them to an archive first, but the same issue happens.

+1
I am experiencing the same thing. I’ve added the following. I have a bunch of files that are around 500MB to 800MB. Right now around 30 files.

I’m using Docker, Traefik and Redis

# PHP 7.x
<IfModule mod_php7.c>
  php_value mbstring.func_overload 0
  php_value default_charset 'UTF-8'
  php_value output_buffering 0
  php_value upload_max_filesize 16G
  php_value post_max_size 16G
  php_value max_input_time 3600
  php_value max_execution_time 3600
  <IfModule mod_env.c>
    SetEnv htaccessWorking true
  </IfModule>
</IfModule>

# PHP 8+
<IfModule mod_php.c>
  php_value mbstring.func_overload 0
  php_value default_charset 'UTF-8'
  php_value output_buffering 0
  php_value upload_max_filesize 16G
  php_value post_max_size 16G
  php_value max_input_time 3600
  php_value max_execution_time 3600
  <IfModule mod_env.c>
    SetEnv htaccessWorking true
  </IfModule>
</IfModule>
Also, in the .user.ini
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0
php_value upload_max_filesize 16G
php_value post_max_size 16G
php_value max_input_time 3600
php_value max_execution_time 3600

parts of my config.php

  'check_for_working_htaccess' => true,
  'filelocking.enabled' => true,
  'php_upload_limit' => '16G',

FWIW,
I also use Redis …

Thanks

I had the same problem after a new installatioin of NextCloud.
Then I noticed, that small files (less than 10kB) are synchronized, larger ones not - with the notive “Connection closed”.

As a try I changed the max size of a file to be transferred from 10G to 9G … and after that it worked without any problem!

Config → System limits → Max.Filesizt from 10G to 9G
Hope it helps others, too.
Michael

In my case, all files, small or large are failing with connection closed on a new computer. The problem was HP Sure sense or Sure click or Sure run that blocked any transfer silently. uninstall of these “tools” solved the issue.

Hi
I am having this problem with one file
where are these settings, client or Nexctcloud instance - I cant find this
Thanks

EDIT: Scratch that - I was looking at the wrong file. The problem in fact was that I had a return character in the filename of the file which seems to be possible in my OS:

Nextcloud Desktop Client

Version 3.6.2 (Arch). For more information please click here.

Using virtual files plugin: suffix

arch-5.15.79-1-lts