core icon indicating copy to clipboard operation
core copied to clipboard

Sessions expiring unexpectedly when using Redis

Open yolabingo opened this issue 7 months ago • 4 comments

Parent Issue

No response

Problem Statement

When using Redis for session storage, the session expires exactly 30 minutes after login even when actively using the backend.

Steps to Reproduce

Configure Redis session storage with

TOMCAT_REDIS_SESSION_ENABLED="true"
TOMCAT_REDIS_SESSION_HOST
TOMCAT_REDIS_SESSION_PORT
TOMCAT_REDIS_SESSION_USERNAME
TOMCAT_REDIS_SESSION_PASSWORD
TOMCAT_REDIS_SESSION_SSL_ENABLED="true"
TOMCAT_REDIS_SESSION_PERSISTENT_POLICIES="DEFAULT"

Log in and set a timer. You will be logged out in 30 minutes even if you click around the backend more recently.

Acceptance Criteria

Expected session timeout behavior

dotCMS Version

Observed on both 24.04.24 LTS and on trunk on our internal Prod and Authoring servers

Proposed Objective

Please Select

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

yolabingo avatar Jul 24 '24 22:07 yolabingo