-
Notifications
You must be signed in to change notification settings - Fork 189
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
6.4.0 Logout during uploads #10054
Comments
@kulmann @JammingBen any ideas? |
Some questions from my side:
|
I did some research here. It looks like it has nothing to do with the uploads. While I upload some files I switch between a various number of spaces. These spaces have round about 300-400 files in place which took quite a while to load. So I did this without uploading files and it happened again shortly after token renewal. For me it looks like the requests for loading the space use the old access token if token renewal happens while the space is still loading:: index.html-DEs9cLQA.mjs:5 AccessToken Expiring:
(anonym) @ PortalTarget.vue_vue_type_script_lang-4g7zqQEe.mjs:22 |
I did some further research. As I mentioned it only happens, if a new access_token is requested and the space is still loading. It also happens only if I switch between different spaces very quickly (e.g put files into different spaces for upload) because this increases the loading time of the spaces. I have round about 500 spaces. Every time I go back to the spaces list there are several PROPFIND and GET request for every space. These requests are going on in the background after a space is selected which leads to a slower loading of the space. Creating new spaces slows down too. If I just wait for all request being processed before selecting a space from the list this space is loading within a second, even with 500 files. So maybe it could be helpful, to abort or cache these requests somehow. |
Thanks for the detailed information! I couldn't find time last week to dig into this, but it's on my agenda for this week.
So you enter a space, upload some files, and while the upload is ongoing, you navigate to another space?
Just to make sure: by "selecting a space" you mean selecting it by clicking the checkbox, or actually navigating into them? |
Yes, but you don‘t need to upload files. You just have to navigate into a space, quickly go back to the list of spaces and navigate into another space. As soon as you open the list of spaces the complete list loads again as you can see a lot of requests in the console. You then navigate into another space. The list of spaces keeps loading in the background and slows down the request to open the selected space. It also slows down creation of new spaces. Create a new space, navigate into this newly created space, go quickly back to the list of spaces and create a new one. I have round about 500 spaces with a custom space picture for each one.
I actually navigate into them as described above. |
owncloud/web#11631 should be a big improvement in the scenario you described above. It will be included in the upcoming rolling release with oCIS 6.5.0 next week. |
fixed |
Since the update to 6.4.0 I occasionally get logged out from the web during uploads. The console is giving me this error followed by the info 'user unloaded':
Setup: ocis 6.4 in Docker with Keycloak
The text was updated successfully, but these errors were encountered: