Bitwarden: The Best Selfhosted Password Manager? (2022)

Recommended Posts

  • 2 months later...
  • 3 weeks later...

I think you missed setting up WebSocket. Without, Vaultwarden doesn't sync instantly, and you have to relog or sync other Applications manually. Maybe it was just me, but when I check my Browser Console (F12 > Console), I had multiple WebSocket errors.




After a bit of research, I found this, and it worked. The first entry has nothing to do with the WebSocket and just blocks external /admin access. I think that's also a good idea.

The Port 3012 is the WebSocket, so don't change it.


Go to the Proxy Host inside Nginx Proxy Manager and add this to the Advanced Tab.


location /admin {
  return 404;

location / {
  proxy_pass http://<ip>:<port>;
  proxy_set_header Host $host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Forwarded-Proto $scheme;
location /notifications/hub {
  proxy_pass http://<ip>:3012;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
location /notifications/hub/negotiate {
  proxy_pass http://<ip>:<port>;


Or if you want to use the Custom locations Tab, here's what it looks like.




When you now refresh Vaultwarden, log in to your vault and check the Browser Console (F12 > Console), there should be no red error and something like this.


[date] Information: WebSocket connected to wss://<domain>/notifications/hub?access_token=<token>


Anyway, thanks for all your videos. I learned a lot from your channel. Without you, I wouldn't be using Unraid today.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.