Members App: Secure Downloads: Downloads fail (timeout?)
File downloads by logged members start normally, but fail after a few minutes with a "Connection to server was reset" error.
The files are saved in a secure bucket outside of www root and can be quite large (from 70KB to 1.2GB). Failed downloads can happen even with small files.
Could it be a timeout issue with the PHP script that streams the secure files? Session timeout is set to 24 minutes (see diagnostics report below), but the connection reset happens after just a few minutes (5 approximately).
Perch: 2.7.9, PHP: 5.4.34, MySQL: 5.1.73, with PDO Server OS: Linux, fpm-fcgi Installed apps: content (2.7.9), assets (2.7.9), categories (2.7.9), perch_members (1.1), perch_backup (1.2) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_members' ); [...] Image manipulation: GD PHP limits: Max upload 64M, Max POST 64M, Memory: 512M, Total max file upload: 64M Resource folder writeable: Yes [...] HOSTING SETTINGS PHP: 5.4.34 Zend: 2.4.0 OS: Linux SAPI: fpm-fcgi Safe mode: not detected MySQL client: 5.1.73 MySQL server: 5.1.73-2+squeeze+build1+1-log Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, mbstring, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, standard, posix, pspell, Reflection, imap, SimpleXML, soap, sockets, Phar, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcache, cgi-fcgi, mhash, ionCube Loader, Zend OPcache GD: Yes ImageMagick: No PHP max upload size: 64M PHP max form post size: 64M PHP memory limit: 512M Total max uploadable file size: 64M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes
Any help appreciated.