Trouble between sessions #1737
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1737
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello
since few weeks i had some 401 error when i reconect and all my lists, view etc.. where empty.
So basicly here is what i do and what's happening :
login on vikunja with any browser and create a task/list.
Closing vikunja's tab Without logout .
Login using another browser or in private mode with the same account.
Those steps result in a 401 error without the loading animation even if you're in your session.
4 ) Thus i logout properly and reconect.
I'l in my ssion but it keeps loading without retrieving the session's data or giving message error (i waited 5 minutes)
5 ) I logout agin and login another time and then i have my session with all it datas.
This trouble is mainly because i use vikunja on my computer and on my phone (I use the website not the mobile app). I thought it was because of my nfs being on a hard drive which creates some latency so i tried it with nfs on an SSD but the issue still remain. I have other containers including webapps as web-calibre without having this trouble so i assume it must comme from the way the sessions are handled.
In my opinion it's not a blocking issue but being able to use vikunja on different machine without having to logout/login 2 times will enhance user adoption.
Were you able to reproduce this on the demo instance?
What version (frontend and api) are you using?
That looks like an indicator something is broken. There should be more information in the browser console, could you verify that?
The session token is saved in the local storage. Do you have any browser extension which might block these kinds of things?
Did you configure a jwt secret in the Vikunja configuration? If you don't, Vikunja will generate a random one on each startup, invalidating all existing tokens.
Interestingly, I'm using Vikunja the same way you do (Desktop and phone) and never had such issues. I didn't built something into Vikunja to prevent such things, so in theory it should work without issues.
I dont have this issue with the demo and i have updated my image to the latests and now i can't reproduce it. It might be solved by the latests release.
Unfortunatly the latest released came with a regression : "invalid time value" when trying to set up a starting date in a task using Safari. I can reproduce this issue on the Demo too with Safari but no problem with Chrome browser. I will create another issue for this one, Thanks !