Skip to content

Fix prod login by enabling ALB sticky sessions for SQLite backend - #100

Merged
strick-j merged 1 commit into
developfrom
claude/fix-prod-login-terraform-Ok24A
Feb 10, 2026
Merged

Fix prod login by enabling ALB sticky sessions for SQLite backend#100
strick-j merged 1 commit into
developfrom
claude/fix-prod-login-terraform-Ok24A

Conversation

@strick-j

Copy link
Copy Markdown
Owner

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

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
@strick-j
strick-j merged commit 91460db into develop Feb 10, 2026
20 checks passed
@strick-j
strick-j deleted the claude/fix-prod-login-terraform-Ok24A branch February 10, 2026 23:34
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