Project

General

Profile

Actions

Bug #24017

closed

Webapp can fail to start with null sessionid error

Added by Clark ANDRIANASOLO 11 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Maintenance
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Medium
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

When restarting the webapp it could occur that it fails to boot with a an error
zio.FiberFailure: SystemError(Error when saving session 'null' info for user 'username', org.postgresql.util.PSQLException: ERROR: null value in column "sessionid" of relation "usersessions" violates not-null constraint
Detail: Failing row contains (username, null, 2024-01-12 11:35:00.413+01, file, {administrator}, all, null, null).)

Restarting again the webapp seems to fix the issue so it appears like a synchronization problem regarding user and session variables.


Subtasks 1 (0 open1 closed)

Bug #24755: In case a NULL was introduced earlier in sessionid, login is impossibleResolvedClark ANDRIANASOLOActions

Related issues 3 (0 open3 closed)

Related to Rudder - User story #23440: Add users table to better track user and sessionsReleasedVincent MEMBRÉActions
Related to Rudder - Bug #23920: Lift Async system is not able to find spring SecurityContextHolderReleasedVincent MEMBRÉActions
Related to Rudder - Bug #25123: Authentication happens twice with same session idReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF