Uploading large files fails


#1

Hi !
the uploading of large files fails after a while and restarts constantly (network LTE 4G) and when I am connected in wifi it works.

nginx seafile configuration:

	location / {
         proxy_pass         http://127.0.0.1:8000;
         proxy_set_header   Host $host;
         proxy_set_header   X-Real-IP $remote_addr;
         proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header   X-Forwarded-Host $server_name;
	 proxy_set_header   X-Forwarded-Proto https;
         proxy_read_timeout  1200s;

         # used for view/edit office file via Office Online Server
         client_max_body_size 0;

         access_log      /var/log/nginx/seahub.access.log;
         error_log       /var/log/nginx/seahub.error.log;
    }

        location /seafhttp {
            rewrite ^/seafhttp(.*)$ $1 break;
            proxy_pass http://127.0.0.1:8082;
            client_max_body_size 0;
	    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_connect_timeout  36000s;
            proxy_read_timeout  36000s;
            proxy_send_timeout  36000s;
            send_timeout  36000s;
	    proxy_request_buffering off;
        }

Seadroid 2.2.15 , Android 9.0 Pie , Seafile Server Pro 7.0.1 , Debian 9.8 with MariaDB 10.3

any help would be appreciated
Thank !


#2

Maybe try a large client_max_body_size, something around 200M