mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #5795] Login with device doesn't work with multiple replicas #2248
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2248
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @denysvitali on GitHub (Apr 23, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/5795
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, ADMIN_TOKEN
(The rest of the config was omitted)
Vaultwarden Build Version
v1.33.2
Deployment method
Official Container Image
Custom deployment method
Vaultwarden deployed via a
Deploymentand connected to an PostgreSQL HA cluster (via CloudNativePG).Reverse Proxy
Traefik
Host/Server Operating System
Linux
Clients
Web Vault
Steps To Reproduce
Expected Result
User is able to log-in on the first try
Actual Result
User has to be "lucky" that the accepted authentication response ends up on the same instance as the client is listening on (websocket).
Additional Context
When deployed using Kubernetes, multiple replicas and using PostgreSQL - Login With Device is partially faulty.
It looks like the implementation of the
/anonymous-hubwebsocket server doesn't consider the fact that the accepted login message doesn't come from the same instance where the client is listening on.