Nextcloud version Nextcloud 22.2.0
Operating system and version _Ubuntu 20.04.3 LTS
nginx version: nginx/1.18.0 (Ubuntu)
PHP 7.4.3 (cli) (built: Oct 25 2021 18:20:54) ( NTS )
The issue you are facing:
I have a webdav external storage .
I can’t download large file ( eg. 500MB ) .
Usually download stop at 10 MB.
any hints?
thank’s
rf
Is this the first time you’ve seen this error? _Y
Steps to replicate it:
- make a webdav external storage
- download a big files through the web UI
The output of your Nextcloud log in Admin > Logging:
{"reqId":"j6Bvssn0DSzdd5liIuVm","level":3,"time":"2021-12-15T14:43:16+00:00","remoteAddr":"","user":"ncadmin","app":"no app in context","method":"GET","url":"/index.php/apps/files/ajax/download.php?dir=%2FStorage2%2FCadwell%2FService%2FReinst&files=Installazione%20IOMAX&downloadStartSecret=6sp6dlnjg5b","message":"cURL error 28: Operation timed out after 30000 milliseconds with 45235274 out of 520974519 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://:5005/SoftCD/Cadwell/Service/Reinst/Installazione%20IOMAX/Cascade%20Surgical%20Studio%203.5.1520%20%28SP1%29/CadLink/CadLink%20Server%205.2.23%20Installer.exe","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.0.2","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Operation timed out after 30000 milliseconds with 45235274 out of 520974519 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://:5005/SoftCD/Cadwell/Service/Reinst/Installazione%20IOMAX/Cascade%20Surgical%20Studio%203.5.1520%20%28SP1%29/CadLink/CadLink%20Server%205.2.23%20Installer.exe","Code":0,"Trace":[{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::"},{"file":"/dati/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":146,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":35,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\\Client","type":"->"},{"file":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Http/Client/Client.php","line":223,"function":"request","class":"GuzzleHttp\\Client","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Storage/DAV.php","line":356,"function":"get","class":"OC\\Http\\Client\\Client","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":301,"function":"fopen","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":314,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":301,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":117,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/dati/www/nextcloud/apps/files_antivirus/lib/AvirWrapper.php","line":75,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":301,"function":"fopen","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/View.php","line":1169,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/View.php","line":1005,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Files/Node/File.php","line":114,"function":"fopen","class":"OC\\Files\\View","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Streamer.php","line":128,"function":"fopen","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Streamer.php","line":141,"function":"addDirRecursive","class":"OC\\Streamer","type":"->"},{"file":"/dati/www/nextcloud/lib/private/Streamer.php","line":141,"function":"addDirRecursive","class":"OC\\Streamer","type":"->"},{"file":"/dati/www/nextcloud/lib/private/legacy/OC_Files.php","line":204,"function":"addDirRecursive","class":"OC\\Streamer","type":"->"},{"file":"/dati/www/nextcloud/apps/files/ajax/download.php","line":77,"function":"get","class":"OC_Files","type":"::"},{"file":"/dati/www/nextcloud/lib/private/Route/Route.php","line":155,"args":["/dati/www/nextcloud/apps/files/ajax/download.php"],"function":"require_once"},{"function":"OC\\Route\\{closure}","class":"OC\\Route\\Route","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/dati/www/nextcloud/lib/private/Route/Router.php","line":309,"function":"call_user_func"},{"file":"/dati/www/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/dati/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/dati/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"CustomMessage":"--"},"id":"61b9ff054f1db"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocoa3igv2k1t',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '.net:81',
1 => '.net',
2 => .net',
),
'datadirectory' => '/dati/NCdata',
'overwrite.cli.url' => 'https://nextcloud..net',
'overwritehost' => 'nextcloud..net',
'overwriteprotocol' => 'https',
'dbtype' => 'mysql',
'version' => '22.2.0.2',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextclouduser',
'dbpassword' => '',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
'timeout' => 0.0,
),
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'trashbin_retention_obligation' => 'auto, 30',
'mysql.utf8mb4' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'mail_smtpmode' => 'smtp',
'mail_smtphost' => '127.0.0.1',
'mail_sendmailmode' => 'smtp',
'default_phone_region' => 'it',
'app_install_overwrite' =>
array (
0 => 'files_external_gdrive',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
.... - - [15/Dec/2021:15:43:16 +0100] "GET /index.php/apps/files/ajax/download.php?dir=%2FStorage2%2FCadwell%2FService%2FReinst&files=Installazione%20IOMAX&down
loadStartSecret=6sp6dlnjg5b HTTP/2.0" 200 10533734 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0"
.... - - [15/Dec/2021:15:43:17 +0100] "GET /apps/logreader/poll?lastReqId=H6ygNPHCuRRFhe2MjHoK HTTP/2.0" 200 1416 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; r
v:94.0) Gecko/20100101 Firefox/94.0"