-
Notifications
You must be signed in to change notification settings - Fork 168
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
logout when uploading a big folder with a lot of subfolders and files #8977
Comments
Oof that is going to be a nasty one I believe. It looks like the access token can't be renewed during an upload with many files because the network is already crowded with pending & failing requests that eventually lead to a timeout. The timeout comes from the oidc-client-ts lib, needs more debugging. A simple solution would be to decrease the limit of concurrent tus requests. Currently it is set to 20 (the default described in the uppy docs is wrong). Setting it to 5 should work for most cases and is maybe a good idea either way. |
Sometimes the upload just works fine, I suspect (and if you like I can try to prove it) that its about how busy the system and/or the browser is |
Yes I agree, seems to be heavily related to the system/browser load (and of course the token expiring during the upload). No need to prove it, I can reproduce it quite well on my machine 🙂 Next step for me is to debug the |
Okay so the timeout can be increased actually via a config. Unfortunately this just shifts the problem the bootstrap process afterwards, which then fails. The main problem stays the same: Too many concurrent request blocking the proper handling of a token renewal. I think limiting the amount of concurrent requests is a quick fix as well as a good thing either way (see #8987). It should solve this issue here (hopefully). We should still keep the option in mind to introduce some kind of request queue. But that would be a bigger task and something for the future. |
Fixed via #8987 -> closing here. |
Steps to reproduce
Expected behaviour
folder should be uploaded
Actual behaviour
after a while the uploads fail with

401
and the user gets logged outEnvironment general
Operating system:
Ubuntu
Backend (ownCloud Core or Infinite Scale):
ocis
Environment ownCloud Infinite Scale
Version:
3.0.0 rc2
Updated from an older Infinite Scale or fresh install:
updated from 3.0.0 rc1
Where did you install Infinite Scale from:
download.owncloud.org
Client configuration
Browser:
Firefox 112
Operating system:
Ubuntu
Logs
Web server error log
Browser log
CC @dragonchaser
The text was updated successfully, but these errors were encountered: