Sabre\DAV\Exception\BadRequest: Expected filesize of 100000000 bytes

I can`t uload big files more 1,3 G
I see error in client “Unable to Write” I push force Sync and some time file uploaded succesfuly.
And my log full of errors

Nextcloud version (eg, 18.0.1.3):
Operating system and version : Debian GNU/Linux 9.12
Apache or nginx version : nginx/1.10.3
PHP version :
Version: 7.4.3
Memory Limit: 2 GB
Max Execution Time: 3600
Upload max size: 16 GB

Security & setup warnings

All checks passed.

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): no

Steps to replicate it:

  1. read manual
  2. configure php mysql nginx nextcloud
  3. read forum

The output of your Nextcloud log in Admin > Logging:

{"reqId":"IcAV39mAz8Hg337MPAM5","level":4,"time":"2020-02-24T18:18:52+02:00","remoteAddr":"xxxxxx","user":"den","app":"webdav","method":"PUT","url":"/remote.php/dav/uploads/den/3224727377/00000020","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 100000000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 90619904 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":47,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->"},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":319,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":165,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":229,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/2.6.3stable-Win64 (build 20200217) (Nextcloud)","version":"18.0.1.3","id":"5e53f76cb2492"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'cloud',
  ),
  'datadirectory' => '',
  'dbtype' => 'mysql',
  'version' => '18.0.1.3',
  'overwrite.cli.url' => 'https://cloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'logtimezone' => 'Europe/Kiev',
  'logfile' => 'nextcloud.log',
  'updater.secret' => '',
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
  'mysql.utf8mb4' => true,
  'memcache.local' => '\OC\Memcache\APCu',
);

The output of your Apache/nginx/system log in /var/log/____:

xxxxxxx - one [24/Feb/2020:18:18:47 +0200] "PUT /remote.php/dav/uploads/one/932615644/00000022 HTTP/1.1" 201 0 "-" "Mo
zilla/5.0 (Windows) mirall/2.6.3stable-Win64 (build 20200217) (Nextcloud)"
127.0.0.1 - - [24/Feb/2020:18:18:47 +0200] "HEAD / HTTP/1.1" 404 0 "-" "Monit/5.20.0"
xxxxxxx - - [24/Feb/2020:18:18:47 +0200] "POST /index.php/apps/text/session/sync HTTP/1.1" 403 2 "-" "Mozilla/5.0 (Win
dows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0"
xxxxxxx - - [24/Feb/2020:18:18:52 +0200] "POST /index.php/apps/text/session/sync HTTP/1.1" 403 2 "-" "Mozilla/5.0 (Win
dows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0"
xxxxxxx - - [24/Feb/2020:18:18:52 +0200] "GET /index.php/apps/logreader/ptwo?lastReqId=AExyrFoHTWuqLzNyEU6o HTTP/1.1"
200 14438 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0"
xxxxxxx - two [24/Feb/2020:18:18:52 +0200] "PROPFIND /remote.php/dav/files/two/ HTTP/1.1" 207 396 "-" "Mozilla/5.0 (Wi
ndows) mirall/2.6.3stable-Win64 (build 20200217) (Nextcloud)"
xxxxxxx - - [24/Feb/2020:18:18:57 +0200] "POST /index.php/apps/text/session/sync HTTP/1.1" 403 2 "-" "Mozilla/5.0 (Win
dows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0"
xxxxxxx - one [24/Feb/2020:18:18:59 +0200] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 541 "-" "Mozilla/5.0
(Windows) mirall/2.6.3stable-Win64 (build 20200217) (Nextcloud)"
xxxxxxx - one [24/Feb/2020:18:18:59 +0200] "GET /remote.php/dav/avatars/one/128.png HTTP/1.1" 200 1561 "-" "Mozilla/5.
0 (Windows) mirall/2.6.3stable-Win64 (build 20200217) (Nextcloud)"

See your log. You db server went a way.
Have you checked your network connection?