mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
[bitwarden_rs::api::notifications][ERROR] when trying to enable websocket #1006
Reference in New Issue
Block a user
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 @ghost on GitHub (Apr 7, 2021).
Subject of the issue
[bitwarden_rs::api::notifications][ERROR] when trying to enable websocket
I couldn't find the same error documented before.
Deployment environment
Deployed on docker (bitwardenrs/server:latest)
Behind the linuxserver SWAG nginx reverse proxy, bitwarden on a subfolder
Normal password syncing work flawlessly.
But websocket doesn't work (tested between web vault and firefox extension)
Steps to reproduce
This is my docker compose (I didn't open any ports because I'm trying to use upstream app.):
This is my nginx proxy, default setting from SWAG:
Expected behaviour
Expect websocket to work. For example, for a security note to sync immediately between web vault and extensions.
Actual behaviour
Doesn't work.
Troubleshooting data
When I go to https://MYDOMAIN.com/notifications/hub, it shows the message on a html page:
WebSocket Protocol Error: Unable to parse WebSocket keyChecking the docker logs:
Note that I have a catchall server in nginx but I don't think that's the problem.
Anyway, any help would be appreciated. Thank you!