Nextcloud version: 11.0.2
Operating system and version: Fedora 25
Apache or nginx version: 2.4.25
PHP version: 7.0.17
Is this the first time you’ve seen this error?: No
Can you reliably replicate it? (If so, please outline steps): Yes
The issue you are facing:
Even though I have done everything in Uploading big files > 512MB,
uploading large files constantly fails. This also happens with the desktop sync client.
Steps to reproduce:
- Get a large file, preferably > 4 GB. I’ve had files around 50MB fail as well though.
- Select “No limit” under upload speed settings in desktop client. This isn’t necessary but triggers the behavior faster.
- Make sure your desktop client is in same network as your server. I haven’t been able to reproduce this over the internet. I think because the upload speed isn’t fast enough.
- File upload will fail. Desktop sync will report
Error while reading: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac
- Server logs will report HTTP 400 expected filesize errors (pasted below)
It seems that uploads fail when uploaded at high speeds.
The output of your Nextcloud log in Admin > Logging:
`
Apr 04 22:31:25 benxiao-server01 ownCloud[12438]: {webdav} Exception: {“Message”:“HTTP/1.1 400 expected filesize 10000000 got 6356992”,“Exception”:“Sabre\DAV\Exception\BadRequest”,“Code”:0,“Trace”:"#0 /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php(104): OCA\DAV\Connector\Sabre\File->createFileChunked(Resource id #469)\n#1 /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(137): OCA\DAV\Connector\Sabre\File->put(Resource id #469)\n#2 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1072): OCA\DAV\Connector\Sabre\Directory->createFile(‘The.Machinist.2…’, Resource id #469)\n#3 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(525): Sabre\DAV\Server->createFile(‘The.Machinist.2…’, Resource id #469, NULL)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit(‘method:PUT’, Array)\n#7 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php(60): Sabre\DAV\Server->exec()\n#9 /var/www/html/nextcloud/remote.php(165): require_once(’/var/www/html/n…’)\n#10 {main}",“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:405,“User”:“benxiao”}
Apr 04 22:31:25 benxiao-server01 ownCloud[12203]: {webdav} Exception: {“Message”:“HTTP/1.1 400 expected filesize 10000000 got 5701632”,“Exception”:“Sabre\DAV\Exception\BadRequest”,“Code”:0,“Trace”:"#0 /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php(104): OCA\DAV\Connector\Sabre\File->createFileChunked(Resource id #469)\n#1 /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(137): OCA\DAV\Connector\Sabre\File->put(Resource id #469)\n#2 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1072): OCA\DAV\Connector\Sabre\Directory->createFile(‘The.Machinist.2…’, Resource id #469)\n#3 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(525): Sabre\DAV\Server->createFile(‘The.Machinist.2…’, Resource id #469, NULL)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit(‘method:PUT’, Array)\n#7 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php(60): Sabre\DAV\Server->exec()\n#9 /var/www/html/nextcloud/remote.php(165): require_once(’/var/www/html/n…’)\n#10 {main}",“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:405,“User”:“benxiao”}
Apr 04 22:31:25 benxiao-server01 ownCloud[12188]: {webdav} Exception: {“Message”:“HTTP/1.1 400 expected filesize 10000000 got 5570560”,“Exception”:“Sabre\DAV\Exception\BadRequest”,“Code”:0,“Trace”:"#0 /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php(104): OCA\DAV\Connector\Sabre\File->createFileChunked(Resource id #469)\n#1 /var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php(137): OCA\DAV\Connector\Sabre\File->put(Resource id #469)\n#2 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1072): OCA\DAV\Connector\Sabre\Directory->createFile(‘The.Machinist.2…’, Resource id #469)\n#3 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(525): Sabre\DAV\Server->createFile(‘The.Machinist.2…’, Resource id #469, NULL)\n#4 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 /var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit(‘method:PUT’, Array)\n#7 /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php(60): Sabre\DAV\Server->exec()\n#9 /var/www/html/nextcloud/remote.php(165): require_once(’/var/www/html/n…’)\n#10 {main}",“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:405,“User”:“benxiao”}
`
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
"system": { "instanceid": "ocpleicxwygq", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "benxiao.me" ], "datadirectory": "\/var\/www\/html\/nextcloud\/data", "overwrite.cli.url": "https:\/\/benxiao.me\/nextcloud", "dbtype": "mysql", "version": "11.0.2.7", "dbname": "owncloud_db", "dbhost": "localhost", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_smtpmode": "smtp", "mail_from_address": "REMOVED", "mail_domain": "gmail.com", "mail_smtpsecure": "tls", "mail_smtpauthtype": "LOGIN", "mail_smtphost": "smtp.gmail.com", "mail_smtpport": "587", "theme": "", "maintenance": false, "log_type": "syslog", "logfile": "", "loglevel": 2, "appstore.experimental.enabled": false, "trashbin_retention_obligation": "auto", "htaccess.RewriteBase": "\/nextcloud", "updater.release.channel": "stable", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***" },