8000 ALB - Keycloak 401 Unauthorized · keycloak keycloak · Discussion #37344 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

In the ALB, sticky sessions are configured using an application-based cookie (AUTH_SESSION_ID) for the target group
where the Keycloak tasks are registered.

If you haven't already read the docs, it would be good to review #23615 (reply in thread)

When the number of Keycloak tasks is reduced from two to one, the "401 Authorization Required" does not occur.

This points to a caching / discoverability issue - check the logs for what members appear in the cache cluster. If you see only one, then the servers are not finding each other. Double check that each instance is resolvable via hoge-prd-auth.hoge-prd-map-001.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies 8000
Answer selected by akutsuto
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0