Debian 11, Docker, Grafana 9.23+ Default DB / SqlLite, CPU load: Low
Since around version 9.2.3 (± 0.0.1) I’ve been getting “Failed to look up user based on cookie” error=“user token not found” on 2 separate instances (not HA). Both instances worked fine, no logouts prior to this version.
This all happens over 2 seconds…
level=debug msg=“auth token rotated” affected=1 auth_token_id=261 userId=2
level=debug msg=“seen token” tokenId=261 userId=2 clientIP=172.16.10.1 userAgent=“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36” authToken=febb7a608c0b22c9fabdad22a5e568f1da4797e0a423b7b8545369e837008a3b
level=debug msg=“using cached permissions” key=rbac-permissions-1-user-2
level=debug msg=“auth token rotated” affected=1 auth_token_id=261 userId=2
level=debug msg=“seen token” tokenId=261 userId=2 clientIP=172.16.10.1 userAgent=“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36” authToken=e56801d4eafeb34aeb523cfbff4975f67cefc929dbfaef6cb6302e15dd97187f
level=debug msg=“using cached permissions” key=rbac-permissions-1-user-2
level=warn msg=“Failed to look up user based on cookie” error=“user token not found”
level=debug msg=“Expiring invalid cookie”
level=debug msg=“auth token rotated” affected=1 auth_token_id=261 userId=2
level=warn msg=“Failed to look up user based on cookie” error=“user token not found”
level=debug msg=“Expiring invalid cookie”
level=warn msg=“Failed to look up user based on cookie” error=“user token not found”
level=debug msg=“Expiring invalid cookie”
Is it normal to have 2 auto token rotations, one right after the other?
Any clues as to why this started happening? Searching online it seems this has been a recurring problem from time to time.