Hello,
I created an account on bitwarden’s offical website, and after entering my mail address it sent me a mail verification code as expected.
A few days later, I decided to self host Bitwarden and installed Bitwarden Lite in docker. Everything works fine, however when creating an account it gave me the following error:
“An unhandled server error has occurred.”
When checking my browsers console logs (the F12 menu) i saw this error:
XHRPOST
https://bitwarden.*****.com/identity/accounts/register/send-verification-email
[HTTP/2 400 3097ms]
After refreshing the page a few times the error disappeared, however it didn’t send a verification code to my mail address like in the offical bitwarden’s website, and created the account instantly.
This error only occurs on a fresh setup. If I delete Bitwarden’s docker volume and recreate it, the same issue happens again.
Refreshing the page a few times makes the error disappear forever, but email verification is skipped.
Is this intentional or a bug? I couldn’t find any environment values for it.
I use nginx proxy manager for reverse proxy. I put bitwarden’s network in the same network as nginx. My setup isnt exposed to the internet and i have a self signed certificate.