Hello,
I’m experiencing an extreme slowness in vault loading, and I’m looking for some help as I couldn’t figure out a solution myself.
When I log in, the web client interface is shown, waiting to load the vault takes from 10 to 20 seconds. From there, everything’s fine except when changing from “password manager” to “admin console” (which takes another 10 to 20 seconds to load up the vault) or editing collections (which takes the same time to reload the vault).
Opening the browser’s debug console to look at what’s happening, I can see a ~6.9MB file (/api/ciphers/organization-details?organizationId=[Redacted-GUID]) is downloaded twice.
Using both Firefox and Chrome.
Bitwarden app has a similar slowness, but only when syncing as the vault is cached.
I’m running the 1.32.0 dockerhub image on root-less Podman on a AWS EC2 c6g.large (ARM) instance with RHEL. Database is SQLite, files are hosted with all the useful data (.env, logs, etc) on a dedicated EBS gp3 drive. The EC2 instance is exposed to the public using an application load balancer, and Vaultwarden’s envvar IP_HEADER is set to X-Forwarded-For.
I tried to copy all pertaining data on my local machine (Windows 11, amd64), running the container in Podman and using a nginx (with a self-signed certificate) in place of the ALB, and vault loading takes between 1 and 2 seconds.
I also checked if there could be a networking throughput problem, so I set up a quick and dirty nginx container on the EC2, hooked to the ALB and using a new SSL/TLS certificate, and it takes no more than 4 seconds to download a 15MB file.
Thank you.