Skip to content

Add sticky sessions to ALB for login, etc... - #101

Merged
strick-j merged 2 commits into
mainfrom
develop
Feb 10, 2026
Merged

Add sticky sessions to ALB for login, etc...#101
strick-j merged 2 commits into
mainfrom
develop

Conversation

@strick-j

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 2 commits February 10, 2026 23:30
Production backend runs multiple ECS tasks (desired_count=2) but uses
SQLite (file-based, per-task). Login succeeds on one task but the next
request may route to a different task that has no record of the session,
causing "invalid token" errors. Enable load-balancer cookie stickiness
on the backend target group so all requests from a client route to the
same task.

https://claude.ai/code/session_01PUMia97FsFB1yMTsv8NdbV
…-Ok24A

Fix prod login by enabling ALB sticky sessions for SQLite backend
@strick-j
strick-j merged commit a2f5477 into main Feb 10, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants