-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Connection to server lost" error when uploading/downloading large files #4678
Comments
I'm absolutely no expert here, but it sounds more like a server configuration error than a Nextcloud error (especially since it was the same behavior on 11.X as well), but I might be wrong. What is your upload max setting in PHP? Is this server behind a proxy? |
|
Ok, I use a reverse proxy too, and before I figured out that I needed to bypass the proxy and upload directly to the backend I had similar issues as you - the uploads would just stop. I use Nginx as a reverse proxy and I had to add a setting in my Nginx conf so that all the files that where uploaded was sent directly to my Apache backend, and in Apache I created a upload-tmp dir where all the files ended up. That solved my issue anyway. Never touched Nebula (heard it's neat though) so I can't help you there, but start investigating your settings. That's what I would do to find out where it stops and why. I wrote a blog post about increasing max size here: https://www.techandme.se/increase-max-file-size/ |
This would be fixed by making the web ui support chunked and resumeable upload. This is by far the most wanted feature by me and my colleagues. |
@cowai Would be great, indeed. |
Nebula's just my name for the instance; I'm not actually using Nebula. Investigating my settings, I don't see caddy doing any sort of buffering. There's buffering on php-fpm's end, but I tried turning that off and it didn't seem to have any effect. |
same issue with nextcloud 12 and caddy. All was ok with same caddy config and v11 |
I have upgraded caddy and problem has gone. |
Let's focus on the chunked upload for now and for setup issues ask in the forums: https://help.nextcloud.com |
Steps to reproduce
Expected behaviour
File should be uploaded and stored in the directory of the user's file share.
Actual behaviour
Uploaded ceases abruptly with a "connection to server lost" error.
This error has also been seen when downloading large files to an Android device, and sporadically when listing files or using the News app.
Server configuration
Operating system: Debian jessie
Web server: nginx 1.13.0 (based on Docker image wonderfall/nginx-php)
Database: MariaDB 10.1.22+maria-1~jessie (based on Docker image mariadb)
PHP version: 7.1.4 (based on Docker image wonderfall/nginx-php)
Nextcloud version: 12.0.0 (but also seen on 11.2 and 11.3)
Redis version: 3.2.8 (based on Docker image redis:alpine)
Updated from an older Nextcloud/ownCloud or fresh install: Upgraded from older version, but verified present on clean install of 11.3.
Where did you install Nextcloud from: Docker container based on wonderfall/nextcloud:12.0
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Pale Moon 27.2.1 (also seen with Firefox 53.0)
Operating system: Manjaro Linux
Logs
Web server error log
Web server error log
No errors present in error log.
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
No errors present in browser log.
The text was updated successfully, but these errors were encountered: