Unable to upload big files

Hello Pydio team,

I have an issue about uploading large files.
I was trying to upload a file around 3.7GB.

At first I was able to upload around 4% or 5% then it will stop and
Pydio web will log me out automatically.
So I set up the parameters in
Application Parameters -> Uploaders and server side(client_max_body_size 10500M)
It was much better.
I was able to upload around 75%.
But I still cannot finish the uploading.

====================================================
Error message from my browser:
Request URL:
Request method:DELETE
Remote address:x.x.x.x:443
Status code:
403
Version:HTTP/1.1
Referrer Policy:strict-origin-when-cross-origin

<?xml version="1.0" encoding="UTF-8"?>
AccessDeniedAccess Denied./io/personal-files/debian-10.5.0-amd64-DVD-1.iso
3L137

So finally I configured the inactivity:
Application Parameters -> All Plugins:
For security, disconnect user if there was no activity. Set to the cookie expiration by default
240

I’ve seen the uploading 100%.
But then I still cannot download the file. It didn’t succeed to upload.

And now when I logged to the same user, the window keeps popping up as the attached file.

Please help me with this.

Thank you very very much.

my configuration:

Pydio Cells Home Edition 2.1.6

Application Parameters -> Uploaders:
Maximum size per file allowed to upload
0
Switch to Multipart Upload for files bigger than this value(in bytes)
1073741824
Chunk Size used for multipart uploads, must be bigger than 5MB
1073741824
Number of concurrent uploads(maximum 6, due to browsers limitations)
6
Request Timeout(in minutes) for each concurrent part upload
600

Application Parameters -> All Plugins:
For security, disconnect user if there was no activity. Set to the cookie expiration by default
240
Alert the user that the web session is about to expire. Number of minutes beore session expiration.
300

server configuration:
server {
client_max_body_size 10500M;
server_name drivexxxxxx;

location / {
    #comment
    #proxy_pass_header Authorization; 
    proxy_buffering off;
    proxy_pass xxxxxxxxxxxx:8080$request_uri;
    #proxy_pass_request_headers on;
    #proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

location /ws {
    proxy_buffering off;
    proxy_pass xxxxxxxxxxx:8080;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_read_timeout 86400;
}

error_log /var/log/nginx/cells-proxy-error.log;
access_log /var/log/nginx/cells-proxy-access.log;

listen [::]:443 ssl;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/drive.xxxxxxxxxxxxxx.com/fullchain.pem; # managed by C$
ssl_certificate_key /etc/letsencrypt/live/drive.xxxxxxxxxxxxxx.com/privkey.pem; # managed by$
ssl_protocols	TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers         HIGH:!aNULL:!MD5;

}

server {
if ($host = drive.xxxxxxxxxxxxxx.com) {
return 301 https://$host$request_uri;
}

listen 80;
listen [::]:80;
server_name drive.xxxxxxxxxxxxxx.com;
return 404;![Pydio-Question|632x500](upload://jgmMvKdBi5AOdwaRl2OMLSnjyTB.png) 

}

the ‘are you still there?’ pop up issue has been resolved.

still not able to upload big files

hi,

I am able to upload the big file now.
In the server /home/pydio/.config/pydio/cells/pydio.json,
“pydio.web.oauth”: {
“accessTokenLifespan”: “240m”,
“connectors”: [

I’ve added the line below then it worked.
“accessTokenLifespan”: “240m”,

Before it always failed after 10 minutes of uploading.
After fix this jwt token issue, it works well.

Hello,

You seem to have misunderstood the chunk size param:

Chunk Size used for multipart uploads, must be bigger than 5MB
1073741824

It is the size of each small part of the multipart: it should be rather smaller so that each part can be uploaded in a reasonable amount of time to the server.

Something between 5 and 100 MB depending on the speed of your connection should work.

Could you please already try this?

Hi bsinou,

Thank you very much.
You are right.

I misunderstood it.
I will adjust the value to 10-20MB now.

Thanks again.

This topic was automatically closed 35 days after the last reply. New replies are no longer allowed.