You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with getting DistributedCache instance in method CacheTicketStore.RenewAync.
To Reproduce
Steps to reproduce the behavior:
Use CMS with using CacheTicketStore to store authentication tickets for some period of time.
Authenticate as some user.
Monitor logs.
See error in logs.
Expected behavior
No error.
Screenshots
Error: {"timestamp":"2024-02-14T08:57:19.9586471+00:00","message":"\"RenewAsync\" failed for '\"ocauth-ticket-3298bce6-5637-4241-ad2b-1a47a1d9c0d7\"'.","event_id":"91861f3a","level":"Error","exception":"System.NullReferenceException: Object reference not set to an
instance of an object.\n at OrchardCore.Users.Authentication.CacheTicketStore.RenewAsync(String key, AuthenticationTicket ticket)","method_name":"RenewAsync","key":"ocauth-ticket-3298bce6-5637-4241-ad2b-1a47a1d9c0d7","source_context":"OrchardCore.Users.Authentication.CacheTicketStore","request_id":"0HN1CHQ0K11B6:0000051B","request_path":"/favicon.ico","connection_id":"0HN1CHQ0K11B6","machine_name":"my-cool-web-cms-core-5b7674d945-zn5xb","environment_user_name":null,"tags":["AUDIT"],"project_name":"my-cool-web","application_name":"my-cool-web-cms-core"}
The text was updated successfully, but these errors were encountered:
Describe the bug
There is an issue with getting DistributedCache instance in method CacheTicketStore.RenewAync.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error.
Screenshots
The text was updated successfully, but these errors were encountered: