Local galaxy keeps logging the user out

Using galaxy local on Debian 10
When i try to upload my data list , it logs me out in about 30 secs - usually one or 2 datasets upload good but all other gives “history is not owned by user” error - so i have to log in again and repeat. Don`t have any idea what that could be. Will appreciate any help. Thank you

Update: If i upload files one by one , each time closing upload tool and reloading page - no errors occur and no log outs

Upd 2 all errors happen after initial one :

An error occurred
An error occurred while updating information with the server. Please contact a Galaxy administrator if the problem persists

Running at localhost:8080

It happens to me as well.
I also get kicked out (as admin) at random moments during a workflow.
The workflow proceeds without errors.