Bitwarden self-hosted fresh installation not login

After a fresh installation of Bitwarden Self Hosted, cannot login.
After entered email and password into web page (Chrome) the web page refresh with again the login page. (No message of wrong credentials)

Chrome debug reports:

GET https://redacted.redacted.com/api/accounts/profile 401 (Unauthorized)

[Encrypt service] Key encryption type does not match payload encryption type. Key type AesCbc256_B64 Payload type AesCbc256_HmacSha256_B64 Decrypt context: Content: Encrypted Private Key

I use an Internet Proxy: Squid

Thanks in advance

Alexandros

Please post a screenshot the information displayed in the Dashboard of your Admin Portal, including the server version. Also, please let us know what operating system is used for your server (if different from Windows).

Hello,

OS is Debian 12 Bookworm.

Regaards,

Alexandros

Nail1684 many thanks for the changes :+1:

1 Like

Solved

I had to configure docker CLI for the proxy during the installation otherwise the installation would stop !
So i followed the instructions in the link below:

But with this configuration i noticed that identity:5000 requests reached the proxy and not the nginx container. (From squid logs)

I tried several strings into NOPROXY row configuration of Docker CLI but without any result.
So i removed the json Docker CLI file after the installation of bitwarden as workaround.

Maybe there is a more elegant solution ! :slight_smile: